@kubernetes-models/flux-cd
Version:
31 lines (30 loc) • 1.3 kB
TypeScript
import { IComGithubFluxcdImageAutomationControllerApiV1UpdateStrategyName } 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"?: IComGithubFluxcdImageAutomationControllerApiV1UpdateStrategyName;
}
/**
* 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"?: IComGithubFluxcdImageAutomationControllerApiV1UpdateStrategyName;
constructor(data?: ModelData<IUpdateStrategy>);
}
export type { IUpdateStrategy as IComGithubFluxcdImageAutomationControllerApiV1UpdateStrategy, UpdateStrategy as ComGithubFluxcdImageAutomationControllerApiV1UpdateStrategy };