@kubernetes-models/flux-cd
Version:
58 lines (57 loc) • 2.83 kB
TypeScript
import { IComGithubFluxcdPkgApisMetaReconcileRequestStatus } from "../../github.com/fluxcd/pkg/apis/meta/ReconcileRequestStatus.js";
import { IIoK8sApimachineryPkgApisMetaV1Condition } from "@kubernetes-models/apimachinery/apis/meta/v1/Condition";
import { IComGithubFluxcdPkgApisMetaHistory } from "../../github.com/fluxcd/pkg/apis/meta/History.js";
import { IComGithubFluxcdKustomizeControllerApiV1ResourceInventory } from "./ResourceInventory.js";
import { ModelData, Model } from "@kubernetes-models/base";
/**
* KustomizationStatus defines the observed state of a kustomization.
*/
export interface IKustomizationStatus extends IComGithubFluxcdPkgApisMetaReconcileRequestStatus {
"conditions"?: Array<IIoK8sApimachineryPkgApisMetaV1Condition>;
/**
* History contains a set of snapshots of the last reconciliation attempts
* tracking the revision, the state and the duration of each attempt.
*/
"history"?: IComGithubFluxcdPkgApisMetaHistory;
/**
* Inventory contains the list of Kubernetes resource object references that
* have been successfully applied.
*/
"inventory"?: IComGithubFluxcdKustomizeControllerApiV1ResourceInventory;
/**
* The last successfully applied origin revision.
* Equals the origin revision of the applied Artifact from the referenced Source.
* Usually present on the Metadata of the applied Artifact and depends on the
* Source type, e.g. for OCI it's the value associated with the key
* "org.opencontainers.image.revision".
*/
"lastAppliedOriginRevision"?: string;
/**
* The last successfully applied revision.
* Equals the Revision of the applied Artifact from the referenced Source.
*/
"lastAppliedRevision"?: string;
/**
* LastAttemptedRevision is the revision of the last reconciliation attempt.
*/
"lastAttemptedRevision"?: string;
/**
* ObservedGeneration is the last reconciled generation.
*/
"observedGeneration"?: number;
}
/**
* KustomizationStatus defines the observed state of a kustomization.
*/
export declare class KustomizationStatus extends Model<IKustomizationStatus> implements IKustomizationStatus {
"lastHandledReconcileAt"?: string;
"conditions"?: Array<IIoK8sApimachineryPkgApisMetaV1Condition>;
"history"?: IComGithubFluxcdPkgApisMetaHistory;
"inventory"?: IComGithubFluxcdKustomizeControllerApiV1ResourceInventory;
"lastAppliedOriginRevision"?: string;
"lastAppliedRevision"?: string;
"lastAttemptedRevision"?: string;
"observedGeneration"?: number;
constructor(data?: ModelData<IKustomizationStatus>);
}
export type { IKustomizationStatus as IComGithubFluxcdKustomizeControllerApiV1KustomizationStatus, KustomizationStatus as ComGithubFluxcdKustomizeControllerApiV1KustomizationStatus };