mock

package
v0.0.0-...-303e327 Latest Latest
Warning

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

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

Documentation

Overview

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockConfigMgrAPI

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

MockConfigMgrAPI is a mock of ConfigMgrAPI interface.

func NewMockConfigMgrAPI

func NewMockConfigMgrAPI(ctrl *gomock.Controller) *MockConfigMgrAPI

NewMockConfigMgrAPI creates a new mock instance.

func (*MockConfigMgrAPI) Delete

func (m *MockConfigMgrAPI) Delete(arg0 context.Context, arg1 string) error

Delete mocks base method.

func (*MockConfigMgrAPI) EXPECT

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

func (*MockConfigMgrAPI) Get

func (m *MockConfigMgrAPI) Get(arg0 context.Context, arg1 string) (string, error)

Get mocks base method.

func (*MockConfigMgrAPI) Set

func (m *MockConfigMgrAPI) Set(arg0 context.Context, arg1, arg2 string) error

Set mocks base method.

type MockConfigMgrAPIMockRecorder

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

MockConfigMgrAPIMockRecorder is the mock recorder for MockConfigMgrAPI.

func (*MockConfigMgrAPIMockRecorder) Delete

func (mr *MockConfigMgrAPIMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockConfigMgrAPIMockRecorder) Get

func (mr *MockConfigMgrAPIMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockConfigMgrAPIMockRecorder) Set

func (mr *MockConfigMgrAPIMockRecorder) Set(arg0, arg1, arg2 interface{}) *gomock.Call

Set indicates an expected call of Set.

type MockKvMgrAPI

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

MockKvMgrAPI is a mock of KvMgrAPI interface.

func NewMockKvMgrAPI

func NewMockKvMgrAPI(ctrl *gomock.Controller) *MockKvMgrAPI

NewMockKvMgrAPI creates a new mock instance.

func (*MockKvMgrAPI) Delete

func (m *MockKvMgrAPI) Delete(arg0 string) error

Delete mocks base method.

func (*MockKvMgrAPI) EXPECT

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

func (*MockKvMgrAPI) Get

func (m *MockKvMgrAPI) Get(arg0 string) ([]byte, error)

Get mocks base method.

func (*MockKvMgrAPI) List

List mocks base method.

func (*MockKvMgrAPI) Set

func (m *MockKvMgrAPI) Set(arg0 string, arg1 []byte) error

Set mocks base method.

type MockKvMgrAPIMockRecorder

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

MockKvMgrAPIMockRecorder is the mock recorder for MockKvMgrAPI.

func (*MockKvMgrAPIMockRecorder) Delete

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

Delete indicates an expected call of Delete.

func (*MockKvMgrAPIMockRecorder) Get

func (mr *MockKvMgrAPIMockRecorder) Get(arg0 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockKvMgrAPIMockRecorder) List

func (mr *MockKvMgrAPIMockRecorder) List(arg0 interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockKvMgrAPIMockRecorder) Set

func (mr *MockKvMgrAPIMockRecorder) Set(arg0, arg1 interface{}) *gomock.Call

Set indicates an expected call of Set.

type MockScopeMgrAPI

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

MockScopeMgrAPI is a mock of ScopeMgrAPI interface.

func NewMockScopeMgrAPI

func NewMockScopeMgrAPI(ctrl *gomock.Controller) *MockScopeMgrAPI

NewMockScopeMgrAPI creates a new mock instance.

func (*MockScopeMgrAPI) Alloc

func (m *MockScopeMgrAPI) Alloc(arg0 context.Context, arg1 string, arg2 int) (uint64, uint64, error)

Alloc mocks base method.

func (*MockScopeMgrAPI) EXPECT

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

func (*MockScopeMgrAPI) GetCurrent

func (m *MockScopeMgrAPI) GetCurrent(arg0 string) uint64

GetCurrent mocks base method.

type MockScopeMgrAPIMockRecorder

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

MockScopeMgrAPIMockRecorder is the mock recorder for MockScopeMgrAPI.

func (*MockScopeMgrAPIMockRecorder) Alloc

func (mr *MockScopeMgrAPIMockRecorder) Alloc(arg0, arg1, arg2 interface{}) *gomock.Call

Alloc indicates an expected call of Alloc.

func (*MockScopeMgrAPIMockRecorder) GetCurrent

func (mr *MockScopeMgrAPIMockRecorder) GetCurrent(arg0 interface{}) *gomock.Call

GetCurrent indicates an expected call of GetCurrent.

Jump to

Keyboard shortcuts

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