Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TunnelAgentConfig ¶
type TunnelAgentConfig struct { // Enable indicates whether TunnelAgent is enabled, // if set to false (for debugging etc.), skip checking other TunnelAgent configs. // default false Enable bool `json:"enable,omitempty"` // TunnelACLConfig indicates the set of tunnel agent config about acl TunnelACLConfig acl.TunnelACLConfig `json:"ACL,omitempty"` // NodeName indicates the node name of tunnel agent NodeName string `json:"nodeName,omitempty"` // ListenPort indicates the listen port of tunnel agent // default 20006 ListenPort int `json:"listenPort,omitempty"` // EnableSecurity indicates whether to use the ca acl and security transport // default false EnableSecurity bool `json:"enableSecurity"` }
func NewTunnelAgentConfig ¶
func NewTunnelAgentConfig() *TunnelAgentConfig
Click to show internal directories.
Click to hide internal directories.