@kubernetes-models/flux-cd
Version:
36 lines (35 loc) • 1.24 kB
TypeScript
import { ModelData, Model } from "@kubernetes-models/base";
/**
* OCIRepositoryRef defines the image reference for the OCIRepository's URL
*/
export interface IOCIRepositoryRef {
/**
* Digest is the image digest to pull, takes precedence over SemVer.
* The value should be in the format 'sha256:<HASH>'.
*/
"digest"?: string;
/**
* SemVer is the range of tags to pull selecting the latest within
* the range, takes precedence over Tag.
*/
"semver"?: string;
/**
* SemverFilter is a regex pattern to filter the tags within the SemVer range.
*/
"semverFilter"?: string;
/**
* Tag is the image tag to pull, defaults to latest.
*/
"tag"?: string;
}
/**
* OCIRepositoryRef defines the image reference for the OCIRepository's URL
*/
export declare class OCIRepositoryRef extends Model<IOCIRepositoryRef> implements IOCIRepositoryRef {
"digest"?: string;
"semver"?: string;
"semverFilter"?: string;
"tag"?: string;
constructor(data?: ModelData<IOCIRepositoryRef>);
}
export type { IOCIRepositoryRef as IComGithubFluxcdSourceControllerApiV1beta2OCIRepositoryRef, OCIRepositoryRef as ComGithubFluxcdSourceControllerApiV1beta2OCIRepositoryRef };