dns

package
v2.0.0-...-ec94ed8 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmd

func NewCmd(config *Configuration, loaders []cli.ResourceLoader) *cli.Command

NewCmd builds a new dns command.

Types

type Configuration

type Configuration struct {
	KubeConfig  string `description:"Path to a kubeconfig. Only required if out-of-cluster." export:"true"`
	MasterURL   string `` /* 137-byte string literal not displayed */
	LogLevel    string `description:"The log level." export:"true"`
	LogFormat   string `description:"The log format." export:"true"`
	Port        int32  `description:"The DNS server port." export:"true"`
	Namespace   string `description:"The namespace that Traefik Mesh is installed in." export:"true"`
	ServiceName string `description:"The DNS service name." export:"true"`
	ServicePort int32  `description:"The DNS service port." export:"true"`
}

Configuration holds the configuration for the dns command.

func NewConfiguration

func NewConfiguration() *Configuration

NewConfiguration creates the dns command configuration with default values.

Jump to

Keyboard shortcuts

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