dns

package
v1.10.0-alpha.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 19, 2018 License: Apache-2.0 Imports: 21 Imported by: 2

Documentation

Index

Constants

View Source
const (
	ControllerName = "service-dns"

	UserAgentName = "federation-service-dns-controller"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type NetWrapper

type NetWrapper interface {
	LookupHost(host string) (addrs []string, err error)
}

Abstracting away the internet

type NetWrapperDefaultImplementation

type NetWrapperDefaultImplementation struct{}

func (*NetWrapperDefaultImplementation) LookupHost

func (r *NetWrapperDefaultImplementation) LookupHost(host string) (addrs []string, err error)

type ServiceDNSController

type ServiceDNSController struct {
	// contains filtered or unexported fields
}

func NewServiceDNSController

func NewServiceDNSController(client fedclientset.Interface, dnsProvider, dnsProviderConfig, federationName,
	serviceDNSSuffix, zoneName, zoneID string) (*ServiceDNSController, error)

NewServiceDNSController returns a new service dns controller to manage DNS records for federated services

func (*ServiceDNSController) DNSControllerRun

func (s *ServiceDNSController) DNSControllerRun(workers int, stopCh <-chan struct{})

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL