Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GuiServerConfig ¶
type GuiServerConfig struct { // Port on which the server is exposed Port uint32 `yaml:"port" envconfig:"kuma_gui_server_port"` // URL of the Api Server that requests with /api prefix will be redirected to. By default autoconfigured to http://locahost:port_of_api_server ApiServerUrl string `yaml:"apiServerUrl" envconfig:"kuma_gui_server_api_server_url"` // Config of the GUI itself GuiConfig *GuiConfig `yaml:"-"` // DEPRECATED, will be removed when GUI is switched to use /api URL }
Web GUI Server configuration
func DefaultGuiServerConfig ¶
func DefaultGuiServerConfig() *GuiServerConfig
func (*GuiServerConfig) Sanitize ¶
func (g *GuiServerConfig) Sanitize()
func (*GuiServerConfig) Validate ¶
func (g *GuiServerConfig) Validate() error
Click to show internal directories.
Click to hide internal directories.