@kubernetes-models/flux-cd
Version:
37 lines (36 loc) • 1.37 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 {
/**
* APIVersion of the referent.
*/
"apiVersion"?: string;
/**
* Kind of the referent.
*/
"kind": "OCIRepository" | "HelmChart" | "ExternalArtifact";
/**
* Name of the referent.
*/
"name": string;
/**
* Namespace of the referent, defaults to the namespace of the Kubernetes
* resource object that contains the reference.
*/
"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": "OCIRepository" | "HelmChart" | "ExternalArtifact";
"name": string;
"namespace"?: string;
constructor(data?: ModelData<ICrossNamespaceSourceReference>);
}
export type { ICrossNamespaceSourceReference as IComGithubFluxcdHelmControllerApiV2CrossNamespaceSourceReference, CrossNamespaceSourceReference as ComGithubFluxcdHelmControllerApiV2CrossNamespaceSourceReference };