mock_acl

package
v0.3.35 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Code generated by MockGen. DO NOT EDIT. Source: github.com/anyproto/any-sync/acl (interfaces: AclService)

Generated by this command:

mockgen -destination mock_acl/mock_acl.go github.com/anyproto/any-sync/acl AclService

Package mock_acl is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAclService

type MockAclService struct {
	// contains filtered or unexported fields
}

MockAclService is a mock of AclService interface.

func NewMockAclService

func NewMockAclService(ctrl *gomock.Controller) *MockAclService

NewMockAclService creates a new mock instance.

func (*MockAclService) AddRecord

AddRecord mocks base method.

func (*MockAclService) Close

func (m *MockAclService) Close(arg0 context.Context) error

Close mocks base method.

func (*MockAclService) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockAclService) Init

func (m *MockAclService) Init(arg0 *app.App) error

Init mocks base method.

func (*MockAclService) Name

func (m *MockAclService) Name() string

Name mocks base method.

func (*MockAclService) OwnerPubKey

func (m *MockAclService) OwnerPubKey(arg0 context.Context, arg1 string) (crypto.PubKey, error)

OwnerPubKey mocks base method.

func (*MockAclService) Permissions

func (m *MockAclService) Permissions(arg0 context.Context, arg1 crypto.PubKey, arg2 string) (list.AclPermissions, error)

Permissions mocks base method.

func (*MockAclService) RecordsAfter

func (m *MockAclService) RecordsAfter(arg0 context.Context, arg1, arg2 string) ([]*consensusproto.RawRecordWithId, error)

RecordsAfter mocks base method.

func (*MockAclService) Run

func (m *MockAclService) Run(arg0 context.Context) error

Run mocks base method.

type MockAclServiceMockRecorder

type MockAclServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockAclServiceMockRecorder is the mock recorder for MockAclService.

func (*MockAclServiceMockRecorder) AddRecord

func (mr *MockAclServiceMockRecorder) AddRecord(arg0, arg1, arg2, arg3 any) *gomock.Call

AddRecord indicates an expected call of AddRecord.

func (*MockAclServiceMockRecorder) Close

func (mr *MockAclServiceMockRecorder) Close(arg0 any) *gomock.Call

Close indicates an expected call of Close.

func (*MockAclServiceMockRecorder) Init

func (mr *MockAclServiceMockRecorder) Init(arg0 any) *gomock.Call

Init indicates an expected call of Init.

func (*MockAclServiceMockRecorder) Name

Name indicates an expected call of Name.

func (*MockAclServiceMockRecorder) OwnerPubKey

func (mr *MockAclServiceMockRecorder) OwnerPubKey(arg0, arg1 any) *gomock.Call

OwnerPubKey indicates an expected call of OwnerPubKey.

func (*MockAclServiceMockRecorder) Permissions

func (mr *MockAclServiceMockRecorder) Permissions(arg0, arg1, arg2 any) *gomock.Call

Permissions indicates an expected call of Permissions.

func (*MockAclServiceMockRecorder) RecordsAfter

func (mr *MockAclServiceMockRecorder) RecordsAfter(arg0, arg1, arg2 any) *gomock.Call

RecordsAfter indicates an expected call of RecordsAfter.

func (*MockAclServiceMockRecorder) Run

func (mr *MockAclServiceMockRecorder) Run(arg0 any) *gomock.Call

Run indicates an expected call of Run.

Jump to

Keyboard shortcuts

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