Documentation ¶
Index ¶
- func AddHostnameDNS(client *etcdlib.EtcdClient, dockeruri string, id int64, name string, ...) error
- func CleanDNS(client *etcdlib.EtcdClient) error
- func DeleteHostnameDNS(client *etcdlib.EtcdClient, id int64, name string, hostname string, ...) error
- func FindHostnameByIP(client *etcdlib.EtcdClient, address string) string
- func GetLocalIp(server string) (string, error)
- func GetLocalIpByInterface(interf string) (string, error)
- type DnsEntry
- type DnsHost
- type Error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddHostnameDNS ¶
func CleanDNS ¶
func CleanDNS(client *etcdlib.EtcdClient) error
func DeleteHostnameDNS ¶
func FindHostnameByIP ¶
func FindHostnameByIP(client *etcdlib.EtcdClient, address string) string
func GetLocalIp ¶
func GetLocalIpByInterface ¶
Types ¶
type DnsHost ¶
func GetHostnamesDNS ¶
func GetHostnamesDNS(client *etcdlib.EtcdClient, path string) ([]DnsHost, error)
Click to show internal directories.
Click to hide internal directories.