UNPKG

@codingame/kubevirt-api

Version:

kubevirt OpenAPI automation for TypeScript

125 lines (124 loc) 5.51 kB
/** * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: unversioned * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { IoK8sApiCoreV1EventSource, IoK8sApiCoreV1ObjectReference, IoK8sApiEventsV1EventSeries, IoK8sApimachineryPkgApisMetaV1ObjectMeta } from './'; /** * Event is a report of an event somewhere in the cluster. It generally denotes some state change in the system. Events have a limited retention time and triggers and messages may evolve with time. Event consumers should not rely on the timing of an event with a given Reason reflecting a consistent underlying trigger, or the continued existence of events with that Reason. Events should be treated as informative, best-effort, supplemental data. * @export * @interface IoK8sApiEventsV1Event */ export interface IoK8sApiEventsV1Event { /** * action is what action was taken/failed regarding to the regarding object. It is machine-readable. This field cannot be empty for new Events and it can have at most 128 characters. * @type {string} * @memberof IoK8sApiEventsV1Event */ action?: string; /** * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources * @type {string} * @memberof IoK8sApiEventsV1Event */ apiVersion?: string; /** * deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type. * @type {number} * @memberof IoK8sApiEventsV1Event */ deprecatedCount?: number; /** * Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers. * @type {string} * @memberof IoK8sApiEventsV1Event */ deprecatedFirstTimestamp?: string; /** * Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers. * @type {string} * @memberof IoK8sApiEventsV1Event */ deprecatedLastTimestamp?: string; /** * * @type {IoK8sApiCoreV1EventSource} * @memberof IoK8sApiEventsV1Event */ deprecatedSource?: IoK8sApiCoreV1EventSource; /** * MicroTime is version of Time with microsecond level precision. * @type {string} * @memberof IoK8sApiEventsV1Event */ eventTime: string; /** * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds * @type {string} * @memberof IoK8sApiEventsV1Event */ kind?: string; /** * * @type {IoK8sApimachineryPkgApisMetaV1ObjectMeta} * @memberof IoK8sApiEventsV1Event */ metadata?: IoK8sApimachineryPkgApisMetaV1ObjectMeta; /** * note is a human-readable description of the status of this operation. Maximal length of the note is 1kB, but libraries should be prepared to handle values up to 64kB. * @type {string} * @memberof IoK8sApiEventsV1Event */ note?: string; /** * reason is why the action was taken. It is human-readable. This field cannot be empty for new Events and it can have at most 128 characters. * @type {string} * @memberof IoK8sApiEventsV1Event */ reason?: string; /** * * @type {IoK8sApiCoreV1ObjectReference} * @memberof IoK8sApiEventsV1Event */ regarding?: IoK8sApiCoreV1ObjectReference; /** * * @type {IoK8sApiCoreV1ObjectReference} * @memberof IoK8sApiEventsV1Event */ related?: IoK8sApiCoreV1ObjectReference; /** * reportingController is the name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`. This field cannot be empty for new Events. * @type {string} * @memberof IoK8sApiEventsV1Event */ reportingController?: string; /** * reportingInstance is the ID of the controller instance, e.g. `kubelet-xyzf`. This field cannot be empty for new Events and it can have at most 128 characters. * @type {string} * @memberof IoK8sApiEventsV1Event */ reportingInstance?: string; /** * * @type {IoK8sApiEventsV1EventSeries} * @memberof IoK8sApiEventsV1Event */ series?: IoK8sApiEventsV1EventSeries; /** * type is the type of this event (Normal, Warning), new types could be added in the future. It is machine-readable. This field cannot be empty for new Events. * @type {string} * @memberof IoK8sApiEventsV1Event */ type?: string; } export declare function IoK8sApiEventsV1EventFromJSON(json: any): IoK8sApiEventsV1Event; export declare function IoK8sApiEventsV1EventFromJSONTyped(json: any, _ignoreDiscriminator: boolean): IoK8sApiEventsV1Event; export declare function IoK8sApiEventsV1EventToJSON(value?: IoK8sApiEventsV1Event | null): any;