config

package
v1.0.0-rc1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 31, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

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"`
}

Command line options nolint: maligned

func (*Config) Print

func (c *Config) Print()

func (*Config) String

func (c *Config) String() string

func (*Config) Validate

func (c *Config) Validate() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL