Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Index ¶
- type MockConfigMgrAPI
- func (m *MockConfigMgrAPI) Delete(arg0 context.Context, arg1 string) error
- func (m *MockConfigMgrAPI) EXPECT() *MockConfigMgrAPIMockRecorder
- func (m *MockConfigMgrAPI) Get(arg0 context.Context, arg1 string) (string, error)
- func (m *MockConfigMgrAPI) Set(arg0 context.Context, arg1, arg2 string) error
- type MockConfigMgrAPIMockRecorder
- type MockKvMgrAPI
- func (m *MockKvMgrAPI) Delete(arg0 string) error
- func (m *MockKvMgrAPI) EXPECT() *MockKvMgrAPIMockRecorder
- func (m *MockKvMgrAPI) Get(arg0 string) ([]byte, error)
- func (m *MockKvMgrAPI) List(arg0 *clustermgr.ListKvOpts) (*clustermgr.ListKvRet, error)
- func (m *MockKvMgrAPI) Set(arg0 string, arg1 []byte) error
- type MockKvMgrAPIMockRecorder
- type MockScopeMgrAPI
- type MockScopeMgrAPIMockRecorder
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 ¶
func (m *MockConfigMgrAPI) EXPECT() *MockConfigMgrAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
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 ¶
func (m *MockKvMgrAPI) EXPECT() *MockKvMgrAPIMockRecorder
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 ¶
func (m *MockKvMgrAPI) List(arg0 *clustermgr.ListKvOpts) (*clustermgr.ListKvRet, error)
List 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 ¶
func (m *MockScopeMgrAPI) EXPECT() *MockScopeMgrAPIMockRecorder
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.