Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { DryRun bool `json:"DRY_RUN"` ProxyUID string `json:"PROXY_UID"` ProxyGID string `json:"PROXY_GID"` RedirectDNS bool `json:"REDIRECT_DNS"` DNSServersV4 []string `json:"DNS_SERVERS_V4"` DNSServersV6 []string `json:"DNS_SERVERS_V6"` CaptureAllDNS bool `json:"CAPTURE_ALL_DNS"` OwnerGroupsInclude string `json:"OUTBOUND_OWNER_GROUPS_INCLUDE"` OwnerGroupsExclude string `json:"OUTBOUND_OWNER_GROUPS_EXCLUDE"` InboundInterceptionMode string `json:"INBOUND_INTERCEPTION_MODE"` InboundTProxyMark string `json:"INBOUND_TPROXY_MARK"` OutboundIPRangesInclude string `json:"OUTBOUND_IPRANGES_INCLUDE"` KubeVirtInterfaces string `json:"KUBE_VIRT_INTERFACES"` }
Command line options nolint: maligned
func DefaultConfig ¶
func DefaultConfig() *Config
func (*Config) FillConfigFromEnvironment ¶
func (c *Config) FillConfigFromEnvironment()
Click to show internal directories.
Click to hide internal directories.