@codingame/kubevirt-api
Version:
kubevirt OpenAPI automation for TypeScript
37 lines (36 loc) • 1.97 kB
TypeScript
/**
* KubeVirt API
* This is KubeVirt API an add-on for Kubernetes.
*
* The version of the OpenAPI document: 1.0.0
* Contact: kubevirt-dev@googlegroups.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { K8sIoApimachineryPkgApisMetaV1LabelSelectorRequirement } from './';
/**
* A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.
* @export
* @interface K8sIoApimachineryPkgApisMetaV1LabelSelector
*/
export interface K8sIoApimachineryPkgApisMetaV1LabelSelector {
/**
* matchExpressions is a list of label selector requirements. The requirements are ANDed.
* @type {Array<K8sIoApimachineryPkgApisMetaV1LabelSelectorRequirement>}
* @memberof K8sIoApimachineryPkgApisMetaV1LabelSelector
*/
matchExpressions?: Array<K8sIoApimachineryPkgApisMetaV1LabelSelectorRequirement>;
/**
* matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
* @type {{ [key: string]: string; }}
* @memberof K8sIoApimachineryPkgApisMetaV1LabelSelector
*/
matchLabels?: {
[key: string]: string;
};
}
export declare function K8sIoApimachineryPkgApisMetaV1LabelSelectorFromJSON(json: any): K8sIoApimachineryPkgApisMetaV1LabelSelector;
export declare function K8sIoApimachineryPkgApisMetaV1LabelSelectorFromJSONTyped(json: any, _ignoreDiscriminator: boolean): K8sIoApimachineryPkgApisMetaV1LabelSelector;
export declare function K8sIoApimachineryPkgApisMetaV1LabelSelectorToJSON(value?: K8sIoApimachineryPkgApisMetaV1LabelSelector | null): any;