Documentation ¶
Overview ¶
Code generated by MockGen. DO NOT EDIT. Source: github.com/anyproto/any-sync/commonspace/object/acl/list (interfaces: AclList)
Generated by this command:
mockgen -destination mock_list/mock_list.go github.com/anyproto/any-sync/commonspace/object/acl/list AclList
Package mock_list is a generated GoMock package.
Index ¶
- type MockAclList
- func (m *MockAclList) AclState() *list.AclState
- func (m *MockAclList) AddRawRecord(arg0 *consensusproto.RawRecordWithId) error
- func (m *MockAclList) AddRawRecords(arg0 []*consensusproto.RawRecordWithId) error
- func (m *MockAclList) Close(arg0 context.Context) error
- func (m *MockAclList) EXPECT() *MockAclListMockRecorder
- func (m *MockAclList) Get(arg0 string) (*list.AclRecord, error)
- func (m *MockAclList) GetIndex(arg0 int) (*list.AclRecord, error)
- func (m *MockAclList) HasHead(arg0 string) bool
- func (m *MockAclList) Head() *list.AclRecord
- func (m *MockAclList) Id() string
- func (m *MockAclList) IsAfter(arg0, arg1 string) (bool, error)
- func (m *MockAclList) Iterate(arg0 func(*list.AclRecord) bool)
- func (m *MockAclList) IterateFrom(arg0 string, arg1 func(*list.AclRecord) bool)
- func (m *MockAclList) KeyStorage() crypto.KeyStorage
- func (m *MockAclList) Lock()
- func (m *MockAclList) RLock()
- func (m *MockAclList) RUnlock()
- func (m *MockAclList) RecordBuilder() list.AclRecordBuilder
- func (m *MockAclList) Records() []*list.AclRecord
- func (m *MockAclList) RecordsAfter(arg0 context.Context, arg1 string) ([]*consensusproto.RawRecordWithId, error)
- func (m *MockAclList) RecordsBefore(arg0 context.Context, arg1 string) ([]*consensusproto.RawRecordWithId, error)
- func (m *MockAclList) Root() *consensusproto.RawRecordWithId
- func (m *MockAclList) Unlock()
- func (m *MockAclList) ValidateRawRecord(arg0 *consensusproto.RawRecord) error
- type MockAclListMockRecorder
- func (mr *MockAclListMockRecorder) AclState() *gomock.Call
- func (mr *MockAclListMockRecorder) AddRawRecord(arg0 any) *gomock.Call
- func (mr *MockAclListMockRecorder) AddRawRecords(arg0 any) *gomock.Call
- func (mr *MockAclListMockRecorder) Close(arg0 any) *gomock.Call
- func (mr *MockAclListMockRecorder) Get(arg0 any) *gomock.Call
- func (mr *MockAclListMockRecorder) GetIndex(arg0 any) *gomock.Call
- func (mr *MockAclListMockRecorder) HasHead(arg0 any) *gomock.Call
- func (mr *MockAclListMockRecorder) Head() *gomock.Call
- func (mr *MockAclListMockRecorder) Id() *gomock.Call
- func (mr *MockAclListMockRecorder) IsAfter(arg0, arg1 any) *gomock.Call
- func (mr *MockAclListMockRecorder) Iterate(arg0 any) *gomock.Call
- func (mr *MockAclListMockRecorder) IterateFrom(arg0, arg1 any) *gomock.Call
- func (mr *MockAclListMockRecorder) KeyStorage() *gomock.Call
- func (mr *MockAclListMockRecorder) Lock() *gomock.Call
- func (mr *MockAclListMockRecorder) RLock() *gomock.Call
- func (mr *MockAclListMockRecorder) RUnlock() *gomock.Call
- func (mr *MockAclListMockRecorder) RecordBuilder() *gomock.Call
- func (mr *MockAclListMockRecorder) Records() *gomock.Call
- func (mr *MockAclListMockRecorder) RecordsAfter(arg0, arg1 any) *gomock.Call
- func (mr *MockAclListMockRecorder) RecordsBefore(arg0, arg1 any) *gomock.Call
- func (mr *MockAclListMockRecorder) Root() *gomock.Call
- func (mr *MockAclListMockRecorder) Unlock() *gomock.Call
- func (mr *MockAclListMockRecorder) ValidateRawRecord(arg0 any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAclList ¶
type MockAclList struct {
// contains filtered or unexported fields
}
MockAclList is a mock of AclList interface.
func NewMockAclList ¶
func NewMockAclList(ctrl *gomock.Controller) *MockAclList
NewMockAclList creates a new mock instance.
func (*MockAclList) AclState ¶
func (m *MockAclList) AclState() *list.AclState
AclState mocks base method.
func (*MockAclList) AddRawRecord ¶
func (m *MockAclList) AddRawRecord(arg0 *consensusproto.RawRecordWithId) error
AddRawRecord mocks base method.
func (*MockAclList) AddRawRecords ¶ added in v0.2.15
func (m *MockAclList) AddRawRecords(arg0 []*consensusproto.RawRecordWithId) error
AddRawRecords mocks base method.
func (*MockAclList) Close ¶
func (m *MockAclList) Close(arg0 context.Context) error
Close mocks base method.
func (*MockAclList) EXPECT ¶
func (m *MockAclList) EXPECT() *MockAclListMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAclList) Get ¶
func (m *MockAclList) Get(arg0 string) (*list.AclRecord, error)
Get mocks base method.
func (*MockAclList) GetIndex ¶ added in v0.2.11
func (m *MockAclList) GetIndex(arg0 int) (*list.AclRecord, error)
GetIndex mocks base method.
func (*MockAclList) HasHead ¶ added in v0.2.15
func (m *MockAclList) HasHead(arg0 string) bool
HasHead mocks base method.
func (*MockAclList) IsAfter ¶
func (m *MockAclList) IsAfter(arg0, arg1 string) (bool, error)
IsAfter mocks base method.
func (*MockAclList) Iterate ¶
func (m *MockAclList) Iterate(arg0 func(*list.AclRecord) bool)
Iterate mocks base method.
func (*MockAclList) IterateFrom ¶
func (m *MockAclList) IterateFrom(arg0 string, arg1 func(*list.AclRecord) bool)
IterateFrom mocks base method.
func (*MockAclList) KeyStorage ¶
func (m *MockAclList) KeyStorage() crypto.KeyStorage
KeyStorage mocks base method.
func (*MockAclList) RecordBuilder ¶ added in v0.2.11
func (m *MockAclList) RecordBuilder() list.AclRecordBuilder
RecordBuilder mocks base method.
func (*MockAclList) Records ¶
func (m *MockAclList) Records() []*list.AclRecord
Records mocks base method.
func (*MockAclList) RecordsAfter ¶ added in v0.2.15
func (m *MockAclList) RecordsAfter(arg0 context.Context, arg1 string) ([]*consensusproto.RawRecordWithId, error)
RecordsAfter mocks base method.
func (*MockAclList) RecordsBefore ¶ added in v0.2.15
func (m *MockAclList) RecordsBefore(arg0 context.Context, arg1 string) ([]*consensusproto.RawRecordWithId, error)
RecordsBefore mocks base method.
func (*MockAclList) Root ¶
func (m *MockAclList) Root() *consensusproto.RawRecordWithId
Root mocks base method.
func (*MockAclList) ValidateRawRecord ¶ added in v0.2.11
func (m *MockAclList) ValidateRawRecord(arg0 *consensusproto.RawRecord) error
ValidateRawRecord mocks base method.
type MockAclListMockRecorder ¶
type MockAclListMockRecorder struct {
// contains filtered or unexported fields
}
MockAclListMockRecorder is the mock recorder for MockAclList.
func (*MockAclListMockRecorder) AclState ¶
func (mr *MockAclListMockRecorder) AclState() *gomock.Call
AclState indicates an expected call of AclState.
func (*MockAclListMockRecorder) AddRawRecord ¶
func (mr *MockAclListMockRecorder) AddRawRecord(arg0 any) *gomock.Call
AddRawRecord indicates an expected call of AddRawRecord.
func (*MockAclListMockRecorder) AddRawRecords ¶ added in v0.2.15
func (mr *MockAclListMockRecorder) AddRawRecords(arg0 any) *gomock.Call
AddRawRecords indicates an expected call of AddRawRecords.
func (*MockAclListMockRecorder) Close ¶
func (mr *MockAclListMockRecorder) Close(arg0 any) *gomock.Call
Close indicates an expected call of Close.
func (*MockAclListMockRecorder) Get ¶
func (mr *MockAclListMockRecorder) Get(arg0 any) *gomock.Call
Get indicates an expected call of Get.
func (*MockAclListMockRecorder) GetIndex ¶ added in v0.2.11
func (mr *MockAclListMockRecorder) GetIndex(arg0 any) *gomock.Call
GetIndex indicates an expected call of GetIndex.
func (*MockAclListMockRecorder) HasHead ¶ added in v0.2.15
func (mr *MockAclListMockRecorder) HasHead(arg0 any) *gomock.Call
HasHead indicates an expected call of HasHead.
func (*MockAclListMockRecorder) Head ¶
func (mr *MockAclListMockRecorder) Head() *gomock.Call
Head indicates an expected call of Head.
func (*MockAclListMockRecorder) Id ¶
func (mr *MockAclListMockRecorder) Id() *gomock.Call
Id indicates an expected call of Id.
func (*MockAclListMockRecorder) IsAfter ¶
func (mr *MockAclListMockRecorder) IsAfter(arg0, arg1 any) *gomock.Call
IsAfter indicates an expected call of IsAfter.
func (*MockAclListMockRecorder) Iterate ¶
func (mr *MockAclListMockRecorder) Iterate(arg0 any) *gomock.Call
Iterate indicates an expected call of Iterate.
func (*MockAclListMockRecorder) IterateFrom ¶
func (mr *MockAclListMockRecorder) IterateFrom(arg0, arg1 any) *gomock.Call
IterateFrom indicates an expected call of IterateFrom.
func (*MockAclListMockRecorder) KeyStorage ¶
func (mr *MockAclListMockRecorder) KeyStorage() *gomock.Call
KeyStorage indicates an expected call of KeyStorage.
func (*MockAclListMockRecorder) Lock ¶
func (mr *MockAclListMockRecorder) Lock() *gomock.Call
Lock indicates an expected call of Lock.
func (*MockAclListMockRecorder) RLock ¶
func (mr *MockAclListMockRecorder) RLock() *gomock.Call
RLock indicates an expected call of RLock.
func (*MockAclListMockRecorder) RUnlock ¶
func (mr *MockAclListMockRecorder) RUnlock() *gomock.Call
RUnlock indicates an expected call of RUnlock.
func (*MockAclListMockRecorder) RecordBuilder ¶ added in v0.2.11
func (mr *MockAclListMockRecorder) RecordBuilder() *gomock.Call
RecordBuilder indicates an expected call of RecordBuilder.
func (*MockAclListMockRecorder) Records ¶
func (mr *MockAclListMockRecorder) Records() *gomock.Call
Records indicates an expected call of Records.
func (*MockAclListMockRecorder) RecordsAfter ¶ added in v0.2.15
func (mr *MockAclListMockRecorder) RecordsAfter(arg0, arg1 any) *gomock.Call
RecordsAfter indicates an expected call of RecordsAfter.
func (*MockAclListMockRecorder) RecordsBefore ¶ added in v0.2.15
func (mr *MockAclListMockRecorder) RecordsBefore(arg0, arg1 any) *gomock.Call
RecordsBefore indicates an expected call of RecordsBefore.
func (*MockAclListMockRecorder) Root ¶
func (mr *MockAclListMockRecorder) Root() *gomock.Call
Root indicates an expected call of Root.
func (*MockAclListMockRecorder) Unlock ¶
func (mr *MockAclListMockRecorder) Unlock() *gomock.Call
Unlock indicates an expected call of Unlock.
func (*MockAclListMockRecorder) ValidateRawRecord ¶ added in v0.2.11
func (mr *MockAclListMockRecorder) ValidateRawRecord(arg0 any) *gomock.Call
ValidateRawRecord indicates an expected call of ValidateRawRecord.