Documentation ¶
Index ¶
- type MockWireGuardClient
- func (m *MockWireGuardClient) CleanUp() error
- func (m *MockWireGuardClient) DeletePeer(nodeName string) error
- func (m *MockWireGuardClient) Init(ipv4 net.IP, ipv6 net.IP) (string, error)
- func (m *MockWireGuardClient) RemoveStalePeers(currentPeerPublickeys map[string]string) error
- func (m *MockWireGuardClient) UpdatePeer(nodeName, publicKeyString string, peerNodeIP net.IP, allowedIPs []*net.IPNet) error
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) RemoveStalePeers ¶
func (m *MockWireGuardClient) RemoveStalePeers(currentPeerPublickeys map[string]string) error
func (*MockWireGuardClient) UpdatePeer ¶
Click to show internal directories.
Click to hide internal directories.