UNPKG

@kubernetes-models/flux-cd

Version:
54 lines (53 loc) 2.84 kB
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 { IComGithubFluxcdImageAutomationControllerApiV1ObservedPolicies } 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"?: IComGithubFluxcdImageAutomationControllerApiV1ObservedPolicies; /** * 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"?: IComGithubFluxcdImageAutomationControllerApiV1ObservedPolicies; "observedSourceRevision"?: string; constructor(data?: ModelData<IImageUpdateAutomationStatus>); } export type { IImageUpdateAutomationStatus as IComGithubFluxcdImageAutomationControllerApiV1ImageUpdateAutomationStatus, ImageUpdateAutomationStatus as ComGithubFluxcdImageAutomationControllerApiV1ImageUpdateAutomationStatus };