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 ¶
- type MockFile
- func (m *MockFile) Del(arg0 context.Context, arg1 *file.DelRequest) error
- func (m *MockFile) EXPECT() *MockFileMockRecorder
- func (m *MockFile) Get(arg0 context.Context, arg1 *file.GetFileStu) (io.ReadCloser, error)
- func (m *MockFile) Init(arg0 context.Context, arg1 *file.FileConfig) error
- func (m *MockFile) List(arg0 context.Context, arg1 *file.ListRequest) (*file.ListResp, error)
- func (m *MockFile) Put(arg0 context.Context, arg1 *file.PutFileStu) error
- func (m *MockFile) Stat(arg0 context.Context, arg1 *file.FileMetaRequest) (*file.FileMetaResp, error)
- type MockFileMockRecorder
- func (mr *MockFileMockRecorder) Del(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFileMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFileMockRecorder) Init(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFileMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFileMockRecorder) Put(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFileMockRecorder) Stat(arg0, arg1 interface{}) *gomock.Call
- type MockHelloService
- type MockHelloServiceMockRecorder
- type MockStore
- func (m *MockStore) Delete(arg0 context.Context, arg1 *configstores.DeleteRequest) error
- func (m *MockStore) EXPECT() *MockStoreMockRecorder
- func (m *MockStore) Get(arg0 context.Context, arg1 *configstores.GetRequest) ([]*configstores.ConfigurationItem, error)
- func (m *MockStore) GetDefaultGroup() string
- func (m *MockStore) GetDefaultLabel() string
- func (m *MockStore) Init(config *configstores.StoreConfig) error
- func (m *MockStore) Set(arg0 context.Context, arg1 *configstores.SetRequest) error
- func (m *MockStore) StopSubscribe()
- func (m *MockStore) Subscribe(arg0 *configstores.SubscribeReq, arg1 chan *configstores.SubscribeResp) error
- type MockStoreMockRecorder
- func (mr *MockStoreMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) Init(config interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) Set(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) StopSubscribe() *gomock.Call
- func (mr *MockStoreMockRecorder) Subscribe(arg0, arg1 interface{}) *gomock.Call
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) 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) Stat ¶ added in v0.3.0
func (m *MockFile) Stat(arg0 context.Context, arg1 *file.FileMetaRequest) (*file.FileMetaResp, error)
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 ¶
func (m *MockHelloService) EXPECT() *MockHelloServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockHelloService) Hello ¶
func (m *MockHelloService) Hello(ctx context.Context, arg0 *hello.HelloRequest) (*hello.HelloReponse, error)
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 ¶
func (m *MockStore) Get(arg0 context.Context, arg1 *configstores.GetRequest) ([]*configstores.ConfigurationItem, error)
Get mocks base method.
func (*MockStore) GetDefaultGroup ¶
func (*MockStore) GetDefaultLabel ¶
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. |