@kubernetes-models/flux-cd
Version:
26 lines (25 loc) • 999 B
TypeScript
import { ModelData, Model } from "@kubernetes-models/base";
/**
* NamespacedObjectReference contains enough information to locate the referenced Kubernetes resource object in any
* namespace.
*/
export interface INamespacedObjectReference {
/**
* Name of the referent.
*/
"name": string;
/**
* Namespace of the referent, when not specified it acts as LocalObjectReference.
*/
"namespace"?: string;
}
/**
* NamespacedObjectReference contains enough information to locate the referenced Kubernetes resource object in any
* namespace.
*/
export declare class NamespacedObjectReference extends Model<INamespacedObjectReference> implements INamespacedObjectReference {
"name": string;
"namespace"?: string;
constructor(data?: ModelData<INamespacedObjectReference>);
}
export type { INamespacedObjectReference as IComGithubFluxcdPkgApisMetaNamespacedObjectReference, NamespacedObjectReference as ComGithubFluxcdPkgApisMetaNamespacedObjectReference };