Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RegistryService ¶
type RegistryService struct {
// contains filtered or unexported fields
}
RegistryService structure
func NewRegistryService ¶
func NewRegistryService(registryConfig config.RegistryConfig) *RegistryService
New creates a new RegistryService
func (*RegistryService) GetRegistryPath ¶
func (s *RegistryService) GetRegistryPath() string
GetRegistryPath returns URL for the registry
func (*RegistryService) UploadImage ¶
func (s *RegistryService) UploadImage(originalImageName string, backupImageName string) error
UploadImage uploads image from the original source to backup registry
Click to show internal directories.
Click to hide internal directories.