mocks

package
v2.0.4-rc.3 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockSafeSet

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

MockSafeSet is a mock of SafeSet interface.

func NewMockSafeSet

func NewMockSafeSet(ctrl *gomock.Controller) *MockSafeSet

NewMockSafeSet creates a new mock instance.

func (*MockSafeSet) Add

func (m *MockSafeSet) Add(arg0 any) bool

Add mocks base method.

func (*MockSafeSet) Clear

func (m *MockSafeSet) Clear()

Clear mocks base method.

func (*MockSafeSet) Contains

func (m *MockSafeSet) Contains(arg0 ...any) bool

Contains mocks base method.

func (*MockSafeSet) Delete

func (m *MockSafeSet) Delete(arg0 any)

Delete mocks base method.

func (*MockSafeSet) EXPECT

func (m *MockSafeSet) EXPECT() *MockSafeSetMockRecorder

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

func (*MockSafeSet) Len

func (m *MockSafeSet) Len() uint

Len mocks base method.

func (*MockSafeSet) Range

func (m *MockSafeSet) Range(arg0 func(any) bool)

Range mocks base method.

func (*MockSafeSet) Values

func (m *MockSafeSet) Values() []any

Values mocks base method.

type MockSafeSetMockRecorder

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

MockSafeSetMockRecorder is the mock recorder for MockSafeSet.

func (*MockSafeSetMockRecorder) Add

func (mr *MockSafeSetMockRecorder) Add(arg0 interface{}) *gomock.Call

Add indicates an expected call of Add.

func (*MockSafeSetMockRecorder) Clear

func (mr *MockSafeSetMockRecorder) Clear() *gomock.Call

Clear indicates an expected call of Clear.

func (*MockSafeSetMockRecorder) Contains

func (mr *MockSafeSetMockRecorder) Contains(arg0 ...interface{}) *gomock.Call

Contains indicates an expected call of Contains.

func (*MockSafeSetMockRecorder) Delete

func (mr *MockSafeSetMockRecorder) Delete(arg0 interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockSafeSetMockRecorder) Len

func (mr *MockSafeSetMockRecorder) Len() *gomock.Call

Len indicates an expected call of Len.

func (*MockSafeSetMockRecorder) Range

func (mr *MockSafeSetMockRecorder) Range(arg0 interface{}) *gomock.Call

Range indicates an expected call of Range.

func (*MockSafeSetMockRecorder) Values

func (mr *MockSafeSetMockRecorder) Values() *gomock.Call

Values indicates an expected call of Values.

type MockSet

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

MockSet is a mock of Set interface.

func NewMockSet

func NewMockSet(ctrl *gomock.Controller) *MockSet

NewMockSet creates a new mock instance.

func (*MockSet) Add

func (m *MockSet) Add(arg0 any) bool

Add mocks base method.

func (*MockSet) Clear

func (m *MockSet) Clear()

Clear mocks base method.

func (*MockSet) Contains

func (m *MockSet) Contains(arg0 ...any) bool

Contains mocks base method.

func (*MockSet) Delete

func (m *MockSet) Delete(arg0 any)

Delete mocks base method.

func (*MockSet) EXPECT

func (m *MockSet) EXPECT() *MockSetMockRecorder

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

func (*MockSet) Len

func (m *MockSet) Len() uint

Len mocks base method.

func (*MockSet) Range

func (m *MockSet) Range(arg0 func(any) bool)

Range mocks base method.

func (*MockSet) Values

func (m *MockSet) Values() []any

Values mocks base method.

type MockSetMockRecorder

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

MockSetMockRecorder is the mock recorder for MockSet.

func (*MockSetMockRecorder) Add

func (mr *MockSetMockRecorder) Add(arg0 interface{}) *gomock.Call

Add indicates an expected call of Add.

func (*MockSetMockRecorder) Clear

func (mr *MockSetMockRecorder) Clear() *gomock.Call

Clear indicates an expected call of Clear.

func (*MockSetMockRecorder) Contains

func (mr *MockSetMockRecorder) Contains(arg0 ...interface{}) *gomock.Call

Contains indicates an expected call of Contains.

func (*MockSetMockRecorder) Delete

func (mr *MockSetMockRecorder) Delete(arg0 interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockSetMockRecorder) Len

func (mr *MockSetMockRecorder) Len() *gomock.Call

Len indicates an expected call of Len.

func (*MockSetMockRecorder) Range

func (mr *MockSetMockRecorder) Range(arg0 interface{}) *gomock.Call

Range indicates an expected call of Range.

func (*MockSetMockRecorder) Values

func (mr *MockSetMockRecorder) Values() *gomock.Call

Values indicates an expected call of Values.

Jump to

Keyboard shortcuts

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