@kubernetes-models/flux-cd
Version:
25 lines (24 loc) • 889 B
TypeScript
import { ModelData, Model } from "@kubernetes-models/base";
/**
* ResourceRef contains the information necessary to locate a resource within a cluster.
*/
export interface IResourceRef {
/**
* ID is the string representation of the Kubernetes resource object's metadata,
* in the format '<namespace>_<name>_<group>_<kind>'.
*/
"id": string;
/**
* Version is the API version of the Kubernetes resource object's kind.
*/
"v": string;
}
/**
* ResourceRef contains the information necessary to locate a resource within a cluster.
*/
export declare class ResourceRef extends Model<IResourceRef> implements IResourceRef {
"id": string;
"v": string;
constructor(data?: ModelData<IResourceRef>);
}
export type { IResourceRef as IComGithubFluxcdHelmControllerApiV2ResourceRef, ResourceRef as ComGithubFluxcdHelmControllerApiV2ResourceRef };