Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDefaultCommand ¶
NewDefaultCommand creates a new default command
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) RepositoryWithTag ¶
func (c ContainerImage) RepositoryWithTag() string
RepositoryWithTag returns the full repository path including the tag
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 ImageManifest ¶
type ImageManifest struct {
Target Target `yaml:"target"`
Images []ContainerImage `yaml:"images,omitempty"`
}
ImageManifest is a collection of images to sync
Click to show internal directories.
Click to hide internal directories.