embed

package
v0.0.0-...-290676b Latest Latest
Warning

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

Go to latest
Published: May 8, 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 Config

type Config struct {
	RegisterServiceNamespace []string     `profile:"register.service.namespace"`
	RegisterServerNamespace  string       `profile:"register.server.namespace"`
	ConfigServer             ConfigServer `profile:"config.server"`
	Kubeconfig               string       `profile:"kubeconfig" profileDefault:""`
}
var Env *Config

func (Config) IsRegisterServiceNamespace

func (config Config) IsRegisterServiceNamespace(ns string) bool

type ConfigServer

type ConfigServer struct {
	Enabled      bool     `profileDefault:"true"`
	GatewayNames []string `profile:"gateway.names" profileDefault:"[\"api-gateway\", \"gateway-helper\"]"`
	Log          bool     `profileDefault:"false"`
}

Jump to

Keyboard shortcuts

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