@kubernetes-models/argo-rollouts
Version:
25 lines (24 loc) • 1.2 kB
TypeScript
import { ModelData, Model } from "@kubernetes-models/base";
/**
* AnalysisRunStrategy configuration for the analysis runs and experiments to retain
*/
export interface IAnalysisRunStrategy {
/**
* SuccessfulRunHistoryLimit limits the number of old successful analysis runs and experiments to be retained in a history
*/
"successfulRunHistoryLimit"?: number;
/**
* UnsuccessfulRunHistoryLimit limits the number of old unsuccessful analysis runs and experiments to be retained in a history.
* Stages for unsuccessful: "Error", "Failed", "Inconclusive"
*/
"unsuccessfulRunHistoryLimit"?: number;
}
/**
* AnalysisRunStrategy configuration for the analysis runs and experiments to retain
*/
export declare class AnalysisRunStrategy extends Model<IAnalysisRunStrategy> implements IAnalysisRunStrategy {
"successfulRunHistoryLimit"?: number;
"unsuccessfulRunHistoryLimit"?: number;
constructor(data?: ModelData<IAnalysisRunStrategy>);
}
export type { IAnalysisRunStrategy as IComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1AnalysisRunStrategy, AnalysisRunStrategy as ComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1AnalysisRunStrategy };