UNPKG

@kubernetes-models/argo-rollouts

Version:
49 lines (48 loc) 2.99 kB
import { IComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1RolloutExperimentStepAnalysisTemplateRef } from "./RolloutExperimentStepAnalysisTemplateRef.js"; import { IComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1AnalysisRunMetadata } from "./AnalysisRunMetadata.js"; import { IComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1DryRun } from "./DryRun.js"; import { IComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1DurationString } from "./DurationString.js"; import { IComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1RolloutExperimentTemplate } from "./RolloutExperimentTemplate.js"; import { ModelData, Model } from "@kubernetes-models/base"; /** * RolloutExperimentStep defines a template that is used to create a experiment for a step */ export interface IRolloutExperimentStep { /** * Analyses reference which analysis templates to run with the experiment */ "analyses"?: Array<IComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1RolloutExperimentStepAnalysisTemplateRef>; /** * AnalysisRunMetadata labels and annotations that will be added to the AnalysisRuns */ "analysisRunMetadata"?: IComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1AnalysisRunMetadata; /** * DryRun object contains the settings for running the analysis in Dry-Run mode */ "dryRun"?: Array<IComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1DryRun>; /** * Duration is a duration string (e.g. 30s, 5m, 1h) that the experiment should run for */ "duration"?: IComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1DurationString; /** * ScaleDownDelaySeconds is the number of seconds to wait before scaling down the old ReplicaSet */ "scaleDownDelaySeconds"?: number; /** * Templates what templates that should be added to the experiment. Should be non-nil */ "templates": Array<IComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1RolloutExperimentTemplate>; } /** * RolloutExperimentStep defines a template that is used to create a experiment for a step */ export declare class RolloutExperimentStep extends Model<IRolloutExperimentStep> implements IRolloutExperimentStep { "analyses"?: Array<IComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1RolloutExperimentStepAnalysisTemplateRef>; "analysisRunMetadata"?: IComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1AnalysisRunMetadata; "dryRun"?: Array<IComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1DryRun>; "duration"?: IComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1DurationString; "scaleDownDelaySeconds"?: number; "templates": Array<IComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1RolloutExperimentTemplate>; constructor(data?: ModelData<IRolloutExperimentStep>); } export type { IRolloutExperimentStep as IComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1RolloutExperimentStep, RolloutExperimentStep as ComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1RolloutExperimentStep };