Documentation ¶
Overview ¶
Package mock_coordinatorclient is a generated GoMock package.
Index ¶
- type MockCoordinatorClient
- func (m *MockCoordinatorClient) ChangeStatus(arg0 context.Context, arg1 string, ...) (*coordinatorproto.SpaceStatusPayload, error)
- func (m *MockCoordinatorClient) DeletionLog(arg0 context.Context, arg1 string, arg2 int) ([]*coordinatorproto.DeletionLogRecord, error)
- func (m *MockCoordinatorClient) EXPECT() *MockCoordinatorClientMockRecorder
- func (m *MockCoordinatorClient) FileLimitCheck(arg0 context.Context, arg1 string, arg2 []byte) (uint64, error)
- func (m *MockCoordinatorClient) Init(arg0 *app.App) error
- func (m *MockCoordinatorClient) Name() string
- func (m *MockCoordinatorClient) NetworkConfiguration(arg0 context.Context, arg1 string) (*coordinatorproto.NetworkConfigurationResponse, error)
- func (m *MockCoordinatorClient) SpaceSign(arg0 context.Context, arg1 coordinatorclient.SpaceSignPayload) (*coordinatorproto.SpaceReceiptWithSignature, error)
- func (m *MockCoordinatorClient) StatusCheck(arg0 context.Context, arg1 string) (*coordinatorproto.SpaceStatusPayload, error)
- func (m *MockCoordinatorClient) StatusCheckMany(arg0 context.Context, arg1 []string) ([]*coordinatorproto.SpaceStatusPayload, error)
- type MockCoordinatorClientMockRecorder
- func (mr *MockCoordinatorClientMockRecorder) ChangeStatus(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockCoordinatorClientMockRecorder) DeletionLog(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockCoordinatorClientMockRecorder) FileLimitCheck(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockCoordinatorClientMockRecorder) Init(arg0 interface{}) *gomock.Call
- func (mr *MockCoordinatorClientMockRecorder) Name() *gomock.Call
- func (mr *MockCoordinatorClientMockRecorder) NetworkConfiguration(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCoordinatorClientMockRecorder) SpaceSign(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCoordinatorClientMockRecorder) StatusCheck(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCoordinatorClientMockRecorder) StatusCheckMany(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCoordinatorClient ¶
type MockCoordinatorClient struct {
// contains filtered or unexported fields
}
MockCoordinatorClient is a mock of CoordinatorClient interface.
func NewMockCoordinatorClient ¶
func NewMockCoordinatorClient(ctrl *gomock.Controller) *MockCoordinatorClient
NewMockCoordinatorClient creates a new mock instance.
func (*MockCoordinatorClient) ChangeStatus ¶
func (m *MockCoordinatorClient) ChangeStatus(arg0 context.Context, arg1 string, arg2 *coordinatorproto.DeletionConfirmPayloadWithSignature) (*coordinatorproto.SpaceStatusPayload, error)
ChangeStatus mocks base method.
func (*MockCoordinatorClient) DeletionLog ¶ added in v0.3.0
func (m *MockCoordinatorClient) DeletionLog(arg0 context.Context, arg1 string, arg2 int) ([]*coordinatorproto.DeletionLogRecord, error)
DeletionLog mocks base method.
func (*MockCoordinatorClient) EXPECT ¶
func (m *MockCoordinatorClient) EXPECT() *MockCoordinatorClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCoordinatorClient) FileLimitCheck ¶
func (m *MockCoordinatorClient) FileLimitCheck(arg0 context.Context, arg1 string, arg2 []byte) (uint64, error)
FileLimitCheck mocks base method.
func (*MockCoordinatorClient) Init ¶
func (m *MockCoordinatorClient) Init(arg0 *app.App) error
Init mocks base method.
func (*MockCoordinatorClient) Name ¶
func (m *MockCoordinatorClient) Name() string
Name mocks base method.
func (*MockCoordinatorClient) NetworkConfiguration ¶
func (m *MockCoordinatorClient) NetworkConfiguration(arg0 context.Context, arg1 string) (*coordinatorproto.NetworkConfigurationResponse, error)
NetworkConfiguration mocks base method.
func (*MockCoordinatorClient) SpaceSign ¶
func (m *MockCoordinatorClient) SpaceSign(arg0 context.Context, arg1 coordinatorclient.SpaceSignPayload) (*coordinatorproto.SpaceReceiptWithSignature, error)
SpaceSign mocks base method.
func (*MockCoordinatorClient) StatusCheck ¶
func (m *MockCoordinatorClient) StatusCheck(arg0 context.Context, arg1 string) (*coordinatorproto.SpaceStatusPayload, error)
StatusCheck mocks base method.
func (*MockCoordinatorClient) StatusCheckMany ¶ added in v0.3.0
func (m *MockCoordinatorClient) StatusCheckMany(arg0 context.Context, arg1 []string) ([]*coordinatorproto.SpaceStatusPayload, error)
StatusCheckMany mocks base method.
type MockCoordinatorClientMockRecorder ¶
type MockCoordinatorClientMockRecorder struct {
// contains filtered or unexported fields
}
MockCoordinatorClientMockRecorder is the mock recorder for MockCoordinatorClient.
func (*MockCoordinatorClientMockRecorder) ChangeStatus ¶
func (mr *MockCoordinatorClientMockRecorder) ChangeStatus(arg0, arg1, arg2 interface{}) *gomock.Call
ChangeStatus indicates an expected call of ChangeStatus.
func (*MockCoordinatorClientMockRecorder) DeletionLog ¶ added in v0.3.0
func (mr *MockCoordinatorClientMockRecorder) DeletionLog(arg0, arg1, arg2 interface{}) *gomock.Call
DeletionLog indicates an expected call of DeletionLog.
func (*MockCoordinatorClientMockRecorder) FileLimitCheck ¶
func (mr *MockCoordinatorClientMockRecorder) FileLimitCheck(arg0, arg1, arg2 interface{}) *gomock.Call
FileLimitCheck indicates an expected call of FileLimitCheck.
func (*MockCoordinatorClientMockRecorder) Init ¶
func (mr *MockCoordinatorClientMockRecorder) Init(arg0 interface{}) *gomock.Call
Init indicates an expected call of Init.
func (*MockCoordinatorClientMockRecorder) Name ¶
func (mr *MockCoordinatorClientMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
func (*MockCoordinatorClientMockRecorder) NetworkConfiguration ¶
func (mr *MockCoordinatorClientMockRecorder) NetworkConfiguration(arg0, arg1 interface{}) *gomock.Call
NetworkConfiguration indicates an expected call of NetworkConfiguration.
func (*MockCoordinatorClientMockRecorder) SpaceSign ¶
func (mr *MockCoordinatorClientMockRecorder) SpaceSign(arg0, arg1 interface{}) *gomock.Call
SpaceSign indicates an expected call of SpaceSign.
func (*MockCoordinatorClientMockRecorder) StatusCheck ¶
func (mr *MockCoordinatorClientMockRecorder) StatusCheck(arg0, arg1 interface{}) *gomock.Call
StatusCheck indicates an expected call of StatusCheck.
func (*MockCoordinatorClientMockRecorder) StatusCheckMany ¶ added in v0.3.0
func (mr *MockCoordinatorClientMockRecorder) StatusCheckMany(arg0, arg1 interface{}) *gomock.Call
StatusCheckMany indicates an expected call of StatusCheckMany.