UNPKG

@codingame/kubevirt-api

Version:

kubevirt OpenAPI automation for TypeScript

105 lines (104 loc) 4.57 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 { IoK8sApiCoreV1AttachedVolume, IoK8sApiCoreV1ContainerImage, IoK8sApiCoreV1NodeAddress, IoK8sApiCoreV1NodeCondition, IoK8sApiCoreV1NodeConfigStatus, IoK8sApiCoreV1NodeDaemonEndpoints, IoK8sApiCoreV1NodeFeatures, IoK8sApiCoreV1NodeRuntimeHandler, IoK8sApiCoreV1NodeSystemInfo } from './'; /** * NodeStatus is information about the current status of a node. * @export * @interface IoK8sApiCoreV1NodeStatus */ export interface IoK8sApiCoreV1NodeStatus { /** * List of addresses reachable to the node. Queried from cloud provider, if available. More info: https://kubernetes.io/docs/reference/node/node-status/#addresses Note: This field is declared as mergeable, but the merge key is not sufficiently unique, which can cause data corruption when it is merged. Callers should instead use a full-replacement patch. See https://pr.k8s.io/79391 for an example. Consumers should assume that addresses can change during the lifetime of a Node. However, there are some exceptions where this may not be possible, such as Pods that inherit a Node's address in its own status or consumers of the downward API (status.hostIP). * @type {Array<IoK8sApiCoreV1NodeAddress>} * @memberof IoK8sApiCoreV1NodeStatus */ addresses?: Array<IoK8sApiCoreV1NodeAddress>; /** * Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity. * @type {{ [key: string]: string; }} * @memberof IoK8sApiCoreV1NodeStatus */ allocatable?: { [key: string]: string; }; /** * Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/reference/node/node-status/#capacity * @type {{ [key: string]: string; }} * @memberof IoK8sApiCoreV1NodeStatus */ capacity?: { [key: string]: string; }; /** * Conditions is an array of current observed node conditions. More info: https://kubernetes.io/docs/reference/node/node-status/#condition * @type {Array<IoK8sApiCoreV1NodeCondition>} * @memberof IoK8sApiCoreV1NodeStatus */ conditions?: Array<IoK8sApiCoreV1NodeCondition>; /** * * @type {IoK8sApiCoreV1NodeConfigStatus} * @memberof IoK8sApiCoreV1NodeStatus */ config?: IoK8sApiCoreV1NodeConfigStatus; /** * * @type {IoK8sApiCoreV1NodeDaemonEndpoints} * @memberof IoK8sApiCoreV1NodeStatus */ daemonEndpoints?: IoK8sApiCoreV1NodeDaemonEndpoints; /** * * @type {IoK8sApiCoreV1NodeFeatures} * @memberof IoK8sApiCoreV1NodeStatus */ features?: IoK8sApiCoreV1NodeFeatures; /** * List of container images on this node * @type {Array<IoK8sApiCoreV1ContainerImage>} * @memberof IoK8sApiCoreV1NodeStatus */ images?: Array<IoK8sApiCoreV1ContainerImage>; /** * * @type {IoK8sApiCoreV1NodeSystemInfo} * @memberof IoK8sApiCoreV1NodeStatus */ nodeInfo?: IoK8sApiCoreV1NodeSystemInfo; /** * NodePhase is the recently observed lifecycle phase of the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#phase The field is never populated, and now is deprecated. * @type {string} * @memberof IoK8sApiCoreV1NodeStatus */ phase?: string; /** * The available runtime handlers. * @type {Array<IoK8sApiCoreV1NodeRuntimeHandler>} * @memberof IoK8sApiCoreV1NodeStatus */ runtimeHandlers?: Array<IoK8sApiCoreV1NodeRuntimeHandler>; /** * List of volumes that are attached to the node. * @type {Array<IoK8sApiCoreV1AttachedVolume>} * @memberof IoK8sApiCoreV1NodeStatus */ volumesAttached?: Array<IoK8sApiCoreV1AttachedVolume>; /** * List of attachable volumes in use (mounted) by the node. * @type {Array<string>} * @memberof IoK8sApiCoreV1NodeStatus */ volumesInUse?: Array<string>; } export declare function IoK8sApiCoreV1NodeStatusFromJSON(json: any): IoK8sApiCoreV1NodeStatus; export declare function IoK8sApiCoreV1NodeStatusFromJSONTyped(json: any, _ignoreDiscriminator: boolean): IoK8sApiCoreV1NodeStatus; export declare function IoK8sApiCoreV1NodeStatusToJSON(value?: IoK8sApiCoreV1NodeStatus | null): any;