dnsserver

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultCoreFileTemplate = `` /* 639-byte string literal not displayed */

DefaultCoreFileTemplate defines the template to use to configure coreDNS to use the envoy dns filter.

Variables

This section is empty.

Functions

func GenerateConfigFile

func GenerateConfigFile(cfg kuma_dp.DNS, config []byte) (string, error)

Types

type DNSServer

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

func New

func New(opts *Opts) (*DNSServer, error)

func (*DNSServer) GetVersion added in v1.8.1

func (s *DNSServer) GetVersion() (string, error)

func (*DNSServer) NeedLeaderElection

func (s *DNSServer) NeedLeaderElection() bool

func (*DNSServer) Start

func (s *DNSServer) Start(stop <-chan struct{}) error

func (*DNSServer) WaitForDone added in v1.8.1

func (s *DNSServer) WaitForDone()

type Opts

type Opts struct {
	Config kuma_dp.Config
	Stdout io.Writer
	Stderr io.Writer
	Quit   chan struct{}
}

Jump to

Keyboard shortcuts

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