Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
APIServerEndpoint string
APIServerPassword string
APIServerPrivateIP string
APIServerPublicKey string
APIServerURL string
ConfigDir string
DeviceIPv4 string `envconfig:"DEVICEIP"` // Not changing to v4 yet as it's configured in config files on disk all around
DeviceIPv6 string
EnableRouting bool
LogLevel string
Name string
PrivateKey string
PrometheusAddr string
PrometheusPublicKey string
PrometheusTunnelIP string
WireGuardConfigPath string
WireGuardIPv4 *netip.Prefix `ignored:"true"`
WireGuardIPv6 *netip.Prefix `ignored:"true"`
AutoEnroll bool
}
func DefaultConfig ¶
func DefaultConfig() Config
func (Config) StaticPeers ¶
func (Config) ValidateWireGuard ¶
Click to show internal directories.
Click to hide internal directories.