dns

package
v1.9.0-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2018 License: Apache-2.0 Imports: 21 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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