@kubernetes-models/flux-cd
Version:
54 lines (53 loc) • 2.86 kB
TypeScript
import { IComGithubFluxcdPkgApisMetaReconcileRequestStatus } from "../../github.com/fluxcd/pkg/apis/meta/ReconcileRequestStatus.js";
import { IIoK8sApimachineryPkgApisMetaV1Condition } from "@kubernetes-models/apimachinery/apis/meta/v1/Condition";
import { IIoK8sApimachineryPkgApisMetaV1Time } from "@kubernetes-models/apimachinery/apis/meta/v1/Time";
import { IComGithubFluxcdImageAutomationControllerApiV1beta2ObservedPolicies } from "./ObservedPolicies.js";
import { ModelData, Model } from "@kubernetes-models/base";
/**
* ImageUpdateAutomationStatus defines the observed state of ImageUpdateAutomation
*/
export interface IImageUpdateAutomationStatus extends IComGithubFluxcdPkgApisMetaReconcileRequestStatus {
"conditions"?: Array<IIoK8sApimachineryPkgApisMetaV1Condition>;
/**
* LastAutomationRunTime records the last time the controller ran
* this automation through to completion (even if no updates were
* made).
*/
"lastAutomationRunTime"?: IIoK8sApimachineryPkgApisMetaV1Time;
/**
* LastPushCommit records the SHA1 of the last commit made by the
* controller, for this automation object
*/
"lastPushCommit"?: string;
/**
* LastPushTime records the time of the last pushed change.
*/
"lastPushTime"?: IIoK8sApimachineryPkgApisMetaV1Time;
"observedGeneration"?: number;
/**
* ObservedPolicies is the list of observed ImagePolicies that were
* considered by the ImageUpdateAutomation update process.
*/
"observedPolicies"?: IComGithubFluxcdImageAutomationControllerApiV1beta2ObservedPolicies;
/**
* ObservedPolicies []ObservedPolicy `json:"observedPolicies,omitempty"`
* ObservedSourceRevision is the last observed source revision. This can be
* used to determine if the source has been updated since last observation.
*/
"observedSourceRevision"?: string;
}
/**
* ImageUpdateAutomationStatus defines the observed state of ImageUpdateAutomation
*/
export declare class ImageUpdateAutomationStatus extends Model<IImageUpdateAutomationStatus> implements IImageUpdateAutomationStatus {
"lastHandledReconcileAt"?: string;
"conditions"?: Array<IIoK8sApimachineryPkgApisMetaV1Condition>;
"lastAutomationRunTime"?: IIoK8sApimachineryPkgApisMetaV1Time;
"lastPushCommit"?: string;
"lastPushTime"?: IIoK8sApimachineryPkgApisMetaV1Time;
"observedGeneration"?: number;
"observedPolicies"?: IComGithubFluxcdImageAutomationControllerApiV1beta2ObservedPolicies;
"observedSourceRevision"?: string;
constructor(data?: ModelData<IImageUpdateAutomationStatus>);
}
export type { IImageUpdateAutomationStatus as IComGithubFluxcdImageAutomationControllerApiV1beta2ImageUpdateAutomationStatus, ImageUpdateAutomationStatus as ComGithubFluxcdImageAutomationControllerApiV1beta2ImageUpdateAutomationStatus };