Versions in this module Expand all Collapse all v0 v0.0.1 Sep 16, 2024 Changes in this version + var Version = "latest" + type Config struct + AgentImage string + Container string + KeepResources bool + KubernetesClusterDetails kuberneteshelpers.ClusterDetails + Namespace string + TargetObject runtime.Object + Wireguard Wireguard + func NewConfig() *Config + type Key struct + func (k *Key) UnmarshalText(text []byte) (err error) + func (k Key) MarshalText() ([]byte, error) + type Wireguard struct + AgentKey Key + AgentOverlayAddress netip.Addr + AllowedIPs []netip.Prefix + DirectAccess bool + LocalAddress netip.AddrPort + LocalKey Key + LocalOverlayAddress netip.Addr + OverlayPrefix netip.Prefix + func NewWireguardConfig(options ...WireguardOption) (Wireguard, error) + type WireguardOption func(*Wireguard) error + func WithAllowedIPs(allowedIPs ...string) WireguardOption + func WithDirectAccess(directAccess bool) WireguardOption + func WithGeneratedKeypairs() WireguardOption + func WithLocalAddress(address netip.AddrPort) WireguardOption + func WithOverlay(overlay, localAddress, agentAddress string) WireguardOption