Documentation ¶
Overview ¶
Package mock_aclclient is a generated GoMock package.
Index ¶
- type MockAclJoiningClient
- func (m *MockAclJoiningClient) AclGetRecords(ctx context.Context, spaceId, aclHead string) ([]*consensusproto.RawRecordWithId, error)
- func (m *MockAclJoiningClient) CancelJoin(ctx context.Context, spaceId string) error
- func (m *MockAclJoiningClient) CancelRemoveSelf(ctx context.Context, spaceId string) error
- func (m *MockAclJoiningClient) EXPECT() *MockAclJoiningClientMockRecorder
- func (m *MockAclJoiningClient) Init(a *app.App) error
- func (m *MockAclJoiningClient) Name() string
- func (m *MockAclJoiningClient) RequestJoin(ctx context.Context, spaceId string, payload list.RequestJoinPayload) (string, error)
- type MockAclJoiningClientMockRecorder
- func (mr *MockAclJoiningClientMockRecorder) AclGetRecords(ctx, spaceId, aclHead any) *gomock.Call
- func (mr *MockAclJoiningClientMockRecorder) CancelJoin(ctx, spaceId any) *gomock.Call
- func (mr *MockAclJoiningClientMockRecorder) CancelRemoveSelf(ctx, spaceId any) *gomock.Call
- func (mr *MockAclJoiningClientMockRecorder) Init(a any) *gomock.Call
- func (mr *MockAclJoiningClientMockRecorder) Name() *gomock.Call
- func (mr *MockAclJoiningClientMockRecorder) RequestJoin(ctx, spaceId, payload any) *gomock.Call
- type MockAclSpaceClient
- func (m *MockAclSpaceClient) AcceptRequest(ctx context.Context, payload list.RequestAcceptPayload) error
- func (m *MockAclSpaceClient) AddAccounts(ctx context.Context, add list.AccountsAddPayload) error
- func (m *MockAclSpaceClient) AddRecord(ctx context.Context, consRec *consensusproto.RawRecord) error
- func (m *MockAclSpaceClient) CancelRequest(ctx context.Context) error
- func (m *MockAclSpaceClient) ChangePermissions(ctx context.Context, permChange list.PermissionChangesPayload) error
- func (m *MockAclSpaceClient) DeclineRequest(ctx context.Context, identity crypto.PubKey) error
- func (m *MockAclSpaceClient) EXPECT() *MockAclSpaceClientMockRecorder
- func (m *MockAclSpaceClient) GenerateInvite() (list.InviteResult, error)
- func (m *MockAclSpaceClient) Init(a *app.App) error
- func (m *MockAclSpaceClient) Name() string
- func (m *MockAclSpaceClient) RemoveAccounts(ctx context.Context, payload list.AccountRemovePayload) error
- func (m *MockAclSpaceClient) RequestSelfRemove(ctx context.Context) error
- func (m *MockAclSpaceClient) RevokeAllInvites(ctx context.Context) error
- func (m *MockAclSpaceClient) RevokeInvite(ctx context.Context, inviteRecordId string) error
- func (m *MockAclSpaceClient) StopSharing(ctx context.Context, readKeyChange list.ReadKeyChangePayload) error
- type MockAclSpaceClientMockRecorder
- func (mr *MockAclSpaceClientMockRecorder) AcceptRequest(ctx, payload any) *gomock.Call
- func (mr *MockAclSpaceClientMockRecorder) AddAccounts(ctx, add any) *gomock.Call
- func (mr *MockAclSpaceClientMockRecorder) AddRecord(ctx, consRec any) *gomock.Call
- func (mr *MockAclSpaceClientMockRecorder) CancelRequest(ctx any) *gomock.Call
- func (mr *MockAclSpaceClientMockRecorder) ChangePermissions(ctx, permChange any) *gomock.Call
- func (mr *MockAclSpaceClientMockRecorder) DeclineRequest(ctx, identity any) *gomock.Call
- func (mr *MockAclSpaceClientMockRecorder) GenerateInvite() *gomock.Call
- func (mr *MockAclSpaceClientMockRecorder) Init(a any) *gomock.Call
- func (mr *MockAclSpaceClientMockRecorder) Name() *gomock.Call
- func (mr *MockAclSpaceClientMockRecorder) RemoveAccounts(ctx, payload any) *gomock.Call
- func (mr *MockAclSpaceClientMockRecorder) RequestSelfRemove(ctx any) *gomock.Call
- func (mr *MockAclSpaceClientMockRecorder) RevokeAllInvites(ctx any) *gomock.Call
- func (mr *MockAclSpaceClientMockRecorder) RevokeInvite(ctx, inviteRecordId any) *gomock.Call
- func (mr *MockAclSpaceClientMockRecorder) StopSharing(ctx, readKeyChange any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAclJoiningClient ¶
type MockAclJoiningClient struct {
// contains filtered or unexported fields
}
MockAclJoiningClient is a mock of AclJoiningClient interface.
func NewMockAclJoiningClient ¶
func NewMockAclJoiningClient(ctrl *gomock.Controller) *MockAclJoiningClient
NewMockAclJoiningClient creates a new mock instance.
func (*MockAclJoiningClient) AclGetRecords ¶
func (m *MockAclJoiningClient) AclGetRecords(ctx context.Context, spaceId, aclHead string) ([]*consensusproto.RawRecordWithId, error)
AclGetRecords mocks base method.
func (*MockAclJoiningClient) CancelJoin ¶
func (m *MockAclJoiningClient) CancelJoin(ctx context.Context, spaceId string) error
CancelJoin mocks base method.
func (*MockAclJoiningClient) CancelRemoveSelf ¶
func (m *MockAclJoiningClient) CancelRemoveSelf(ctx context.Context, spaceId string) error
CancelRemoveSelf mocks base method.
func (*MockAclJoiningClient) EXPECT ¶
func (m *MockAclJoiningClient) EXPECT() *MockAclJoiningClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAclJoiningClient) Init ¶
func (m *MockAclJoiningClient) Init(a *app.App) error
Init mocks base method.
func (*MockAclJoiningClient) Name ¶
func (m *MockAclJoiningClient) Name() string
Name mocks base method.
func (*MockAclJoiningClient) RequestJoin ¶
func (m *MockAclJoiningClient) RequestJoin(ctx context.Context, spaceId string, payload list.RequestJoinPayload) (string, error)
RequestJoin mocks base method.
type MockAclJoiningClientMockRecorder ¶
type MockAclJoiningClientMockRecorder struct {
// contains filtered or unexported fields
}
MockAclJoiningClientMockRecorder is the mock recorder for MockAclJoiningClient.
func (*MockAclJoiningClientMockRecorder) AclGetRecords ¶
func (mr *MockAclJoiningClientMockRecorder) AclGetRecords(ctx, spaceId, aclHead any) *gomock.Call
AclGetRecords indicates an expected call of AclGetRecords.
func (*MockAclJoiningClientMockRecorder) CancelJoin ¶
func (mr *MockAclJoiningClientMockRecorder) CancelJoin(ctx, spaceId any) *gomock.Call
CancelJoin indicates an expected call of CancelJoin.
func (*MockAclJoiningClientMockRecorder) CancelRemoveSelf ¶
func (mr *MockAclJoiningClientMockRecorder) CancelRemoveSelf(ctx, spaceId any) *gomock.Call
CancelRemoveSelf indicates an expected call of CancelRemoveSelf.
func (*MockAclJoiningClientMockRecorder) Init ¶
func (mr *MockAclJoiningClientMockRecorder) Init(a any) *gomock.Call
Init indicates an expected call of Init.
func (*MockAclJoiningClientMockRecorder) Name ¶
func (mr *MockAclJoiningClientMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
func (*MockAclJoiningClientMockRecorder) RequestJoin ¶
func (mr *MockAclJoiningClientMockRecorder) RequestJoin(ctx, spaceId, payload any) *gomock.Call
RequestJoin indicates an expected call of RequestJoin.
type MockAclSpaceClient ¶
type MockAclSpaceClient struct {
// contains filtered or unexported fields
}
MockAclSpaceClient is a mock of AclSpaceClient interface.
func NewMockAclSpaceClient ¶
func NewMockAclSpaceClient(ctrl *gomock.Controller) *MockAclSpaceClient
NewMockAclSpaceClient creates a new mock instance.
func (*MockAclSpaceClient) AcceptRequest ¶
func (m *MockAclSpaceClient) AcceptRequest(ctx context.Context, payload list.RequestAcceptPayload) error
AcceptRequest mocks base method.
func (*MockAclSpaceClient) AddAccounts ¶
func (m *MockAclSpaceClient) AddAccounts(ctx context.Context, add list.AccountsAddPayload) error
AddAccounts mocks base method.
func (*MockAclSpaceClient) AddRecord ¶
func (m *MockAclSpaceClient) AddRecord(ctx context.Context, consRec *consensusproto.RawRecord) error
AddRecord mocks base method.
func (*MockAclSpaceClient) CancelRequest ¶
func (m *MockAclSpaceClient) CancelRequest(ctx context.Context) error
CancelRequest mocks base method.
func (*MockAclSpaceClient) ChangePermissions ¶
func (m *MockAclSpaceClient) ChangePermissions(ctx context.Context, permChange list.PermissionChangesPayload) error
ChangePermissions mocks base method.
func (*MockAclSpaceClient) DeclineRequest ¶
DeclineRequest mocks base method.
func (*MockAclSpaceClient) EXPECT ¶
func (m *MockAclSpaceClient) EXPECT() *MockAclSpaceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAclSpaceClient) GenerateInvite ¶
func (m *MockAclSpaceClient) GenerateInvite() (list.InviteResult, error)
GenerateInvite mocks base method.
func (*MockAclSpaceClient) Init ¶
func (m *MockAclSpaceClient) Init(a *app.App) error
Init mocks base method.
func (*MockAclSpaceClient) Name ¶
func (m *MockAclSpaceClient) Name() string
Name mocks base method.
func (*MockAclSpaceClient) RemoveAccounts ¶
func (m *MockAclSpaceClient) RemoveAccounts(ctx context.Context, payload list.AccountRemovePayload) error
RemoveAccounts mocks base method.
func (*MockAclSpaceClient) RequestSelfRemove ¶
func (m *MockAclSpaceClient) RequestSelfRemove(ctx context.Context) error
RequestSelfRemove mocks base method.
func (*MockAclSpaceClient) RevokeAllInvites ¶
func (m *MockAclSpaceClient) RevokeAllInvites(ctx context.Context) error
RevokeAllInvites mocks base method.
func (*MockAclSpaceClient) RevokeInvite ¶
func (m *MockAclSpaceClient) RevokeInvite(ctx context.Context, inviteRecordId string) error
RevokeInvite mocks base method.
func (*MockAclSpaceClient) StopSharing ¶
func (m *MockAclSpaceClient) StopSharing(ctx context.Context, readKeyChange list.ReadKeyChangePayload) error
StopSharing mocks base method.
type MockAclSpaceClientMockRecorder ¶
type MockAclSpaceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockAclSpaceClientMockRecorder is the mock recorder for MockAclSpaceClient.
func (*MockAclSpaceClientMockRecorder) AcceptRequest ¶
func (mr *MockAclSpaceClientMockRecorder) AcceptRequest(ctx, payload any) *gomock.Call
AcceptRequest indicates an expected call of AcceptRequest.
func (*MockAclSpaceClientMockRecorder) AddAccounts ¶
func (mr *MockAclSpaceClientMockRecorder) AddAccounts(ctx, add any) *gomock.Call
AddAccounts indicates an expected call of AddAccounts.
func (*MockAclSpaceClientMockRecorder) AddRecord ¶
func (mr *MockAclSpaceClientMockRecorder) AddRecord(ctx, consRec any) *gomock.Call
AddRecord indicates an expected call of AddRecord.
func (*MockAclSpaceClientMockRecorder) CancelRequest ¶
func (mr *MockAclSpaceClientMockRecorder) CancelRequest(ctx any) *gomock.Call
CancelRequest indicates an expected call of CancelRequest.
func (*MockAclSpaceClientMockRecorder) ChangePermissions ¶
func (mr *MockAclSpaceClientMockRecorder) ChangePermissions(ctx, permChange any) *gomock.Call
ChangePermissions indicates an expected call of ChangePermissions.
func (*MockAclSpaceClientMockRecorder) DeclineRequest ¶
func (mr *MockAclSpaceClientMockRecorder) DeclineRequest(ctx, identity any) *gomock.Call
DeclineRequest indicates an expected call of DeclineRequest.
func (*MockAclSpaceClientMockRecorder) GenerateInvite ¶
func (mr *MockAclSpaceClientMockRecorder) GenerateInvite() *gomock.Call
GenerateInvite indicates an expected call of GenerateInvite.
func (*MockAclSpaceClientMockRecorder) Init ¶
func (mr *MockAclSpaceClientMockRecorder) Init(a any) *gomock.Call
Init indicates an expected call of Init.
func (*MockAclSpaceClientMockRecorder) Name ¶
func (mr *MockAclSpaceClientMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
func (*MockAclSpaceClientMockRecorder) RemoveAccounts ¶
func (mr *MockAclSpaceClientMockRecorder) RemoveAccounts(ctx, payload any) *gomock.Call
RemoveAccounts indicates an expected call of RemoveAccounts.
func (*MockAclSpaceClientMockRecorder) RequestSelfRemove ¶
func (mr *MockAclSpaceClientMockRecorder) RequestSelfRemove(ctx any) *gomock.Call
RequestSelfRemove indicates an expected call of RequestSelfRemove.
func (*MockAclSpaceClientMockRecorder) RevokeAllInvites ¶
func (mr *MockAclSpaceClientMockRecorder) RevokeAllInvites(ctx any) *gomock.Call
RevokeAllInvites indicates an expected call of RevokeAllInvites.
func (*MockAclSpaceClientMockRecorder) RevokeInvite ¶
func (mr *MockAclSpaceClientMockRecorder) RevokeInvite(ctx, inviteRecordId any) *gomock.Call
RevokeInvite indicates an expected call of RevokeInvite.
func (*MockAclSpaceClientMockRecorder) StopSharing ¶
func (mr *MockAclSpaceClientMockRecorder) StopSharing(ctx, readKeyChange any) *gomock.Call
StopSharing indicates an expected call of StopSharing.