Documentation
¶
Overview ¶
Package updateetchosts implements the update-etc-hosts command for managing /etc/hosts entries.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrNoHostnames is returned when no hostnames are configured. ErrNoHostnames = errors.New("no hostnames configured in network section") // ErrNoIPAddress is returned when cluster has no IP address. ErrNoIPAddress = errors.New("cluster has no IP address (is it running?)") // ErrRequiresRoot is returned when an operation requires root privileges. ErrRequiresRoot = errors.New("requires root privileges") )
Functions ¶
func CreateCommand ¶
CreateCommand creates the update-etc-hosts command.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.