@kubernetes-models/argo-rollouts
Version:
53 lines (52 loc) • 2.55 kB
TypeScript
import { IIoK8sApimachineryPkgApisMetaV1Time } from "@kubernetes-models/apimachinery/apis/meta/v1/Time";
import { IComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1RunSummary } from "./RunSummary.js";
import { IComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1MetricResult } from "./MetricResult.js";
import { IComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1AnalysisPhase } from "./AnalysisPhase.js";
import { ModelData, Model } from "@kubernetes-models/base";
/**
* AnalysisRunStatus is the status for a AnalysisRun resource
*/
export interface IAnalysisRunStatus {
/**
* CompletedAt indicates when the analysisRun completed
*/
"completedAt"?: IIoK8sApimachineryPkgApisMetaV1Time;
/**
* DryRunSummary contains the final results from the metric executions in the dry-run mode
*/
"dryRunSummary"?: IComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1RunSummary;
/**
* Message is a message explaining current status
*/
"message"?: string;
/**
* MetricResults contains the metrics collected during the run
*/
"metricResults"?: Array<IComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1MetricResult>;
/**
* Phase is the status of the analysis run
*/
"phase": IComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1AnalysisPhase;
/**
* RunSummary contains the final results from the metric executions
*/
"runSummary"?: IComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1RunSummary;
/**
* StartedAt indicates when the analysisRun first started
*/
"startedAt"?: IIoK8sApimachineryPkgApisMetaV1Time;
}
/**
* AnalysisRunStatus is the status for a AnalysisRun resource
*/
export declare class AnalysisRunStatus extends Model<IAnalysisRunStatus> implements IAnalysisRunStatus {
"completedAt"?: IIoK8sApimachineryPkgApisMetaV1Time;
"dryRunSummary"?: IComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1RunSummary;
"message"?: string;
"metricResults"?: Array<IComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1MetricResult>;
"phase": IComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1AnalysisPhase;
"runSummary"?: IComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1RunSummary;
"startedAt"?: IIoK8sApimachineryPkgApisMetaV1Time;
constructor(data?: ModelData<IAnalysisRunStatus>);
}
export type { IAnalysisRunStatus as IComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1AnalysisRunStatus, AnalysisRunStatus as ComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1AnalysisRunStatus };