UNPKG

@kubernetes-models/flux-cd

Version:
45 lines (44 loc) 2.25 kB
import { IComGithubFluxcdImageAutomationControllerApiV1beta1GitSpec } from "./GitSpec.js"; import { IComGithubFluxcdImageAutomationControllerApiV1beta1CrossNamespaceSourceReference } from "./CrossNamespaceSourceReference.js"; import { IComGithubFluxcdImageAutomationControllerApiV1beta1UpdateStrategy } from "./UpdateStrategy.js"; import { ModelData, Model } from "@kubernetes-models/base"; /** * ImageUpdateAutomationSpec defines the desired state of ImageUpdateAutomation */ export interface IImageUpdateAutomationSpec { /** * GitSpec contains all the git-specific definitions. This is * technically optional, but in practice mandatory until there are * other kinds of source allowed. */ "git"?: IComGithubFluxcdImageAutomationControllerApiV1beta1GitSpec; "interval": string; /** * SourceRef refers to the resource giving access details * to a git repository. */ "sourceRef": IComGithubFluxcdImageAutomationControllerApiV1beta1CrossNamespaceSourceReference; /** * Suspend tells the controller to not run this automation, until * it is unset (or set to false). Defaults to false. */ "suspend"?: boolean; /** * Update gives the specification for how to update the files in * the repository. This can be left empty, to use the default * value. */ "update"?: IComGithubFluxcdImageAutomationControllerApiV1beta1UpdateStrategy; } /** * ImageUpdateAutomationSpec defines the desired state of ImageUpdateAutomation */ export declare class ImageUpdateAutomationSpec extends Model<IImageUpdateAutomationSpec> implements IImageUpdateAutomationSpec { "git"?: IComGithubFluxcdImageAutomationControllerApiV1beta1GitSpec; "interval": string; "sourceRef": IComGithubFluxcdImageAutomationControllerApiV1beta1CrossNamespaceSourceReference; "suspend"?: boolean; "update"?: IComGithubFluxcdImageAutomationControllerApiV1beta1UpdateStrategy; constructor(data?: ModelData<IImageUpdateAutomationSpec>); } export type { IImageUpdateAutomationSpec as IComGithubFluxcdImageAutomationControllerApiV1beta1ImageUpdateAutomationSpec, ImageUpdateAutomationSpec as ComGithubFluxcdImageAutomationControllerApiV1beta1ImageUpdateAutomationSpec };