dns

package
v0.0.0-...-1a80962 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DnsProxy

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

func NewProxy

func NewProxy(address string) *DnsProxy

func (DnsProxy) Exchange

func (p DnsProxy) Exchange(m *dns.Msg) (*dns.Msg, error)

type Exchanger

type Exchanger interface {
	Exchange(m *dns.Msg) (*dns.Msg, error)
}

type Server

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

func NewServer

func NewServer(exchanger Exchanger, creator istio.ServiceEntryCreator, kubeZones []string) *Server

func (*Server) Start

func (s *Server) Start(address, network string, onStart func())

func (*Server) Stop

func (s *Server) Stop()

Jump to

Keyboard shortcuts

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