initiate

package
v1.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 18, 2023 License: LGPL-3.0 Imports: 7 Imported by: 0

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

func NewHostManager(cfg *option.Conf, discover discover.Discover) (HostManager, error)

NewHostManager creates a new HostManager.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL