Documentation ¶
Overview ¶
Package image provides struct definitions and libraries for image overwriting of names, tags and digest.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeprecatedImage ¶
type DeprecatedImage struct { // Name is a tag-less image name. Name string `json:"name,omitempty" yaml:"name,omitempty"` // NewTag is the value to use in replacing the original tag. NewTag string `json:"newTag,omitempty" yaml:"newTag,omitempty"` // Digest is the value used to replace the original image tag. // If digest is present NewTag value is ignored. Digest string `json:"digest,omitempty" yaml:"digest,omitempty"` }
DeprecatedImage contains an image and a new tag, which will replace the original tag. Deprecated, instead use Image.
type Image ¶
type Image struct { // Name is a tag-less image name. Name string `json:"name,omitempty" yaml:"name,omitempty"` // NewName is the value used to replace the original name. NewName string `json:"newName,omitempty" yaml:"newName,omitempty"` // NewTag is the value used to replace the original tag. NewTag string `json:"newTag,omitempty" yaml:"newTag,omitempty"` // Digest is the value used to replace the original image tag. // If digest is present NewTag value is ignored. Digest string `json:"digest,omitempty" yaml:"digest,omitempty"` }
Image contains an image name, a new name, a new tag or digest, which will replace the original name and tag.
Click to show internal directories.
Click to hide internal directories.