Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Spec ¶
type Spec struct { Src image.Image `json:"src"` Dst image.Image `json:"dst"` Transform Transform `json:"transform,omitempty"` }
Spec represents a single request to copy a particular source image to a particular destination.
type Transform ¶
type Transform struct { // LimitPlatforms limits the set of platforms copied from a multi-platform // source image to those listed. If it is empty, all platforms from the source // image will be copied. If the source image is a single-platform image, this // setting will be ignored and the image will be copied as-is. LimitPlatforms platformSet `json:"limitPlatforms,omitempty"` }
Transform represents an optional set of transformations to perform while mirroring a source image to a destination.
Click to show internal directories.
Click to hide internal directories.