testing

package
v1.13.1 Latest Latest
Warning

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

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

Documentation

Overview

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 interface{}) *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 interface{}, arg2 ...interface{}) *gomock.Call

SelectNodeForIP indicates an expected call of SelectNodeForIP

func (*MockInterfaceMockRecorder) ShouldSelectIP added in v1.11.0

func (mr *MockInterfaceMockRecorder) ShouldSelectIP(arg0, arg1 interface{}, arg2 ...interface{}) *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