@codingame/kubevirt-api
Version:
kubevirt OpenAPI automation for TypeScript
64 lines (63 loc) • 2.62 kB
TypeScript
/**
* 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.
*/
/**
* PodCondition contains details for the current condition of this pod.
* @export
* @interface IoK8sApiCoreV1PodCondition
*/
export interface IoK8sApiCoreV1PodCondition {
/**
* 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 IoK8sApiCoreV1PodCondition
*/
lastProbeTime?: 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 IoK8sApiCoreV1PodCondition
*/
lastTransitionTime?: string;
/**
* Human-readable message indicating details about last transition.
* @type {string}
* @memberof IoK8sApiCoreV1PodCondition
*/
message?: string;
/**
* If set, this represents the .metadata.generation that the pod condition was set based upon. This is an alpha field. Enable PodObservedGenerationTracking to be able to use this field.
* @type {number}
* @memberof IoK8sApiCoreV1PodCondition
*/
observedGeneration?: number;
/**
* Unique, one-word, CamelCase reason for the condition's last transition.
* @type {string}
* @memberof IoK8sApiCoreV1PodCondition
*/
reason?: string;
/**
* Status is the status of the condition. Can be True, False, Unknown. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions
* @type {string}
* @memberof IoK8sApiCoreV1PodCondition
*/
status: string;
/**
* Type is the type of the condition. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions
* @type {string}
* @memberof IoK8sApiCoreV1PodCondition
*/
type: string;
}
export declare function IoK8sApiCoreV1PodConditionFromJSON(json: any): IoK8sApiCoreV1PodCondition;
export declare function IoK8sApiCoreV1PodConditionFromJSONTyped(json: any, _ignoreDiscriminator: boolean): IoK8sApiCoreV1PodCondition;
export declare function IoK8sApiCoreV1PodConditionToJSON(value?: IoK8sApiCoreV1PodCondition | null): any;