Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDefaultCommand ¶
NewDefaultCommand creates a new default command
func WriteManifest ¶ added in v0.7.0
WriteManifest writes the image manifest to disk
Types ¶
type Auth ¶
type Auth struct {
Username string `yaml:"username,omitempty"`
Password string `yaml:"password,omitempty"`
}
Auth is a username and password to log into a registry
type ContainerImage ¶
type ContainerImage struct {
Repository string `yaml:"repository"`
Version string `yaml:"version"`
SourceRegistry string `yaml:"source,omitempty"`
Auth Auth `yaml:"auth,omitempty"`
}
ContainerImage is a container image
func (ContainerImage) Source ¶
func (c ContainerImage) Source() string
Source returns the source image
func (ContainerImage) Target ¶
func (c ContainerImage) Target(target Target) string
Target returns the target image
type Manifest ¶ added in v0.7.0
type Manifest struct {
Target Target `yaml:"target"`
Images []ContainerImage `yaml:"images,omitempty"`
}
Manifest is a collection of images to sync
func GetManifest ¶ added in v0.7.0
GetManifest returns the current manifest file in the working directory
func NewAutodetectManifest ¶ added in v0.7.0
NewAutodetectManifest returns a new image manifest with images found in the repository
func NewManifest ¶ added in v0.7.0
NewManifest returns a new image manifest
Click to show internal directories.
Click to hide internal directories.