@kubernetes-models/argo-cd
Version:
30 lines (29 loc) • 1.31 kB
TypeScript
import { IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1Backoff } from "./Backoff.js";
import { ModelData, Model } from "@kubernetes-models/base";
/**
* RetryStrategy contains information about the strategy to apply when a sync failed
*/
export interface IRetryStrategy {
/**
* Backoff controls how to backoff on subsequent retries of failed syncs
*/
"backoff"?: IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1Backoff;
/**
* Limit is the maximum number of attempts for retrying a failed sync. If set to 0, no retries will be performed.
*/
"limit"?: number;
/**
* Refresh indicates if the latest revision should be used on retry instead of the initial one (default: false)
*/
"refresh"?: boolean;
}
/**
* RetryStrategy contains information about the strategy to apply when a sync failed
*/
export declare class RetryStrategy extends Model<IRetryStrategy> implements IRetryStrategy {
"backoff"?: IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1Backoff;
"limit"?: number;
"refresh"?: boolean;
constructor(data?: ModelData<IRetryStrategy>);
}
export type { IRetryStrategy as IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1RetryStrategy, RetryStrategy as ComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1RetryStrategy };