wireguard

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 29, 2021 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PublicKey     = "publicKey"  // PublicKey is the key of publicKey entry in back-end map and also for the secret containing the wireguard keys
	PrivateKey    = "privateKey" // PrivateKey is the key of private for the secret containing the wireguard keys
	EndpointIP    = "endpointIP" // EndpointIP is the key of the endpointIP entry in back-end map
	ListeningPort = "port"       // ListeningPort is the key of the listeningPort entry in the back-end map
	AllowedIPs    = "allowedIPs" // AllowedIPs is the key of the allowedIPs entry in the back-end map

	DriverName = "wireguard" // name of the driver which is also used as the type of the backend in tunnelendpoint CRD

	KeysLabel = "net.liqo.io/key" // label for the secret that contains the public key

	KeepAliveInterval = 10 * time.Second
)

Variables

This section is empty.

Functions

func NewDriver

func NewDriver(k8sClient *k8s.Clientset, namespace string) (tunnel.Driver, error)

NewDriver creates a new WireGuard driver

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL