k8s-set-context/node_modules/@kubernetes/client-node/dist/gen/model/v1ScopedResourceSelectorRequirement.d.ts
2021-12-07 13:18:08 -05:00

40 lines
1.3 KiB
TypeScript

/**
* Kubernetes
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1.22.2
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
* A scoped-resource selector requirement is a selector that contains values, a scope name, and an operator that relates the scope name and values.
*/
export declare class V1ScopedResourceSelectorRequirement {
/**
* Represents a scope\'s relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist.
*/
'operator': string;
/**
* The name of the scope that the selector applies to.
*/
'scopeName': 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. This array is replaced during a strategic merge patch.
*/
'values'?: Array<string>;
static discriminator: string | undefined;
static attributeTypeMap: Array<{
name: string;
baseName: string;
type: string;
}>;
static getAttributeTypeMap(): {
name: string;
baseName: string;
type: string;
}[];
}