dns_server

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: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config added in v1.8.1

type Config struct {
	// The domain that the server will resolve the services for
	Domain string `yaml:"domain" envconfig:"kuma_dns_server_domain"`
	// CIDR used to allocate virtual IPs from
	CIDR string `yaml:"CIDR" envconfig:"kuma_dns_server_cidr"`
	// ServiceVipEnabled will create a service "<kuma.io/service>.mesh" dns entry for every service.
	ServiceVipEnabled bool `yaml:"serviceVipEnabled" envconfig:"kuma_dns_server_service_vip_enabled"`
}

DNS Server configuration

func DefaultDNSServerConfig

func DefaultDNSServerConfig() *Config

func (*Config) Sanitize added in v1.8.1

func (g *Config) Sanitize()

func (*Config) Validate added in v1.8.1

func (g *Config) Validate() error

Jump to

Keyboard shortcuts

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