Documentation ¶
Overview ¶
Package mock_coordinatorclient is a generated GoMock package.
Index ¶
- type MockCoordinatorClient
- func (m *MockCoordinatorClient) AccountDelete(ctx context.Context, ...) (int64, error)
- func (m *MockCoordinatorClient) AccountLimitsSet(ctx context.Context, req *coordinatorproto.AccountLimitsSetRequest) error
- func (m *MockCoordinatorClient) AccountRevertDeletion(ctx context.Context) error
- func (m *MockCoordinatorClient) AclAddRecord(ctx context.Context, spaceId string, rec *consensusproto.RawRecord) (*consensusproto.RawRecordWithId, error)
- func (m *MockCoordinatorClient) AclEventLog(ctx context.Context, accountId, lastRecordId string, limit int) ([]*coordinatorproto.AclEventLogRecord, error)
- func (m *MockCoordinatorClient) AclGetRecords(ctx context.Context, spaceId, aclHead string) ([]*consensusproto.RawRecordWithId, error)
- func (m *MockCoordinatorClient) DeletionLog(ctx context.Context, lastRecordId string, limit int) ([]*coordinatorproto.DeletionLogRecord, error)
- func (m *MockCoordinatorClient) EXPECT() *MockCoordinatorClientMockRecorder
- func (m *MockCoordinatorClient) IdentityRepoGet(ctx context.Context, identities, kinds []string) ([]*identityrepoproto.DataWithIdentity, error)
- func (m *MockCoordinatorClient) IdentityRepoPut(ctx context.Context, identity string, data []*identityrepoproto.Data) error
- func (m *MockCoordinatorClient) Init(a *app.App) error
- func (m *MockCoordinatorClient) IsNetworkNeedsUpdate(ctx context.Context) (bool, error)
- func (m *MockCoordinatorClient) Name() string
- func (m *MockCoordinatorClient) NetworkConfiguration(ctx context.Context, currentId string) (*coordinatorproto.NetworkConfigurationResponse, error)
- func (m *MockCoordinatorClient) SpaceDelete(ctx context.Context, spaceId string, ...) error
- func (m *MockCoordinatorClient) SpaceMakeShareable(ctx context.Context, spaceId string) error
- func (m *MockCoordinatorClient) SpaceMakeUnshareable(ctx context.Context, spaceId, aclId string) error
- func (m *MockCoordinatorClient) SpaceSign(ctx context.Context, payload coordinatorclient.SpaceSignPayload) (*coordinatorproto.SpaceReceiptWithSignature, error)
- func (m *MockCoordinatorClient) StatusCheck(ctx context.Context, spaceId string) (*coordinatorproto.SpaceStatusPayload, error)
- func (m *MockCoordinatorClient) StatusCheckMany(ctx context.Context, spaceIds []string) ([]*coordinatorproto.SpaceStatusPayload, *coordinatorproto.AccountLimits, error)
- type MockCoordinatorClientMockRecorder
- func (mr *MockCoordinatorClientMockRecorder) AccountDelete(ctx, conf any) *gomock.Call
- func (mr *MockCoordinatorClientMockRecorder) AccountLimitsSet(ctx, req any) *gomock.Call
- func (mr *MockCoordinatorClientMockRecorder) AccountRevertDeletion(ctx any) *gomock.Call
- func (mr *MockCoordinatorClientMockRecorder) AclAddRecord(ctx, spaceId, rec any) *gomock.Call
- func (mr *MockCoordinatorClientMockRecorder) AclEventLog(ctx, accountId, lastRecordId, limit any) *gomock.Call
- func (mr *MockCoordinatorClientMockRecorder) AclGetRecords(ctx, spaceId, aclHead any) *gomock.Call
- func (mr *MockCoordinatorClientMockRecorder) DeletionLog(ctx, lastRecordId, limit any) *gomock.Call
- func (mr *MockCoordinatorClientMockRecorder) IdentityRepoGet(ctx, identities, kinds any) *gomock.Call
- func (mr *MockCoordinatorClientMockRecorder) IdentityRepoPut(ctx, identity, data any) *gomock.Call
- func (mr *MockCoordinatorClientMockRecorder) Init(a any) *gomock.Call
- func (mr *MockCoordinatorClientMockRecorder) IsNetworkNeedsUpdate(ctx any) *gomock.Call
- func (mr *MockCoordinatorClientMockRecorder) Name() *gomock.Call
- func (mr *MockCoordinatorClientMockRecorder) NetworkConfiguration(ctx, currentId any) *gomock.Call
- func (mr *MockCoordinatorClientMockRecorder) SpaceDelete(ctx, spaceId, conf any) *gomock.Call
- func (mr *MockCoordinatorClientMockRecorder) SpaceMakeShareable(ctx, spaceId any) *gomock.Call
- func (mr *MockCoordinatorClientMockRecorder) SpaceMakeUnshareable(ctx, spaceId, aclId any) *gomock.Call
- func (mr *MockCoordinatorClientMockRecorder) SpaceSign(ctx, payload any) *gomock.Call
- func (mr *MockCoordinatorClientMockRecorder) StatusCheck(ctx, spaceId any) *gomock.Call
- func (mr *MockCoordinatorClientMockRecorder) StatusCheckMany(ctx, spaceIds 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(ctx context.Context, conf *coordinatorproto.DeletionConfirmPayloadWithSignature) (int64, error)
AccountDelete mocks base method.
func (*MockCoordinatorClient) AccountLimitsSet ¶ added in v0.3.33
func (m *MockCoordinatorClient) AccountLimitsSet(ctx context.Context, req *coordinatorproto.AccountLimitsSetRequest) error
AccountLimitsSet mocks base method.
func (*MockCoordinatorClient) AccountRevertDeletion ¶ added in v0.3.5
func (m *MockCoordinatorClient) AccountRevertDeletion(ctx context.Context) error
AccountRevertDeletion mocks base method.
func (*MockCoordinatorClient) AclAddRecord ¶ added in v0.3.22
func (m *MockCoordinatorClient) AclAddRecord(ctx context.Context, spaceId string, rec *consensusproto.RawRecord) (*consensusproto.RawRecordWithId, error)
AclAddRecord mocks base method.
func (*MockCoordinatorClient) AclEventLog ¶ added in v0.4.26
func (m *MockCoordinatorClient) AclEventLog(ctx context.Context, accountId, lastRecordId string, limit int) ([]*coordinatorproto.AclEventLogRecord, error)
AclEventLog mocks base method.
func (*MockCoordinatorClient) AclGetRecords ¶ added in v0.3.22
func (m *MockCoordinatorClient) AclGetRecords(ctx context.Context, spaceId, aclHead string) ([]*consensusproto.RawRecordWithId, error)
AclGetRecords mocks base method.
func (*MockCoordinatorClient) DeletionLog ¶ added in v0.3.0
func (m *MockCoordinatorClient) DeletionLog(ctx context.Context, lastRecordId string, limit 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(ctx context.Context, identities, kinds []string) ([]*identityrepoproto.DataWithIdentity, error)
IdentityRepoGet mocks base method.
func (*MockCoordinatorClient) IdentityRepoPut ¶ added in v0.3.18
func (m *MockCoordinatorClient) IdentityRepoPut(ctx context.Context, identity string, data []*identityrepoproto.Data) error
IdentityRepoPut mocks base method.
func (*MockCoordinatorClient) Init ¶
func (m *MockCoordinatorClient) Init(a *app.App) error
Init mocks base method.
func (*MockCoordinatorClient) IsNetworkNeedsUpdate ¶ added in v0.4.28
func (m *MockCoordinatorClient) IsNetworkNeedsUpdate(ctx context.Context) (bool, error)
IsNetworkNeedsUpdate mocks base method.
func (*MockCoordinatorClient) Name ¶
func (m *MockCoordinatorClient) Name() string
Name mocks base method.
func (*MockCoordinatorClient) NetworkConfiguration ¶
func (m *MockCoordinatorClient) NetworkConfiguration(ctx context.Context, currentId string) (*coordinatorproto.NetworkConfigurationResponse, error)
NetworkConfiguration mocks base method.
func (*MockCoordinatorClient) SpaceDelete ¶ added in v0.3.5
func (m *MockCoordinatorClient) SpaceDelete(ctx context.Context, spaceId string, conf *coordinatorproto.DeletionConfirmPayloadWithSignature) error
SpaceDelete mocks base method.
func (*MockCoordinatorClient) SpaceMakeShareable ¶ added in v0.4.0
func (m *MockCoordinatorClient) SpaceMakeShareable(ctx context.Context, spaceId string) error
SpaceMakeShareable mocks base method.
func (*MockCoordinatorClient) SpaceMakeUnshareable ¶ added in v0.4.0
func (m *MockCoordinatorClient) SpaceMakeUnshareable(ctx context.Context, spaceId, aclId string) error
SpaceMakeUnshareable mocks base method.
func (*MockCoordinatorClient) SpaceSign ¶
func (m *MockCoordinatorClient) SpaceSign(ctx context.Context, payload coordinatorclient.SpaceSignPayload) (*coordinatorproto.SpaceReceiptWithSignature, error)
SpaceSign mocks base method.
func (*MockCoordinatorClient) StatusCheck ¶
func (m *MockCoordinatorClient) StatusCheck(ctx context.Context, spaceId string) (*coordinatorproto.SpaceStatusPayload, error)
StatusCheck mocks base method.
func (*MockCoordinatorClient) StatusCheckMany ¶ added in v0.3.0
func (m *MockCoordinatorClient) StatusCheckMany(ctx context.Context, spaceIds []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(ctx, conf any) *gomock.Call
AccountDelete indicates an expected call of AccountDelete.
func (*MockCoordinatorClientMockRecorder) AccountLimitsSet ¶ added in v0.3.33
func (mr *MockCoordinatorClientMockRecorder) AccountLimitsSet(ctx, req any) *gomock.Call
AccountLimitsSet indicates an expected call of AccountLimitsSet.
func (*MockCoordinatorClientMockRecorder) AccountRevertDeletion ¶ added in v0.3.5
func (mr *MockCoordinatorClientMockRecorder) AccountRevertDeletion(ctx any) *gomock.Call
AccountRevertDeletion indicates an expected call of AccountRevertDeletion.
func (*MockCoordinatorClientMockRecorder) AclAddRecord ¶ added in v0.3.22
func (mr *MockCoordinatorClientMockRecorder) AclAddRecord(ctx, spaceId, rec any) *gomock.Call
AclAddRecord indicates an expected call of AclAddRecord.
func (*MockCoordinatorClientMockRecorder) AclEventLog ¶ added in v0.4.26
func (mr *MockCoordinatorClientMockRecorder) AclEventLog(ctx, accountId, lastRecordId, limit any) *gomock.Call
AclEventLog indicates an expected call of AclEventLog.
func (*MockCoordinatorClientMockRecorder) AclGetRecords ¶ added in v0.3.22
func (mr *MockCoordinatorClientMockRecorder) AclGetRecords(ctx, spaceId, aclHead any) *gomock.Call
AclGetRecords indicates an expected call of AclGetRecords.
func (*MockCoordinatorClientMockRecorder) DeletionLog ¶ added in v0.3.0
func (mr *MockCoordinatorClientMockRecorder) DeletionLog(ctx, lastRecordId, limit any) *gomock.Call
DeletionLog indicates an expected call of DeletionLog.
func (*MockCoordinatorClientMockRecorder) IdentityRepoGet ¶ added in v0.3.18
func (mr *MockCoordinatorClientMockRecorder) IdentityRepoGet(ctx, identities, kinds any) *gomock.Call
IdentityRepoGet indicates an expected call of IdentityRepoGet.
func (*MockCoordinatorClientMockRecorder) IdentityRepoPut ¶ added in v0.3.18
func (mr *MockCoordinatorClientMockRecorder) IdentityRepoPut(ctx, identity, data any) *gomock.Call
IdentityRepoPut indicates an expected call of IdentityRepoPut.
func (*MockCoordinatorClientMockRecorder) Init ¶
func (mr *MockCoordinatorClientMockRecorder) Init(a any) *gomock.Call
Init indicates an expected call of Init.
func (*MockCoordinatorClientMockRecorder) IsNetworkNeedsUpdate ¶ added in v0.4.28
func (mr *MockCoordinatorClientMockRecorder) IsNetworkNeedsUpdate(ctx any) *gomock.Call
IsNetworkNeedsUpdate indicates an expected call of IsNetworkNeedsUpdate.
func (*MockCoordinatorClientMockRecorder) Name ¶
func (mr *MockCoordinatorClientMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
func (*MockCoordinatorClientMockRecorder) NetworkConfiguration ¶
func (mr *MockCoordinatorClientMockRecorder) NetworkConfiguration(ctx, currentId any) *gomock.Call
NetworkConfiguration indicates an expected call of NetworkConfiguration.
func (*MockCoordinatorClientMockRecorder) SpaceDelete ¶ added in v0.3.5
func (mr *MockCoordinatorClientMockRecorder) SpaceDelete(ctx, spaceId, conf any) *gomock.Call
SpaceDelete indicates an expected call of SpaceDelete.
func (*MockCoordinatorClientMockRecorder) SpaceMakeShareable ¶ added in v0.4.0
func (mr *MockCoordinatorClientMockRecorder) SpaceMakeShareable(ctx, spaceId any) *gomock.Call
SpaceMakeShareable indicates an expected call of SpaceMakeShareable.
func (*MockCoordinatorClientMockRecorder) SpaceMakeUnshareable ¶ added in v0.4.0
func (mr *MockCoordinatorClientMockRecorder) SpaceMakeUnshareable(ctx, spaceId, aclId any) *gomock.Call
SpaceMakeUnshareable indicates an expected call of SpaceMakeUnshareable.
func (*MockCoordinatorClientMockRecorder) SpaceSign ¶
func (mr *MockCoordinatorClientMockRecorder) SpaceSign(ctx, payload any) *gomock.Call
SpaceSign indicates an expected call of SpaceSign.
func (*MockCoordinatorClientMockRecorder) StatusCheck ¶
func (mr *MockCoordinatorClientMockRecorder) StatusCheck(ctx, spaceId any) *gomock.Call
StatusCheck indicates an expected call of StatusCheck.
func (*MockCoordinatorClientMockRecorder) StatusCheckMany ¶ added in v0.3.0
func (mr *MockCoordinatorClientMockRecorder) StatusCheckMany(ctx, spaceIds any) *gomock.Call
StatusCheckMany indicates an expected call of StatusCheckMany.