UNPKG

@kubernetes-models/argo-rollouts

Version:
29 lines (28 loc) 1.14 kB
import { ModelData, Model } from "@kubernetes-models/base"; /** * TTLStrategy defines the strategy for the time to live depending on if the analysis succeeded or failed */ export interface ITTLStrategy { /** * SecondsAfterCompletion is the number of seconds to live after completion. */ "secondsAfterCompletion"?: number; /** * SecondsAfterFailure is the number of seconds to live after failure. */ "secondsAfterFailure"?: number; /** * SecondsAfterSuccess is the number of seconds to live after success. */ "secondsAfterSuccess"?: number; } /** * TTLStrategy defines the strategy for the time to live depending on if the analysis succeeded or failed */ export declare class TTLStrategy extends Model<ITTLStrategy> implements ITTLStrategy { "secondsAfterCompletion"?: number; "secondsAfterFailure"?: number; "secondsAfterSuccess"?: number; constructor(data?: ModelData<ITTLStrategy>); } export type { ITTLStrategy as IComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1TTLStrategy, TTLStrategy as ComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1TTLStrategy };