@kubernetes-models/flux-cd
Version:
62 lines (61 loc) • 2.43 kB
TypeScript
import { ModelData, Model } from "@kubernetes-models/base";
/**
* Selector specifies a set of resources. Any resource that matches intersection of all conditions is included in this
* set.
*/
export interface ISelector {
/**
* AnnotationSelector is a string that follows the label selection expression
* https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api
* It matches with the resource annotations.
*/
"annotationSelector"?: string;
/**
* Group is the API group to select resources from.
* Together with Version and Kind it is capable of unambiguously identifying and/or selecting resources.
* https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
*/
"group"?: string;
/**
* Kind of the API Group to select resources from.
* Together with Group and Version it is capable of unambiguously
* identifying and/or selecting resources.
* https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
*/
"kind"?: string;
/**
* LabelSelector is a string that follows the label selection expression
* https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api
* It matches with the resource labels.
*/
"labelSelector"?: string;
/**
* Name to match resources with.
*/
"name"?: string;
/**
* Namespace to select resources from.
*/
"namespace"?: string;
/**
* Version of the API Group to select resources from.
* Together with Group and Kind it is capable of unambiguously identifying and/or selecting resources.
* https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
*/
"version"?: string;
}
/**
* Selector specifies a set of resources. Any resource that matches intersection of all conditions is included in this
* set.
*/
export declare class Selector extends Model<ISelector> implements ISelector {
"annotationSelector"?: string;
"group"?: string;
"kind"?: string;
"labelSelector"?: string;
"name"?: string;
"namespace"?: string;
"version"?: string;
constructor(data?: ModelData<ISelector>);
}
export type { ISelector as IComGithubFluxcdPkgApisKustomizeSelector, Selector as ComGithubFluxcdPkgApisKustomizeSelector };