export interface IDockerRegistryCredentials { username: string; password: string; serveraddress: string; } export interface IDockerRegistryIdentityToken { identitytoken: string; serveraddress?: string; } export type TDockerRegistryAuth = IDockerRegistryCredentials | IDockerRegistryIdentityToken; export interface IImagePullDescriptor { /** Complete registry reference, including any registry port, tag, or digest. */ reference: string; /** Complete repository digest expected in the post-pull image inspection. */ expectedRepoDigest: string; /** Credentials attached only to this pull request. */ registryAuth?: TDockerRegistryAuth; /** * Caller-owned cancellation for the pull and its verification inspection. * Include any desired whole-operation deadline in this signal. */ signal?: AbortSignal; } export interface IImageMutablePullDescriptor { /** Complete mutable registry reference with an explicit tag. */ reference: string; /** Credentials attached only to this pull request. */ registryAuth?: TDockerRegistryAuth; /** * Caller-owned cancellation for the pull and its verification inspection. * Include any desired whole-operation deadline in this signal. */ signal?: AbortSignal; } /** Descriptor retained for importing an image tar stream. */ export interface IImageCreationDescriptor { imageUrl: string; imageTag?: string; } export interface IImageListOptions { all?: boolean; filters?: Record; }