@kubernetes-models/argo-cd
Version:
34 lines (33 loc) • 1.32 kB
TypeScript
import { ModelData, Model } from "@kubernetes-models/base";
/**
* SyncPolicyAutomated controls the behavior of an automated sync
*/
export interface ISyncPolicyAutomated {
/**
* AllowEmpty allows apps have zero live resources (default: false)
*/
"allowEmpty"?: boolean;
/**
* Enable allows apps to explicitly control automated sync
*/
"enabled"?: boolean;
/**
* Prune specifies whether to delete resources from the cluster that are not found in the sources anymore as part of automated sync (default: false)
*/
"prune"?: boolean;
/**
* SelfHeal specifies whether to revert resources back to their desired state upon modification in the cluster (default: false)
*/
"selfHeal"?: boolean;
}
/**
* SyncPolicyAutomated controls the behavior of an automated sync
*/
export declare class SyncPolicyAutomated extends Model<ISyncPolicyAutomated> implements ISyncPolicyAutomated {
"allowEmpty"?: boolean;
"enabled"?: boolean;
"prune"?: boolean;
"selfHeal"?: boolean;
constructor(data?: ModelData<ISyncPolicyAutomated>);
}
export type { ISyncPolicyAutomated as IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1SyncPolicyAutomated, SyncPolicyAutomated as ComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1SyncPolicyAutomated };