Documentation ¶
Index ¶
Constants ¶
View Source
const ( EnablePprofFlag = "enable-pprof" ProbeMasterAddrFalg = "probe-master-addr" ClusterNameFalg = "cluster-name" SecretKeyFalg = "secret-key" DebugLevelFalg = "debug-level" ConfigFileFalg = "config-file" )
Variables ¶
View Source
var ProbeTunnelConf = NewProbeTunnelOptions()
Functions ¶
This section is empty.
Types ¶
type ProbeTunnelOptions ¶
type ProbeTunnelOptions struct { ProbeMasterAddr string `mapstructure:"probe_master_addr" yaml:"probe_master_addr"` ClusterName string `mapstructure:"cluster_name" yaml:"cluster_name"` SecretKey string `mapstructure:"secret_key" yaml:"secret_key"` ConfigFile string }
func NewProbeTunnelOptions ¶
func NewProbeTunnelOptions() *ProbeTunnelOptions
NewProbeTunnelOptions creates a new NewProbeAgentOptions with a default config.
func (*ProbeTunnelOptions) AddFlags ¶
func (o *ProbeTunnelOptions) AddFlags(fs *pflag.FlagSet)
AddFlags returns flags for a specific yurthub by section name
Click to show internal directories.
Click to hide internal directories.