Documentation ¶
Index ¶
- func CreatePeer(kube kubernetes.Kube, namespace string, peer *v1alpha1.WireguardPeer) (*v1alpha1.WireguardPeer, error)
- func DeletePeer(kube kubernetes.Kube, namespace string, name string) error
- func GetPeer(kube kubernetes.Kube, namespace string, name string) (*v1alpha1.WireguardPeer, error)
- func GetPeerConfigSecret(kube kubernetes.Kube, namespace string, name string) (*v1.Secret, error)
- func GetServer(kube kubernetes.Kube, namespace string, name string) (*v1alpha1.WireguardServer, error)
- func ListPeers(kube kubernetes.Kube, namespace string) (*v1alpha1.WireguardPeerList, error)
- func ListServers(kube kubernetes.Kube, namespace string) (*v1alpha1.WireguardServerList, error)
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 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.
Click to show internal directories.
Click to hide internal directories.