dns_server

package
v0.0.0-...-7b34d14 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DNSServerConfig

type DNSServerConfig struct {
	// The domain that the server will resolve the services for
	Domain string `yaml:"domain" envconfig:"kuma_dns_server_domain"`
	// Port on which the server is exposed
	Port uint32 `yaml:"port" envconfig:"kuma_dns_server_port"`
	// CIDR used to allocate virtual IPs from
	CIDR string `yaml:"CIDR" envconfig:"kuma_dns_server_cidr"`
}

DNS Server configuration

func DefaultDNSServerConfig

func DefaultDNSServerConfig() *DNSServerConfig

func (*DNSServerConfig) Sanitize

func (g *DNSServerConfig) Sanitize()

func (*DNSServerConfig) Validate

func (g *DNSServerConfig) Validate() error

Jump to

Keyboard shortcuts

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