Documentation ¶
Overview ¶
Package mock_coordinatorclient is a generated GoMock package.
Index ¶
- type MockCoordinatorClient
- func (m *MockCoordinatorClient) AccountDelete(arg0 context.Context, ...) (int64, error)
- func (m *MockCoordinatorClient) AccountLimitsSet(arg0 context.Context, arg1 *coordinatorproto.AccountLimitsSetRequest) error
- func (m *MockCoordinatorClient) AccountRevertDeletion(arg0 context.Context) error
- func (m *MockCoordinatorClient) AclAddRecord(arg0 context.Context, arg1 string, arg2 *consensusproto.RawRecord) (*consensusproto.RawRecordWithId, error)
- func (m *MockCoordinatorClient) AclGetRecords(arg0 context.Context, arg1, arg2 string) ([]*consensusproto.RawRecordWithId, error)
- func (m *MockCoordinatorClient) DeletionLog(arg0 context.Context, arg1 string, arg2 int) ([]*coordinatorproto.DeletionLogRecord, error)
- func (m *MockCoordinatorClient) EXPECT() *MockCoordinatorClientMockRecorder
- func (m *MockCoordinatorClient) IdentityRepoGet(arg0 context.Context, arg1, arg2 []string) ([]*identityrepoproto.DataWithIdentity, error)
- func (m *MockCoordinatorClient) IdentityRepoPut(arg0 context.Context, arg1 string, arg2 []*identityrepoproto.Data) 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) SpaceDelete(arg0 context.Context, arg1 string, ...) error
- func (m *MockCoordinatorClient) SpaceMakeShareable(arg0 context.Context, arg1 string) error
- func (m *MockCoordinatorClient) SpaceMakeUnshareable(arg0 context.Context, arg1, arg2 string) 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, *coordinatorproto.AccountLimits, error)
- type MockCoordinatorClientMockRecorder
- func (mr *MockCoordinatorClientMockRecorder) AccountDelete(arg0, arg1 any) *gomock.Call
- func (mr *MockCoordinatorClientMockRecorder) AccountLimitsSet(arg0, arg1 any) *gomock.Call
- func (mr *MockCoordinatorClientMockRecorder) AccountRevertDeletion(arg0 any) *gomock.Call
- func (mr *MockCoordinatorClientMockRecorder) AclAddRecord(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockCoordinatorClientMockRecorder) AclGetRecords(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockCoordinatorClientMockRecorder) DeletionLog(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockCoordinatorClientMockRecorder) IdentityRepoGet(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockCoordinatorClientMockRecorder) IdentityRepoPut(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockCoordinatorClientMockRecorder) Init(arg0 any) *gomock.Call
- func (mr *MockCoordinatorClientMockRecorder) Name() *gomock.Call
- func (mr *MockCoordinatorClientMockRecorder) NetworkConfiguration(arg0, arg1 any) *gomock.Call
- func (mr *MockCoordinatorClientMockRecorder) SpaceDelete(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockCoordinatorClientMockRecorder) SpaceMakeShareable(arg0, arg1 any) *gomock.Call
- func (mr *MockCoordinatorClientMockRecorder) SpaceMakeUnshareable(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockCoordinatorClientMockRecorder) SpaceSign(arg0, arg1 any) *gomock.Call
- func (mr *MockCoordinatorClientMockRecorder) StatusCheck(arg0, arg1 any) *gomock.Call
- func (mr *MockCoordinatorClientMockRecorder) StatusCheckMany(arg0, arg1 any) *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) AccountDelete ¶ added in v0.3.5
func (m *MockCoordinatorClient) AccountDelete(arg0 context.Context, arg1 *coordinatorproto.DeletionConfirmPayloadWithSignature) (int64, error)
AccountDelete mocks base method.
func (*MockCoordinatorClient) AccountLimitsSet ¶ added in v0.3.33
func (m *MockCoordinatorClient) AccountLimitsSet(arg0 context.Context, arg1 *coordinatorproto.AccountLimitsSetRequest) error
AccountLimitsSet mocks base method.
func (*MockCoordinatorClient) AccountRevertDeletion ¶ added in v0.3.5
func (m *MockCoordinatorClient) AccountRevertDeletion(arg0 context.Context) error
AccountRevertDeletion mocks base method.
func (*MockCoordinatorClient) AclAddRecord ¶ added in v0.3.22
func (m *MockCoordinatorClient) AclAddRecord(arg0 context.Context, arg1 string, arg2 *consensusproto.RawRecord) (*consensusproto.RawRecordWithId, error)
AclAddRecord mocks base method.
func (*MockCoordinatorClient) AclGetRecords ¶ added in v0.3.22
func (m *MockCoordinatorClient) AclGetRecords(arg0 context.Context, arg1, arg2 string) ([]*consensusproto.RawRecordWithId, error)
AclGetRecords 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) IdentityRepoGet ¶ added in v0.3.18
func (m *MockCoordinatorClient) IdentityRepoGet(arg0 context.Context, arg1, arg2 []string) ([]*identityrepoproto.DataWithIdentity, error)
IdentityRepoGet mocks base method.
func (*MockCoordinatorClient) IdentityRepoPut ¶ added in v0.3.18
func (m *MockCoordinatorClient) IdentityRepoPut(arg0 context.Context, arg1 string, arg2 []*identityrepoproto.Data) error
IdentityRepoPut 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) SpaceDelete ¶ added in v0.3.5
func (m *MockCoordinatorClient) SpaceDelete(arg0 context.Context, arg1 string, arg2 *coordinatorproto.DeletionConfirmPayloadWithSignature) error
SpaceDelete mocks base method.
func (*MockCoordinatorClient) SpaceMakeShareable ¶ added in v0.4.0
func (m *MockCoordinatorClient) SpaceMakeShareable(arg0 context.Context, arg1 string) error
SpaceMakeShareable mocks base method.
func (*MockCoordinatorClient) SpaceMakeUnshareable ¶ added in v0.4.0
func (m *MockCoordinatorClient) SpaceMakeUnshareable(arg0 context.Context, arg1, arg2 string) error
SpaceMakeUnshareable 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, *coordinatorproto.AccountLimits, error)
StatusCheckMany mocks base method.
type MockCoordinatorClientMockRecorder ¶
type MockCoordinatorClientMockRecorder struct {
// contains filtered or unexported fields
}
MockCoordinatorClientMockRecorder is the mock recorder for MockCoordinatorClient.
func (*MockCoordinatorClientMockRecorder) AccountDelete ¶ added in v0.3.5
func (mr *MockCoordinatorClientMockRecorder) AccountDelete(arg0, arg1 any) *gomock.Call
AccountDelete indicates an expected call of AccountDelete.
func (*MockCoordinatorClientMockRecorder) AccountLimitsSet ¶ added in v0.3.33
func (mr *MockCoordinatorClientMockRecorder) AccountLimitsSet(arg0, arg1 any) *gomock.Call
AccountLimitsSet indicates an expected call of AccountLimitsSet.
func (*MockCoordinatorClientMockRecorder) AccountRevertDeletion ¶ added in v0.3.5
func (mr *MockCoordinatorClientMockRecorder) AccountRevertDeletion(arg0 any) *gomock.Call
AccountRevertDeletion indicates an expected call of AccountRevertDeletion.
func (*MockCoordinatorClientMockRecorder) AclAddRecord ¶ added in v0.3.22
func (mr *MockCoordinatorClientMockRecorder) AclAddRecord(arg0, arg1, arg2 any) *gomock.Call
AclAddRecord indicates an expected call of AclAddRecord.
func (*MockCoordinatorClientMockRecorder) AclGetRecords ¶ added in v0.3.22
func (mr *MockCoordinatorClientMockRecorder) AclGetRecords(arg0, arg1, arg2 any) *gomock.Call
AclGetRecords indicates an expected call of AclGetRecords.
func (*MockCoordinatorClientMockRecorder) DeletionLog ¶ added in v0.3.0
func (mr *MockCoordinatorClientMockRecorder) DeletionLog(arg0, arg1, arg2 any) *gomock.Call
DeletionLog indicates an expected call of DeletionLog.
func (*MockCoordinatorClientMockRecorder) IdentityRepoGet ¶ added in v0.3.18
func (mr *MockCoordinatorClientMockRecorder) IdentityRepoGet(arg0, arg1, arg2 any) *gomock.Call
IdentityRepoGet indicates an expected call of IdentityRepoGet.
func (*MockCoordinatorClientMockRecorder) IdentityRepoPut ¶ added in v0.3.18
func (mr *MockCoordinatorClientMockRecorder) IdentityRepoPut(arg0, arg1, arg2 any) *gomock.Call
IdentityRepoPut indicates an expected call of IdentityRepoPut.
func (*MockCoordinatorClientMockRecorder) Init ¶
func (mr *MockCoordinatorClientMockRecorder) Init(arg0 any) *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 any) *gomock.Call
NetworkConfiguration indicates an expected call of NetworkConfiguration.
func (*MockCoordinatorClientMockRecorder) SpaceDelete ¶ added in v0.3.5
func (mr *MockCoordinatorClientMockRecorder) SpaceDelete(arg0, arg1, arg2 any) *gomock.Call
SpaceDelete indicates an expected call of SpaceDelete.
func (*MockCoordinatorClientMockRecorder) SpaceMakeShareable ¶ added in v0.4.0
func (mr *MockCoordinatorClientMockRecorder) SpaceMakeShareable(arg0, arg1 any) *gomock.Call
SpaceMakeShareable indicates an expected call of SpaceMakeShareable.
func (*MockCoordinatorClientMockRecorder) SpaceMakeUnshareable ¶ added in v0.4.0
func (mr *MockCoordinatorClientMockRecorder) SpaceMakeUnshareable(arg0, arg1, arg2 any) *gomock.Call
SpaceMakeUnshareable indicates an expected call of SpaceMakeUnshareable.
func (*MockCoordinatorClientMockRecorder) SpaceSign ¶
func (mr *MockCoordinatorClientMockRecorder) SpaceSign(arg0, arg1 any) *gomock.Call
SpaceSign indicates an expected call of SpaceSign.
func (*MockCoordinatorClientMockRecorder) StatusCheck ¶
func (mr *MockCoordinatorClientMockRecorder) StatusCheck(arg0, arg1 any) *gomock.Call
StatusCheck indicates an expected call of StatusCheck.
func (*MockCoordinatorClientMockRecorder) StatusCheckMany ¶ added in v0.3.0
func (mr *MockCoordinatorClientMockRecorder) StatusCheckMany(arg0, arg1 any) *gomock.Call
StatusCheckMany indicates an expected call of StatusCheckMany.