Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrRegistryAddressNotFound record not found error, happens when haven't find any matched registry address. ErrRegistryAddressNotFound = errors.New("registry address not found") )
Functions ¶
This section is empty.
Types ¶
type HostManager ¶
type HostManager interface {
Start()
}
HostManager is responsible for writing the resolution of the private image repository domain name to /etc/hosts.
func NewHostManager ¶
NewHostManager creates a new HostManager.
type Hosts ¶
Hosts represents a hosts file.
type HostsLine ¶
HostsLine represents a single line in the hosts file.
func NewHostsLine ¶
NewHostsLine returns a new instance of ```HostsLine```.
Click to show internal directories.
Click to hide internal directories.