testing

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2022 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 MockMemberlist

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

MockMemberlist is a mock of Memberlist interface

func NewMockMemberlist

func NewMockMemberlist(ctrl *gomock.Controller) *MockMemberlist

NewMockMemberlist creates a new mock instance

func (*MockMemberlist) EXPECT

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

func (*MockMemberlist) Join

func (m *MockMemberlist) Join(arg0 []string) (int, error)

Join mocks base method

func (*MockMemberlist) Leave

func (m *MockMemberlist) Leave(arg0 time.Duration) error

Leave mocks base method

func (*MockMemberlist) Members

func (m *MockMemberlist) Members() []*memberlist.Node

Members mocks base method

func (*MockMemberlist) Shutdown

func (m *MockMemberlist) Shutdown() error

Shutdown mocks base method

type MockMemberlistMockRecorder

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

MockMemberlistMockRecorder is the mock recorder for MockMemberlist

func (*MockMemberlistMockRecorder) Join

func (mr *MockMemberlistMockRecorder) Join(arg0 interface{}) *gomock.Call

Join indicates an expected call of Join

func (*MockMemberlistMockRecorder) Leave

func (mr *MockMemberlistMockRecorder) Leave(arg0 interface{}) *gomock.Call

Leave indicates an expected call of Leave

func (*MockMemberlistMockRecorder) Members

func (mr *MockMemberlistMockRecorder) Members() *gomock.Call

Members indicates an expected call of Members

func (*MockMemberlistMockRecorder) Shutdown

func (mr *MockMemberlistMockRecorder) Shutdown() *gomock.Call

Shutdown indicates an expected call of Shutdown

Jump to

Keyboard shortcuts

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