Documentation
¶
Overview ¶
Package nodeconfig contains Webmesh node configuration rendering.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
Config represents a rendered node group config.
type Options ¶
type Options struct { // Mesh is the mesh. Mesh *meshv1.Mesh // Group is the node group. Group *meshv1.NodeGroup // AdvertiseAddress is the advertise address. AdvertiseAddress string // PrimaryEndpoint is the primary endpoint. PrimaryEndpoint string // WireGuardEndpoints are the WireGuard endpoints. WireGuardEndpoints []string // WireGuardListenPort is the WireGuard listen port. WireGuardListenPort int // IsBootstrap is true if this is the bootstrap node group. IsBootstrap bool // BootstrapServers are the bootstrap servers. BootstrapServers map[string]string // BootstrapVoters are additional bootstrap voters. BootstrapVoters []string // JoinServer is the join server. JoinServer string // IsPersistent is true if this is a persistent node group. IsPersistent bool // CertDir is the cert directory. CertDir string // DetectEndpoints is true if endpoints should be detected. DetectEndpoints bool // AllowRemoteDetection is true if remote detection is allowed. AllowRemoteDetection bool // PersistentKeepalive is the persistent keepalive. PersistentKeepalive time.Duration }
Options are options for generating a node group config.
Click to show internal directories.
Click to hide internal directories.