testing

package
v1.15.1 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Code generated by MockGen. DO NOT EDIT. Source: antrea.io/antrea/pkg/agent/wireguard (interfaces: Interface)

Generated by this command:

mockgen -copyright_file hack/boilerplate/license_header.raw.txt -destination pkg/agent/wireguard/testing/mock_wireguard.go -package testing antrea.io/antrea/pkg/agent/wireguard Interface

Package testing is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockInterface added in v1.15.0

type MockInterface struct {
	// contains filtered or unexported fields
}

MockInterface is a mock of Interface interface.

func NewMockInterface added in v1.15.0

func NewMockInterface(ctrl *gomock.Controller) *MockInterface

NewMockInterface creates a new mock instance.

func (*MockInterface) CleanUp added in v1.15.0

func (m *MockInterface) CleanUp() error

CleanUp mocks base method.

func (*MockInterface) DeletePeer added in v1.15.0

func (m *MockInterface) DeletePeer(arg0 string) error

DeletePeer mocks base method.

func (*MockInterface) EXPECT added in v1.15.0

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockInterface) Init added in v1.15.0

func (m *MockInterface) Init(arg0, arg1 net.IP) (string, error)

Init mocks base method.

func (*MockInterface) RemoveStalePeers added in v1.15.0

func (m *MockInterface) RemoveStalePeers(arg0 map[string]string) error

RemoveStalePeers mocks base method.

func (*MockInterface) UpdatePeer added in v1.15.0

func (m *MockInterface) UpdatePeer(arg0, arg1 string, arg2 net.IP, arg3 []*net.IPNet) error

UpdatePeer mocks base method.

type MockInterfaceMockRecorder added in v1.15.0

type MockInterfaceMockRecorder struct {
	// contains filtered or unexported fields
}

MockInterfaceMockRecorder is the mock recorder for MockInterface.

func (*MockInterfaceMockRecorder) CleanUp added in v1.15.0

func (mr *MockInterfaceMockRecorder) CleanUp() *gomock.Call

CleanUp indicates an expected call of CleanUp.

func (*MockInterfaceMockRecorder) DeletePeer added in v1.15.0

func (mr *MockInterfaceMockRecorder) DeletePeer(arg0 any) *gomock.Call

DeletePeer indicates an expected call of DeletePeer.

func (*MockInterfaceMockRecorder) Init added in v1.15.0

func (mr *MockInterfaceMockRecorder) Init(arg0, arg1 any) *gomock.Call

Init indicates an expected call of Init.

func (*MockInterfaceMockRecorder) RemoveStalePeers added in v1.15.0

func (mr *MockInterfaceMockRecorder) RemoveStalePeers(arg0 any) *gomock.Call

RemoveStalePeers indicates an expected call of RemoveStalePeers.

func (*MockInterfaceMockRecorder) UpdatePeer added in v1.15.0

func (mr *MockInterfaceMockRecorder) UpdatePeer(arg0, arg1, arg2, arg3 any) *gomock.Call

UpdatePeer indicates an expected call of UpdatePeer.

Jump to

Keyboard shortcuts

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