vpn

package
v0.9.9 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreatePeer

func CreatePeer(kube kubernetes.Kube, namespace string, peer *v1alpha1.WireguardPeer) (*v1alpha1.WireguardPeer, error)

func DeletePeer

func DeletePeer(kube kubernetes.Kube, namespace string, name string) error

func GetPeer

func GetPeer(kube kubernetes.Kube, namespace string, name string) (*v1alpha1.WireguardPeer, error)

func GetPeerConfigSecret

func GetPeerConfigSecret(kube kubernetes.Kube, namespace string, name string) (*v1.Secret, error)

func GetServer

func GetServer(kube kubernetes.Kube, namespace string, name string) (*v1alpha1.WireguardServer, error)

func ListPeers

func ListPeers(kube kubernetes.Kube, namespace string) (*v1alpha1.WireguardPeerList, error)

func ListServers

func ListServers(kube kubernetes.Kube, namespace string) (*v1alpha1.WireguardServerList, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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