Documentation
¶
Index ¶
Constants ¶
View Source
const ( DefaultTunnelMetricsPort = 10265 DefaultProxyMetricsPort = 10266 DefaultHealthyProbeAddr = 10275 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentOptions ¶
type AgentOptions struct { TunnelOptions ProxyOptions NodeName string NodeIP string Kubeconfig string MetricsBindAddress string HealthProbeAddr string }
AgentOptions has the information that required by the raven agent
func (*AgentOptions) AddFlags ¶
func (o *AgentOptions) AddFlags(fs *pflag.FlagSet)
AddFlags returns flags for a specific yurttunnel-agent by section name
func (*AgentOptions) Config ¶
func (o *AgentOptions) Config() (*config.Config, error)
Config return a raven agent config objective
func (*AgentOptions) Validate ¶
func (o *AgentOptions) Validate() error
Validate validates the AgentOptions
type ProxyOptions ¶ added in v0.4.0
Click to show internal directories.
Click to hide internal directories.