Documentation ¶
Overview ¶
Package agent provides the main entrypoint for the agent.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { WireguardEndpoint string // WireguardEndpoint is the endpoint for the Wireguard server. APIEndpoint string // APIEndpoint is the gRPC endpoint for the SideroLink API. APITLSConfig *tls.Config // APITLSConfig is the TLS configuration for the SideroLink API (if nil, served over plain TCP). JoinToken string // JoinToken is the join token for the SideroLink API. SinkEndpoint string // SinkEndpoint is the gRPC endpoint for the event sink. LogEndpoint string // LogEndpoint is the TCP log receiver endpoint. UUIDIPv6Pairs []string // UUIDIPv6Pairs is a list of UUIDs=IPv6 addrs for the nodes. ForceUserspace bool // ForceUserspace forces the usage of the userspace UDP device for Wireguard. }
Config is the configuration for the agent.
Click to show internal directories.
Click to hide internal directories.