@kubernetes-models/argo-rollouts
Version:
43 lines (42 loc) • 1.76 kB
TypeScript
import { IIoK8sApimachineryPkgApisMetaV1Time } from "@kubernetes-models/apimachinery/apis/meta/v1/Time";
import { IComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1RolloutConditionType } from "./RolloutConditionType.js";
import { ModelData, Model } from "@kubernetes-models/base";
/**
* RolloutCondition describes the state of a rollout at a certain point.
*/
export interface IRolloutCondition {
/**
* Last time the condition transitioned from one status to another.
*/
"lastTransitionTime": IIoK8sApimachineryPkgApisMetaV1Time;
/**
* The last time this condition was updated.
*/
"lastUpdateTime": IIoK8sApimachineryPkgApisMetaV1Time;
/**
* A human readable message indicating details about the transition.
*/
"message": string;
/**
* The reason for the condition's last transition.
*/
"reason": string;
"status": string;
/**
* Type of deployment condition.
*/
"type": IComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1RolloutConditionType;
}
/**
* RolloutCondition describes the state of a rollout at a certain point.
*/
export declare class RolloutCondition extends Model<IRolloutCondition> implements IRolloutCondition {
"lastTransitionTime": IIoK8sApimachineryPkgApisMetaV1Time;
"lastUpdateTime": IIoK8sApimachineryPkgApisMetaV1Time;
"message": string;
"reason": string;
"status": string;
"type": IComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1RolloutConditionType;
constructor(data?: ModelData<IRolloutCondition>);
}
export type { IRolloutCondition as IComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1RolloutCondition, RolloutCondition as ComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1RolloutCondition };