Documentation ¶
Index ¶
Constants ¶
View Source
const ( // GlobalFlags keys. KeyConfig = "config" // string KeyDebug = "debug" // bool // ServerFlags keys. KeyServer = "server" // string KeyTLS = "tls" // bool KeyTLSAllowInsecure = "tls-allow-insecure" // bool KeyTLSCACertFiles = "tls-ca-cert-files" // []string KeyTLSClientCertFile = "tls-client-cert-file" // string KeyTLSClientKeyFile = "tls-client-key-file" // string KeyTLSServerName = "tls-server-name" // string KeyTimeout = "timeout" // time.Duration )
Keys can be used to retrieve values from GlobalFlags and ServerFlags (e.g. when bound to a viper instance).
Variables ¶
View Source
var GlobalFlags = pflag.NewFlagSet("global", pflag.ContinueOnError)
GlobalFlags are flags that apply to any command.
View Source
var ServerFlags = pflag.NewFlagSet("server", pflag.ContinueOnError)
ServerFlags are flags that configure how to connect to a Hubble server.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.