Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ArtifactsPath = "default/"
ArtifactsPath is a path to artifacts output directory (set during the build).
Functions ¶
func ArtifactPath ¶
ArtifactPath returns path to the artifact by name.
func DefaultImage ¶
DefaultImage appends default image version.
Types ¶
type WireguardConfigBundle ¶ added in v0.9.0
type WireguardConfigBundle struct {
// contains filtered or unexported fields
}
WireguardConfigBundle allows assembling wireguard network configuration with first controlplane being listen node.
func NewWireguardConfigBundle ¶ added in v0.9.0
func NewWireguardConfigBundle(ips []net.IP, wireguardCidr string, listenPort, mastersCount int) (*WireguardConfigBundle, error)
NewWireguardConfigBundle creates a new Wireguard config bundle.
func (*WireguardConfigBundle) PatchConfig ¶ added in v0.9.0
func (w *WireguardConfigBundle) PatchConfig(ip fmt.Stringer, cfg config.Provider) (config.Provider, error)
PatchConfig generates config patch for a node and patches the configuration data.
Click to show internal directories.
Click to hide internal directories.