@kubernetes-models/argo-rollouts
Version:
21 lines (20 loc) • 1.29 kB
TypeScript
import { IComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1ProgressType } from "./ProgressType.js";
import { ModelData, Model } from "@kubernetes-models/base";
export interface IReplicaProgressThreshold {
/**
* Type is used to specify whether the replica progress threshold is a percentage or a number. Required if replicaProgressThreshold is specified.
*/
"type": IComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1ProgressType;
/**
* Value contains the user-specified value for when a Argo Rollouts can promote a canary to the next step.
* If not satisfied, this value will be assumed to be 100% of the total desired replicas for the given next step.
* Value must also be greater than 0. Required.
*/
"value": number;
}
export declare class ReplicaProgressThreshold extends Model<IReplicaProgressThreshold> implements IReplicaProgressThreshold {
"type": IComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1ProgressType;
"value": number;
constructor(data?: ModelData<IReplicaProgressThreshold>);
}
export type { IReplicaProgressThreshold as IComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1ReplicaProgressThreshold, ReplicaProgressThreshold as ComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1ReplicaProgressThreshold };