UNPKG

@kubernetes-models/flux-cd

Version:
37 lines (36 loc) 1.35 kB
import { IIoK8sApimachineryPkgApisMetaV1Time } from "@kubernetes-models/apimachinery/apis/meta/v1/Time"; import { ModelData, Model } from "@kubernetes-models/base"; /** * ScanResult contains information about the last scan of the image repository. */ export interface IScanResult { /** * LatestTags is a small sample of the tags found in the last scan. * It's the first 10 tags when sorting all the tags in descending * alphabetical order. */ "latestTags"?: Array<string>; /** * Revision is a stable hash of the scanned tags. */ "revision"?: string; /** * ScanTime is the time when the last scan was performed. */ "scanTime"?: IIoK8sApimachineryPkgApisMetaV1Time; /** * TagCount is the number of tags found in the last scan. */ "tagCount": number; } /** * ScanResult contains information about the last scan of the image repository. */ export declare class ScanResult extends Model<IScanResult> implements IScanResult { "latestTags"?: Array<string>; "revision"?: string; "scanTime"?: IIoK8sApimachineryPkgApisMetaV1Time; "tagCount": number; constructor(data?: ModelData<IScanResult>); } export type { IScanResult as IComGithubFluxcdImageReflectorControllerApiV1ScanResult, ScanResult as ComGithubFluxcdImageReflectorControllerApiV1ScanResult };