@kubernetes-models/flux-cd
Version:
36 lines (35 loc) • 1.31 kB
TypeScript
import { ModelData, Model } from "@kubernetes-models/base";
/**
* NamespacedObjectKindReference contains enough information to locate the typed referenced Kubernetes resource object
* in any namespace.
*/
export interface INamespacedObjectKindReference {
/**
* API version of the referent, if not specified the Kubernetes preferred version will be used.
*/
"apiVersion"?: string;
/**
* Kind of the referent.
*/
"kind": string;
/**
* Name of the referent.
*/
"name": string;
/**
* Namespace of the referent, when not specified it acts as LocalObjectReference.
*/
"namespace"?: string;
}
/**
* NamespacedObjectKindReference contains enough information to locate the typed referenced Kubernetes resource object
* in any namespace.
*/
export declare class NamespacedObjectKindReference extends Model<INamespacedObjectKindReference> implements INamespacedObjectKindReference {
"apiVersion"?: string;
"kind": string;
"name": string;
"namespace"?: string;
constructor(data?: ModelData<INamespacedObjectKindReference>);
}
export type { INamespacedObjectKindReference as IComGithubFluxcdPkgApisMetaNamespacedObjectKindReference, NamespacedObjectKindReference as ComGithubFluxcdPkgApisMetaNamespacedObjectKindReference };