mock_acl

package
v0.5.0-alpha.7 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

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) HasRecord added in v0.4.0

func (m *MockAclService) HasRecord(arg0 context.Context, arg1, arg2 string) (bool, error)

HasRecord mocks base method.

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) ReadState added in v0.4.0

func (m *MockAclService) ReadState(arg0 context.Context, arg1 string, arg2 func(*list.AclState) error) error

ReadState 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) HasRecord added in v0.4.0

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

HasRecord indicates an expected call of HasRecord.

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) ReadState added in v0.4.0

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

ReadState indicates an expected call of ReadState.

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