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.
Click to show internal directories.
Click to hide internal directories.