mock_aclclient

package
v0.4.9 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 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(arg0 context.Context, arg1, arg2 string) ([]*consensusproto.RawRecordWithId, error)

AclGetRecords mocks base method.

func (*MockAclJoiningClient) CancelJoin

func (m *MockAclJoiningClient) CancelJoin(arg0 context.Context, arg1 string) error

CancelJoin mocks base method.

func (*MockAclJoiningClient) CancelRemoveSelf

func (m *MockAclJoiningClient) CancelRemoveSelf(arg0 context.Context, arg1 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(arg0 *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(arg0 context.Context, arg1 string, arg2 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(arg0, arg1, arg2 any) *gomock.Call

AclGetRecords indicates an expected call of AclGetRecords.

func (*MockAclJoiningClientMockRecorder) CancelJoin

func (mr *MockAclJoiningClientMockRecorder) CancelJoin(arg0, arg1 any) *gomock.Call

CancelJoin indicates an expected call of CancelJoin.

func (*MockAclJoiningClientMockRecorder) CancelRemoveSelf

func (mr *MockAclJoiningClientMockRecorder) CancelRemoveSelf(arg0, arg1 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(arg0, arg1, arg2 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(arg0 context.Context, arg1 list.RequestAcceptPayload) error

AcceptRequest mocks base method.

func (*MockAclSpaceClient) AddAccounts

func (m *MockAclSpaceClient) AddAccounts(arg0 context.Context, arg1 list.AccountsAddPayload) error

AddAccounts mocks base method.

func (*MockAclSpaceClient) AddRecord

func (m *MockAclSpaceClient) AddRecord(arg0 context.Context, arg1 *consensusproto.RawRecord) error

AddRecord mocks base method.

func (*MockAclSpaceClient) CancelRequest

func (m *MockAclSpaceClient) CancelRequest(arg0 context.Context) error

CancelRequest mocks base method.

func (*MockAclSpaceClient) ChangePermissions

func (m *MockAclSpaceClient) ChangePermissions(arg0 context.Context, arg1 list.PermissionChangesPayload) error

ChangePermissions mocks base method.

func (*MockAclSpaceClient) DeclineRequest

func (m *MockAclSpaceClient) DeclineRequest(arg0 context.Context, arg1 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(arg0 *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(arg0 context.Context, arg1 list.AccountRemovePayload) error

RemoveAccounts mocks base method.

func (*MockAclSpaceClient) RequestSelfRemove

func (m *MockAclSpaceClient) RequestSelfRemove(arg0 context.Context) error

RequestSelfRemove mocks base method.

func (*MockAclSpaceClient) RevokeAllInvites

func (m *MockAclSpaceClient) RevokeAllInvites(arg0 context.Context) error

RevokeAllInvites mocks base method.

func (*MockAclSpaceClient) RevokeInvite

func (m *MockAclSpaceClient) RevokeInvite(arg0 context.Context, arg1 string) error

RevokeInvite mocks base method.

func (*MockAclSpaceClient) StopSharing

func (m *MockAclSpaceClient) StopSharing(arg0 context.Context, arg1 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(arg0, arg1 any) *gomock.Call

AcceptRequest indicates an expected call of AcceptRequest.

func (*MockAclSpaceClientMockRecorder) AddAccounts

func (mr *MockAclSpaceClientMockRecorder) AddAccounts(arg0, arg1 any) *gomock.Call

AddAccounts indicates an expected call of AddAccounts.

func (*MockAclSpaceClientMockRecorder) AddRecord

func (mr *MockAclSpaceClientMockRecorder) AddRecord(arg0, arg1 any) *gomock.Call

AddRecord indicates an expected call of AddRecord.

func (*MockAclSpaceClientMockRecorder) CancelRequest

func (mr *MockAclSpaceClientMockRecorder) CancelRequest(arg0 any) *gomock.Call

CancelRequest indicates an expected call of CancelRequest.

func (*MockAclSpaceClientMockRecorder) ChangePermissions

func (mr *MockAclSpaceClientMockRecorder) ChangePermissions(arg0, arg1 any) *gomock.Call

ChangePermissions indicates an expected call of ChangePermissions.

func (*MockAclSpaceClientMockRecorder) DeclineRequest

func (mr *MockAclSpaceClientMockRecorder) DeclineRequest(arg0, arg1 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(arg0, arg1 any) *gomock.Call

RemoveAccounts indicates an expected call of RemoveAccounts.

func (*MockAclSpaceClientMockRecorder) RequestSelfRemove

func (mr *MockAclSpaceClientMockRecorder) RequestSelfRemove(arg0 any) *gomock.Call

RequestSelfRemove indicates an expected call of RequestSelfRemove.

func (*MockAclSpaceClientMockRecorder) RevokeAllInvites

func (mr *MockAclSpaceClientMockRecorder) RevokeAllInvites(arg0 any) *gomock.Call

RevokeAllInvites indicates an expected call of RevokeAllInvites.

func (*MockAclSpaceClientMockRecorder) RevokeInvite

func (mr *MockAclSpaceClientMockRecorder) RevokeInvite(arg0, arg1 any) *gomock.Call

RevokeInvite indicates an expected call of RevokeInvite.

func (*MockAclSpaceClientMockRecorder) StopSharing

func (mr *MockAclSpaceClientMockRecorder) StopSharing(arg0, arg1 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