@kubernetes-models/flux-cd
Version:
27 lines (26 loc) • 1 kB
TypeScript
import { IComGithubFluxcdKustomizeControllerApiV1beta1SnapshotEntry } from "./SnapshotEntry.js";
import { ModelData, Model } from "@kubernetes-models/base";
/**
* Snapshot holds the metadata of the Kubernetes objects
* generated for a source revision
*/
export interface ISnapshot {
/**
* The manifests sha1 checksum.
*/
"checksum": string;
/**
* A list of Kubernetes kinds grouped by namespace.
*/
"entries": Array<IComGithubFluxcdKustomizeControllerApiV1beta1SnapshotEntry>;
}
/**
* Snapshot holds the metadata of the Kubernetes objects
* generated for a source revision
*/
export declare class Snapshot extends Model<ISnapshot> implements ISnapshot {
"checksum": string;
"entries": Array<IComGithubFluxcdKustomizeControllerApiV1beta1SnapshotEntry>;
constructor(data?: ModelData<ISnapshot>);
}
export type { ISnapshot as IComGithubFluxcdKustomizeControllerApiV1beta1Snapshot, Snapshot as ComGithubFluxcdKustomizeControllerApiV1beta1Snapshot };