@kubernetes-models/flux-cd
Version:
36 lines (35 loc) • 1.28 kB
TypeScript
import { ModelData, Model } from "@kubernetes-models/base";
/**
* CrossNamespaceSourceReference contains enough information to let you locate the
* typed referenced object at cluster level
*/
export interface ICrossNamespaceSourceReference {
/**
* API version of the referent
*/
"apiVersion"?: string;
/**
* Kind of the referent
*/
"kind": "GitRepository" | "Bucket";
/**
* Name of the referent
*/
"name": string;
/**
* Namespace of the referent, defaults to the Kustomization namespace
*/
"namespace"?: string;
}
/**
* CrossNamespaceSourceReference contains enough information to let you locate the
* typed referenced object at cluster level
*/
export declare class CrossNamespaceSourceReference extends Model<ICrossNamespaceSourceReference> implements ICrossNamespaceSourceReference {
"apiVersion"?: string;
"kind": "GitRepository" | "Bucket";
"name": string;
"namespace"?: string;
constructor(data?: ModelData<ICrossNamespaceSourceReference>);
}
export type { ICrossNamespaceSourceReference as IComGithubFluxcdKustomizeControllerApiV1beta1CrossNamespaceSourceReference, CrossNamespaceSourceReference as ComGithubFluxcdKustomizeControllerApiV1beta1CrossNamespaceSourceReference };