@kubernetes-models/argo-cd
Version:
24 lines (23 loc) • 1.2 kB
TypeScript
import { ModelData, Model } from "@kubernetes-models/base";
/**
* ClusterResourceRestrictionItem is a cluster resource that is restricted by the project's whitelist or blacklist
*/
export interface IClusterResourceRestrictionItem {
"group": string;
"kind": string;
/**
* Name is the name of the restricted resource. Glob patterns using Go's filepath.Match syntax are supported.
* Unlike the group and kind fields, if no name is specified, all resources of the specified group/kind are matched.
*/
"name"?: string;
}
/**
* ClusterResourceRestrictionItem is a cluster resource that is restricted by the project's whitelist or blacklist
*/
export declare class ClusterResourceRestrictionItem extends Model<IClusterResourceRestrictionItem> implements IClusterResourceRestrictionItem {
"group": string;
"kind": string;
"name"?: string;
constructor(data?: ModelData<IClusterResourceRestrictionItem>);
}
export type { IClusterResourceRestrictionItem as IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1ClusterResourceRestrictionItem, ClusterResourceRestrictionItem as ComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1ClusterResourceRestrictionItem };