UNPKG

@kubernetes-models/flux-cd

Version:
31 lines (30 loc) 1.33 kB
import { IComGithubFluxcdImageAutomationControllerApiV1beta2UpdateStrategyName } from "./UpdateStrategyName.js"; import { ModelData, Model } from "@kubernetes-models/base"; /** * UpdateStrategy is a union of the various strategies for updating * the Git repository. Parameters for each strategy (if any) can be * inlined here. */ export interface IUpdateStrategy { /** * Path to the directory containing the manifests to be updated. * Defaults to 'None', which translates to the root path * of the GitRepositoryRef. */ "path"?: string; /** * Strategy names the strategy to be used. */ "strategy"?: IComGithubFluxcdImageAutomationControllerApiV1beta2UpdateStrategyName; } /** * UpdateStrategy is a union of the various strategies for updating * the Git repository. Parameters for each strategy (if any) can be * inlined here. */ export declare class UpdateStrategy extends Model<IUpdateStrategy> implements IUpdateStrategy { "path"?: string; "strategy"?: IComGithubFluxcdImageAutomationControllerApiV1beta2UpdateStrategyName; constructor(data?: ModelData<IUpdateStrategy>); } export type { IUpdateStrategy as IComGithubFluxcdImageAutomationControllerApiV1beta2UpdateStrategy, UpdateStrategy as ComGithubFluxcdImageAutomationControllerApiV1beta2UpdateStrategy };