mock_aclclient

package
v0.5.20 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 29, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package mock_aclclient is a generated GoMock package.

Index

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

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

Init indicates an expected call of Init.

func (*MockAclJoiningClientMockRecorder) Name

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

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

func (m *MockAclSpaceClient) DeclineRequest(ctx context.Context, identity crypto.PubKey) error

DeclineRequest mocks base method.

func (*MockAclSpaceClient) EXPECT

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

Init indicates an expected call of Init.

func (*MockAclSpaceClientMockRecorder) Name

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL