@codingame/kubevirt-api
Version:
kubevirt OpenAPI automation for TypeScript
65 lines (64 loc) • 2.48 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.
*/
import { IoK8sApiCoreV1NodeConfigSource, IoK8sApiCoreV1Taint } from './';
/**
* NodeSpec describes the attributes that a node is created with.
* @export
* @interface IoK8sApiCoreV1NodeSpec
*/
export interface IoK8sApiCoreV1NodeSpec {
/**
*
* @type {IoK8sApiCoreV1NodeConfigSource}
* @memberof IoK8sApiCoreV1NodeSpec
*/
configSource?: IoK8sApiCoreV1NodeConfigSource;
/**
* Deprecated. Not all kubelets will set this field. Remove field after 1.13. see: https://issues.k8s.io/61966
* @type {string}
* @memberof IoK8sApiCoreV1NodeSpec
*/
externalID?: string;
/**
* PodCIDR represents the pod IP range assigned to the node.
* @type {string}
* @memberof IoK8sApiCoreV1NodeSpec
*/
podCIDR?: string;
/**
* podCIDRs represents the IP ranges assigned to the node for usage by Pods on that node. If this field is specified, the 0th entry must match the podCIDR field. It may contain at most 1 value for each of IPv4 and IPv6.
* @type {Array<string>}
* @memberof IoK8sApiCoreV1NodeSpec
*/
podCIDRs?: Array<string>;
/**
* ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID>
* @type {string}
* @memberof IoK8sApiCoreV1NodeSpec
*/
providerID?: string;
/**
* If specified, the node's taints.
* @type {Array<IoK8sApiCoreV1Taint>}
* @memberof IoK8sApiCoreV1NodeSpec
*/
taints?: Array<IoK8sApiCoreV1Taint>;
/**
* Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration
* @type {boolean}
* @memberof IoK8sApiCoreV1NodeSpec
*/
unschedulable?: boolean;
}
export declare function IoK8sApiCoreV1NodeSpecFromJSON(json: any): IoK8sApiCoreV1NodeSpec;
export declare function IoK8sApiCoreV1NodeSpecFromJSONTyped(json: any, _ignoreDiscriminator: boolean): IoK8sApiCoreV1NodeSpec;
export declare function IoK8sApiCoreV1NodeSpecToJSON(value?: IoK8sApiCoreV1NodeSpec | null): any;