UNPKG

@kubernetes-models/argo-cd

Version:
29 lines (28 loc) 1.03 kB
import { ModelData, Model } from "@kubernetes-models/base"; /** * Backoff is the backoff strategy to use on subsequent retries for failing syncs */ export interface IBackoff { /** * Duration is the amount to back off. Default unit is seconds, but could also be a duration (e.g. "2m", "1h") */ "duration"?: string; /** * Factor is a factor to multiply the base duration after each failed retry */ "factor"?: number; /** * MaxDuration is the maximum amount of time allowed for the backoff strategy */ "maxDuration"?: string; } /** * Backoff is the backoff strategy to use on subsequent retries for failing syncs */ export declare class Backoff extends Model<IBackoff> implements IBackoff { "duration"?: string; "factor"?: number; "maxDuration"?: string; constructor(data?: ModelData<IBackoff>); } export type { IBackoff as IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1Backoff, Backoff as ComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1Backoff };