testing

package
v1.12.1 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockWireGuardClient

type MockWireGuardClient struct{}

func (*MockWireGuardClient) CleanUp

func (m *MockWireGuardClient) CleanUp() error

func (*MockWireGuardClient) DeletePeer

func (m *MockWireGuardClient) DeletePeer(nodeName string) error

func (*MockWireGuardClient) Init

func (m *MockWireGuardClient) Init(ipv4 net.IP, ipv6 net.IP) (string, error)

func (*MockWireGuardClient) RemoveStalePeers

func (m *MockWireGuardClient) RemoveStalePeers(currentPeerPublickeys map[string]string) error

func (*MockWireGuardClient) UpdatePeer

func (m *MockWireGuardClient) UpdatePeer(nodeName, publicKeyString string, peerNodeIP net.IP, allowedIPs []*net.IPNet) error

Jump to

Keyboard shortcuts

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