Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DefaultConfig = &Config{ Insecure: false, } )
View Source
var (
DefaultConsoleConfig = &ConsoleConfig{}
)
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Console string `json:"console" pflag:",Endpoint of console, if different than flyte admin"` Host string `json:"host" pflag:",Endpoint of flyte admin"` Insecure bool `json:"insecure" pflag:",Enable insecure mode"` }
Configs
type ConsoleConfig ¶ added in v0.6.18
type ConsoleConfig struct {
Endpoint string `json:"endpoint" pflag:",Endpoint of console, if different than flyte admin"`
}
FilesConfig containing flags used for registration
func GetConfig ¶ added in v0.6.18
func GetConfig() *ConsoleConfig
func (ConsoleConfig) GetPFlagSet ¶ added in v0.6.18
func (cfg ConsoleConfig) GetPFlagSet(prefix string) *pflag.FlagSet
GetPFlagSet will return strongly types pflags for all fields in ConsoleConfig and its nested types. The format of the flags is json-name.json-sub-name... etc.
Click to show internal directories.
Click to hide internal directories.