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: 4 Imported by: 0

Documentation

Overview

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

Generated by this command:

mockgen -copyright_file hack/boilerplate/license_header.raw.txt -destination pkg/agent/memberlist/testing/mock_memberlist.go -package testing antrea.io/antrea/pkg/agent/memberlist 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.11.0

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

MockInterface is a mock of Interface interface.

func NewMockInterface added in v1.11.0

func NewMockInterface(ctrl *gomock.Controller) *MockInterface

NewMockInterface creates a new mock instance.

func (*MockInterface) AddClusterEventHandler added in v1.11.0

func (m *MockInterface) AddClusterEventHandler(arg0 memberlist.ClusterNodeEventHandler)

AddClusterEventHandler mocks base method.

func (*MockInterface) AliveNodes added in v1.11.0

func (m *MockInterface) AliveNodes() sets.Set[string]

AliveNodes mocks base method.

func (*MockInterface) EXPECT added in v1.11.0

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

func (*MockInterface) SelectNodeForIP added in v1.11.0

func (m *MockInterface) SelectNodeForIP(arg0, arg1 string, arg2 ...func(string) bool) (string, error)

SelectNodeForIP mocks base method.

func (*MockInterface) ShouldSelectIP added in v1.11.0

func (m *MockInterface) ShouldSelectIP(arg0, arg1 string, arg2 ...func(string) bool) (bool, error)

ShouldSelectIP mocks base method.

type MockInterfaceMockRecorder added in v1.11.0

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

MockInterfaceMockRecorder is the mock recorder for MockInterface.

func (*MockInterfaceMockRecorder) AddClusterEventHandler added in v1.11.0

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

AddClusterEventHandler indicates an expected call of AddClusterEventHandler.

func (*MockInterfaceMockRecorder) AliveNodes added in v1.11.0

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

AliveNodes indicates an expected call of AliveNodes.

func (*MockInterfaceMockRecorder) SelectNodeForIP added in v1.11.0

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

SelectNodeForIP indicates an expected call of SelectNodeForIP.

func (*MockInterfaceMockRecorder) ShouldSelectIP added in v1.11.0

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

ShouldSelectIP indicates an expected call of ShouldSelectIP.

Jump to

Keyboard shortcuts

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