UNPKG

@kubernetes-models/flux-cd

Version:
33 lines (32 loc) 1.54 kB
import { IComGithubFluxcdHelmControllerApiV2IgnoreRule } from "./IgnoreRule.js"; import { IComGithubFluxcdHelmControllerApiV2DriftDetectionMode } from "./DriftDetectionMode.js"; import { ModelData, Model } from "@kubernetes-models/base"; /** * DriftDetection defines the strategy for performing differential analysis and * provides a way to define rules for ignoring specific changes during this * process. */ export interface IDriftDetection { /** * Ignore contains a list of rules for specifying which changes to ignore * during diffing. */ "ignore"?: Array<IComGithubFluxcdHelmControllerApiV2IgnoreRule>; /** * Mode defines how differences should be handled between the Helm manifest * and the manifest currently applied to the cluster. * If not explicitly set, it defaults to DiffModeDisabled. */ "mode"?: IComGithubFluxcdHelmControllerApiV2DriftDetectionMode; } /** * DriftDetection defines the strategy for performing differential analysis and * provides a way to define rules for ignoring specific changes during this * process. */ export declare class DriftDetection extends Model<IDriftDetection> implements IDriftDetection { "ignore"?: Array<IComGithubFluxcdHelmControllerApiV2IgnoreRule>; "mode"?: IComGithubFluxcdHelmControllerApiV2DriftDetectionMode; constructor(data?: ModelData<IDriftDetection>); } export type { IDriftDetection as IComGithubFluxcdHelmControllerApiV2DriftDetection, DriftDetection as ComGithubFluxcdHelmControllerApiV2DriftDetection };