@kubernetes-models/argo-cd
Version:
52 lines (51 loc) • 2.37 kB
TypeScript
import { IIoK8sApimachineryPkgApisMetaV1Time } from "@kubernetes-models/apimachinery/apis/meta/v1/Time";
import { IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1HydrateOperationPhase } from "./HydrateOperationPhase.js";
import { IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1SourceHydrator } from "./SourceHydrator.js";
import { ModelData, Model } from "@kubernetes-models/base";
/**
* HydrateOperation contains information about the most recent hydrate operation
*/
export interface IHydrateOperation {
/**
* DrySHA holds the resolved revision (sha) of the dry source as of the most recent reconciliation
*/
"drySHA"?: string;
/**
* FinishedAt indicates when the hydrate operation finished
*/
"finishedAt"?: IIoK8sApimachineryPkgApisMetaV1Time;
/**
* HydratedSHA holds the resolved revision (sha) of the hydrated source as of the most recent reconciliation
*/
"hydratedSHA"?: string;
/**
* Message contains a message describing the current status of the hydrate operation
*/
"message": string;
/**
* Phase indicates the status of the hydrate operation
*/
"phase": IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1HydrateOperationPhase;
/**
* SourceHydrator holds the hydrator config used for the hydrate operation
*/
"sourceHydrator"?: IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1SourceHydrator;
/**
* StartedAt indicates when the hydrate operation started
*/
"startedAt"?: IIoK8sApimachineryPkgApisMetaV1Time;
}
/**
* HydrateOperation contains information about the most recent hydrate operation
*/
export declare class HydrateOperation extends Model<IHydrateOperation> implements IHydrateOperation {
"drySHA"?: string;
"finishedAt"?: IIoK8sApimachineryPkgApisMetaV1Time;
"hydratedSHA"?: string;
"message": string;
"phase": IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1HydrateOperationPhase;
"sourceHydrator"?: IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1SourceHydrator;
"startedAt"?: IIoK8sApimachineryPkgApisMetaV1Time;
constructor(data?: ModelData<IHydrateOperation>);
}
export type { IHydrateOperation as IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1HydrateOperation, HydrateOperation as ComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1HydrateOperation };