Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigureConsulDNSInput ¶
type ConfigureConsulDNSInput struct { // Used only for unit tests ETCResolvConfFile string }
func (*ConfigureConsulDNSInput) ConfigureConsulDNS ¶
func (i *ConfigureConsulDNSInput) ConfigureConsulDNS() error
ConfigureConsulDNS reconstructs the /etc/resolv.conf file by setting the consul-dataplane's DNS server (i.e. localhost) as the first nameserver in the list.
Click to show internal directories.
Click to hide internal directories.