UNPKG

@kubernetes-models/flux-cd

Version:
53 lines (52 loc) 2 kB
import { IIoK8sApimachineryPkgApisMetaV1Time } from "@kubernetes-models/apimachinery/apis/meta/v1/Time"; import { ModelData, Model } from "@kubernetes-models/base"; /** * Snapshot represents a point-in-time record of a group of resources reconciliation, * including timing information, status, and a unique digest identifier. */ export interface ISnapshot { /** * Digest is the checksum in the format `<algo>:<hex>` of the resources in this snapshot. */ "digest": string; /** * FirstReconciled is the time when this revision was first reconciled to the cluster. */ "firstReconciled": IIoK8sApimachineryPkgApisMetaV1Time; /** * LastReconciled is the time when this revision was last reconciled to the cluster. */ "lastReconciled": IIoK8sApimachineryPkgApisMetaV1Time; "lastReconciledDuration": string; /** * LastReconciledStatus is the status of the last reconciliation. */ "lastReconciledStatus": string; /** * Metadata contains additional information about the snapshot. */ "metadata"?: { [key: string]: string; }; /** * TotalReconciliations is the total number of reconciliations that have occurred for this snapshot. */ "totalReconciliations": number; } /** * Snapshot represents a point-in-time record of a group of resources reconciliation, * including timing information, status, and a unique digest identifier. */ export declare class Snapshot extends Model<ISnapshot> implements ISnapshot { "digest": string; "firstReconciled": IIoK8sApimachineryPkgApisMetaV1Time; "lastReconciled": IIoK8sApimachineryPkgApisMetaV1Time; "lastReconciledDuration": string; "lastReconciledStatus": string; "metadata"?: { [key: string]: string; }; "totalReconciliations": number; constructor(data?: ModelData<ISnapshot>); } export type { ISnapshot as IComGithubFluxcdPkgApisMetaSnapshot, Snapshot as ComGithubFluxcdPkgApisMetaSnapshot };