@codingame/kubevirt-api
Version:
kubevirt OpenAPI automation for TypeScript
40 lines (39 loc) • 1.89 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.
*/
/**
* A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
* @export
* @interface IoK8sApiCoreV1NodeSelectorRequirement
*/
export interface IoK8sApiCoreV1NodeSelectorRequirement {
/**
* The label key that the selector applies to.
* @type {string}
* @memberof IoK8sApiCoreV1NodeSelectorRequirement
*/
key: string;
/**
* Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
* @type {string}
* @memberof IoK8sApiCoreV1NodeSelectorRequirement
*/
operator: string;
/**
* An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.
* @type {Array<string>}
* @memberof IoK8sApiCoreV1NodeSelectorRequirement
*/
values?: Array<string>;
}
export declare function IoK8sApiCoreV1NodeSelectorRequirementFromJSON(json: any): IoK8sApiCoreV1NodeSelectorRequirement;
export declare function IoK8sApiCoreV1NodeSelectorRequirementFromJSONTyped(json: any, _ignoreDiscriminator: boolean): IoK8sApiCoreV1NodeSelectorRequirement;
export declare function IoK8sApiCoreV1NodeSelectorRequirementToJSON(value?: IoK8sApiCoreV1NodeSelectorRequirement | null): any;