mock

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package mock_configstores is a generated GoMock package.

Package mock_file 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 MockFile added in v0.2.0

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

MockFile is a mock of File interface.

func NewMockFile added in v0.2.0

func NewMockFile(ctrl *gomock.Controller) *MockFile

NewMockFile creates a new mock instance.

func (*MockFile) Del added in v0.2.0

func (m *MockFile) Del(arg0 context.Context, arg1 *file.DelRequest) error

Del mocks base method.

func (*MockFile) EXPECT added in v0.2.0

func (m *MockFile) EXPECT() *MockFileMockRecorder

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

func (*MockFile) Get added in v0.2.0

func (m *MockFile) Get(arg0 context.Context, arg1 *file.GetFileStu) (io.ReadCloser, error)

Get mocks base method.

func (*MockFile) Init added in v0.2.0

func (m *MockFile) Init(arg0 context.Context, arg1 *file.FileConfig) error

Init mocks base method.

func (*MockFile) List added in v0.2.0

func (m *MockFile) List(arg0 context.Context, arg1 *file.ListRequest) (*file.ListResp, error)

List mocks base method.

func (*MockFile) Put added in v0.2.0

func (m *MockFile) Put(arg0 context.Context, arg1 *file.PutFileStu) error

Put mocks base method.

func (*MockFile) Stat added in v0.3.0

Stat mocks base method.

type MockFileMockRecorder added in v0.2.0

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

MockFileMockRecorder is the mock recorder for MockFile.

func (*MockFileMockRecorder) Del added in v0.2.0

func (mr *MockFileMockRecorder) Del(arg0, arg1 interface{}) *gomock.Call

Del indicates an expected call of Del.

func (*MockFileMockRecorder) Get added in v0.2.0

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

Get indicates an expected call of Get.

func (*MockFileMockRecorder) Init added in v0.2.0

func (mr *MockFileMockRecorder) Init(arg0, arg1 interface{}) *gomock.Call

Init indicates an expected call of Init.

func (*MockFileMockRecorder) List added in v0.2.0

func (mr *MockFileMockRecorder) List(arg0, arg1 interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockFileMockRecorder) Put added in v0.2.0

func (mr *MockFileMockRecorder) Put(arg0, arg1 interface{}) *gomock.Call

Put indicates an expected call of Put.

func (*MockFileMockRecorder) Stat added in v0.3.0

func (mr *MockFileMockRecorder) Stat(arg0, arg1 interface{}) *gomock.Call

Stat indicates an expected call of Stat.

type MockHelloService

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

MockHelloService is a mock of HelloService interface.

func NewMockHelloService

func NewMockHelloService(ctrl *gomock.Controller) *MockHelloService

NewMockHelloService creates a new mock instance.

func (*MockHelloService) EXPECT

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

func (*MockHelloService) Hello

Hello mocks base method.

func (*MockHelloService) Init

func (m *MockHelloService) Init(arg0 *hello.HelloConfig) error

Init mocks base method.

type MockHelloServiceMockRecorder

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

MockHelloServiceMockRecorder is the mock recorder for MockHelloService.

func (*MockHelloServiceMockRecorder) Hello

func (mr *MockHelloServiceMockRecorder) Hello(arg0 interface{}) *gomock.Call

Hello indicates an expected call of Hello.

func (*MockHelloServiceMockRecorder) Init

func (mr *MockHelloServiceMockRecorder) Init(arg0 interface{}) *gomock.Call

Init indicates an expected call of Init.

type MockStore

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

MockStore is a mock of Store interface.

func NewMockStore

func NewMockStore(ctrl *gomock.Controller) *MockStore

NewMockStore creates a new mock instance.

func (*MockStore) Delete

func (m *MockStore) Delete(arg0 context.Context, arg1 *configstores.DeleteRequest) error

Delete mocks base method.

func (*MockStore) EXPECT

func (m *MockStore) EXPECT() *MockStoreMockRecorder

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

func (*MockStore) Get

Get mocks base method.

func (*MockStore) GetDefaultGroup

func (m *MockStore) GetDefaultGroup() string

func (*MockStore) GetDefaultLabel

func (m *MockStore) GetDefaultLabel() string

func (*MockStore) Init

func (m *MockStore) Init(config *configstores.StoreConfig) error

Init mocks base method.

func (*MockStore) Set

func (m *MockStore) Set(arg0 context.Context, arg1 *configstores.SetRequest) error

Set mocks base method.

func (*MockStore) StopSubscribe

func (m *MockStore) StopSubscribe()

StopSubscribe mocks base method.

func (*MockStore) Subscribe

func (m *MockStore) Subscribe(arg0 *configstores.SubscribeReq, arg1 chan *configstores.SubscribeResp) error

Subscribe mocks base method.

type MockStoreMockRecorder

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

MockStoreMockRecorder is the mock recorder for MockStore.

func (*MockStoreMockRecorder) Delete

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

Delete indicates an expected call of Delete.

func (*MockStoreMockRecorder) Get

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

Get indicates an expected call of Get.

func (*MockStoreMockRecorder) Init

func (mr *MockStoreMockRecorder) Init(config interface{}) *gomock.Call

Init indicates an expected call of Init.

func (*MockStoreMockRecorder) Set

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

Set indicates an expected call of Set.

func (*MockStoreMockRecorder) StopSubscribe

func (mr *MockStoreMockRecorder) StopSubscribe() *gomock.Call

StopSubscribe indicates an expected call of StopSubscribe.

func (*MockStoreMockRecorder) Subscribe

func (mr *MockStoreMockRecorder) Subscribe(arg0, arg1 interface{}) *gomock.Call

Subscribe indicates an expected call of Subscribe.

Directories

Path Synopsis
components
invoker
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
lock
Package mock_lock is a generated GoMock package.
Package mock_lock is a generated GoMock package.
oss
Package mock_oss is a generated GoMock package.
Package mock_oss is a generated GoMock package.
pubsub
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
sequencer
Package mock_sequencer is a generated GoMock package.
Package mock_sequencer is a generated GoMock package.
state
Package mock_state is a generated GoMock package.
Package mock_state is a generated GoMock package.
Package mock_runtime is a generated GoMock package.
Package mock_runtime is a generated GoMock package.
appcallback
Package mock_appcallback is a generated GoMock package.
Package mock_appcallback is a generated GoMock package.
oss
Package mock_s3 is a generated GoMock package.
Package mock_s3 is a generated GoMock package.

Jump to

Keyboard shortcuts

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