UNPKG

@kubernetes-models/flux-cd

Version:
35 lines (34 loc) 1.76 kB
import { IComGithubFluxcdImageReflectorControllerApiV1beta1AlphabeticalPolicy } from "./AlphabeticalPolicy.js"; import { IComGithubFluxcdImageReflectorControllerApiV1beta1NumericalPolicy } from "./NumericalPolicy.js"; import { IComGithubFluxcdImageReflectorControllerApiV1beta1SemVerPolicy } from "./SemVerPolicy.js"; import { ModelData, Model } from "@kubernetes-models/base"; /** * ImagePolicyChoice is a union of all the types of policy that can be * supplied. */ export interface IImagePolicyChoice { /** * Alphabetical set of rules to use for alphabetical ordering of the tags. */ "alphabetical"?: IComGithubFluxcdImageReflectorControllerApiV1beta1AlphabeticalPolicy; /** * Numerical set of rules to use for numerical ordering of the tags. */ "numerical"?: IComGithubFluxcdImageReflectorControllerApiV1beta1NumericalPolicy; /** * SemVer gives a semantic version range to check against the tags * available. */ "semver"?: IComGithubFluxcdImageReflectorControllerApiV1beta1SemVerPolicy; } /** * ImagePolicyChoice is a union of all the types of policy that can be * supplied. */ export declare class ImagePolicyChoice extends Model<IImagePolicyChoice> implements IImagePolicyChoice { "alphabetical"?: IComGithubFluxcdImageReflectorControllerApiV1beta1AlphabeticalPolicy; "numerical"?: IComGithubFluxcdImageReflectorControllerApiV1beta1NumericalPolicy; "semver"?: IComGithubFluxcdImageReflectorControllerApiV1beta1SemVerPolicy; constructor(data?: ModelData<IImagePolicyChoice>); } export type { IImagePolicyChoice as IComGithubFluxcdImageReflectorControllerApiV1beta1ImagePolicyChoice, ImagePolicyChoice as ComGithubFluxcdImageReflectorControllerApiV1beta1ImagePolicyChoice };