Documentation
¶
Overview ¶
Package dnshosts edits the hosts file that the dnsname CNI plugin keeps for a network's dnsmasq, which resolves container hostnames.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Files ¶
type Files struct {
// Hosts is dnsmasq's additional hosts file: one "IP<TAB>name[<TAB>alias...]"
// line per container address.
Hosts string
// Lockfile serializes every edit of Hosts.
Lockfile string
// Pidfile holds dnsmasq's PID, to signal it to reload Hosts.
Pidfile string
}
Files are the dnsname plugin's files for one network.
Click to show internal directories.
Click to hide internal directories.