@kubernetes-models/flux-cd
Version:
35 lines (34 loc) • 1.08 kB
TypeScript
import { ModelData, Model } from "@kubernetes-models/base";
/**
* Image contains an image name, a new name, a new tag or digest, which will replace the original name and tag.
*/
export interface IImage {
/**
* Digest is the value used to replace the original image tag.
* If digest is present NewTag value is ignored.
*/
"digest"?: string;
/**
* Name is a tag-less image name.
*/
"name": string;
/**
* NewName is the value used to replace the original name.
*/
"newName"?: string;
/**
* NewTag is the value used to replace the original tag.
*/
"newTag"?: string;
}
/**
* Image contains an image name, a new name, a new tag or digest, which will replace the original name and tag.
*/
export declare class Image extends Model<IImage> implements IImage {
"digest"?: string;
"name": string;
"newName"?: string;
"newTag"?: string;
constructor(data?: ModelData<IImage>);
}
export type { IImage as IComGithubFluxcdPkgApisKustomizeImage, Image as ComGithubFluxcdPkgApisKustomizeImage };