Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Docker ¶
type Docker struct {
// contains filtered or unexported fields
}
func (Docker) Login ¶
func (d Docker) Login(conf RegistryConfig) error
func (Docker) Logout ¶
func (d Docker) Logout(conf RegistryConfig) error
func (Docker) ReplicateImage ¶
func (d Docker) ReplicateImage(ctx context.Context, imageRef, imagePath string, dest RegistryConfig) error
ReplicateImage tags the given imagePath and pushes it to the given dest registry.
type RegistryConfig ¶
func (RegistryConfig) GetAuthConfig ¶
func (c RegistryConfig) GetAuthConfig() apiregistry.AuthConfig
func (RegistryConfig) GetBasicAuthorization ¶
func (c RegistryConfig) GetBasicAuthorization() string
func (RegistryConfig) GetRegistryAuth ¶
func (c RegistryConfig) GetRegistryAuth() (string, error)
Click to show internal directories.
Click to hide internal directories.