Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeConfig ¶
func LoadConfig ¶
func SaveConfig ¶ added in v0.4.18
Types ¶
type Config ¶
type Config struct { Debug bool `yaml:"debug" json:"debug"` Listen string `yaml:"listen" json:"listen"` Proxy string `yaml:"proxy" json:"proxy"` WhiteList WhiteListConfig `yaml:"white_list" json:"white_list"` SystemAgent *config.AgentConfig `yaml:"systemagent" json:"systemagent,omitempty"` AgentStrictTLSMode bool `yaml:"agentStrictTLSMode" json:"agentStrictTLSMode"` CSIProxy *csiproxy.Config `yaml:"csi-proxy" json:"csi-proxy,omitempty"` TLSConfig *wintls.Config `yaml:"tls-config" json:"tls-config,omitempty"` }
func DefaultConfig ¶
func DefaultConfig() *Config
type WhiteListConfig ¶
type WhiteListConfig struct { ProcessPaths []string `yaml:"process_paths" json:"processPaths"` ProxyPorts []int `yaml:"proxy_ports" json:"proxyPorts"` }
func (*WhiteListConfig) Validate ¶
func (c *WhiteListConfig) Validate() error
Click to show internal directories.
Click to hide internal directories.