Documentation ¶
Index ¶
- func DropHosts()
- func DumpHosts(hostsMap map[string]string, namespaceToDrop string) error
- func GetLocalDomains() string
- func GetNameServer() string
- func HandleExtraDomainMapping(extraDomains map[string]string, localDnsPort int)
- func RestoreNameServer()
- func SetNameServer(dnsServer string) error
- func SetupLocalDns(remoteDnsPort, localDnsPort int, dnsOrder []string) error
- type DnsServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleExtraDomainMapping ¶ added in v0.3.6
HandleExtraDomainMapping handle extra domain change
func RestoreNameServer ¶ added in v0.3.6
func RestoreNameServer()
RestoreNameServer remove the nameservers added by ktctl
func SetNameServer ¶ added in v0.3.6
SetNameServer set dns server records
func SetupLocalDns ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.