Documentation ¶
Overview ¶
Package mock_syncacl is a generated GoMock package.
Index ¶
- type MockAclSyncProtocol
- func (m *MockAclSyncProtocol) EXPECT() *MockAclSyncProtocolMockRecorder
- func (m *MockAclSyncProtocol) FullSyncRequest(arg0 context.Context, arg1 string, arg2 *consensusproto.LogFullSyncRequest) (*consensusproto.LogSyncMessage, error)
- func (m *MockAclSyncProtocol) FullSyncResponse(arg0 context.Context, arg1 string, arg2 *consensusproto.LogFullSyncResponse) error
- func (m *MockAclSyncProtocol) HeadUpdate(arg0 context.Context, arg1 string, arg2 *consensusproto.LogHeadUpdate) (*consensusproto.LogSyncMessage, error)
- type MockAclSyncProtocolMockRecorder
- type MockRequestFactory
- func (m *MockRequestFactory) CreateEmptyFullSyncRequest(arg0 list.AclList) *consensusproto.LogSyncMessage
- func (m *MockRequestFactory) CreateFullSyncRequest(arg0 list.AclList, arg1 string) (*consensusproto.LogSyncMessage, error)
- func (m *MockRequestFactory) CreateFullSyncResponse(arg0 list.AclList, arg1 string) (*consensusproto.LogSyncMessage, error)
- func (m *MockRequestFactory) CreateHeadUpdate(arg0 list.AclList, arg1 []*consensusproto.RawRecordWithId) *consensusproto.LogSyncMessage
- func (m *MockRequestFactory) EXPECT() *MockRequestFactoryMockRecorder
- type MockRequestFactoryMockRecorder
- func (mr *MockRequestFactoryMockRecorder) CreateEmptyFullSyncRequest(arg0 any) *gomock.Call
- func (mr *MockRequestFactoryMockRecorder) CreateFullSyncRequest(arg0, arg1 any) *gomock.Call
- func (mr *MockRequestFactoryMockRecorder) CreateFullSyncResponse(arg0, arg1 any) *gomock.Call
- func (mr *MockRequestFactoryMockRecorder) CreateHeadUpdate(arg0, arg1 any) *gomock.Call
- type MockSyncAcl
- func (m *MockSyncAcl) AclState() *list.AclState
- func (m *MockSyncAcl) AddRawRecord(arg0 *consensusproto.RawRecordWithId) error
- func (m *MockSyncAcl) AddRawRecords(arg0 []*consensusproto.RawRecordWithId) error
- func (m *MockSyncAcl) Close(arg0 context.Context) error
- func (m *MockSyncAcl) EXPECT() *MockSyncAclMockRecorder
- func (m *MockSyncAcl) Get(arg0 string) (*list.AclRecord, error)
- func (m *MockSyncAcl) GetIndex(arg0 int) (*list.AclRecord, error)
- func (m *MockSyncAcl) HandleMessage(arg0 context.Context, arg1 string, arg2 uint32, ...) error
- func (m *MockSyncAcl) HandleRequest(arg0 context.Context, arg1 string, arg2 *spacesyncproto.ObjectSyncMessage) (*spacesyncproto.ObjectSyncMessage, error)
- func (m *MockSyncAcl) HasHead(arg0 string) bool
- func (m *MockSyncAcl) Head() *list.AclRecord
- func (m *MockSyncAcl) Id() string
- func (m *MockSyncAcl) Init(arg0 *app.App) error
- func (m *MockSyncAcl) IsAfter(arg0, arg1 string) (bool, error)
- func (m *MockSyncAcl) Iterate(arg0 func(*list.AclRecord) bool)
- func (m *MockSyncAcl) IterateFrom(arg0 string, arg1 func(*list.AclRecord) bool)
- func (m *MockSyncAcl) KeyStorage() crypto.KeyStorage
- func (m *MockSyncAcl) Lock()
- func (m *MockSyncAcl) Name() string
- func (m *MockSyncAcl) RLock()
- func (m *MockSyncAcl) RUnlock()
- func (m *MockSyncAcl) RecordBuilder() list.AclRecordBuilder
- func (m *MockSyncAcl) Records() []*list.AclRecord
- func (m *MockSyncAcl) RecordsAfter(arg0 context.Context, arg1 string) ([]*consensusproto.RawRecordWithId, error)
- func (m *MockSyncAcl) RecordsBefore(arg0 context.Context, arg1 string) ([]*consensusproto.RawRecordWithId, error)
- func (m *MockSyncAcl) Root() *consensusproto.RawRecordWithId
- func (m *MockSyncAcl) Run(arg0 context.Context) error
- func (m *MockSyncAcl) SetAclUpdater(arg0 headupdater.AclUpdater)
- func (m *MockSyncAcl) SetHeadUpdater(arg0 headupdater.HeadUpdater)
- func (m *MockSyncAcl) SyncWithPeer(arg0 context.Context, arg1 peer.Peer) error
- func (m *MockSyncAcl) Unlock()
- func (m *MockSyncAcl) ValidateRawRecord(arg0 *consensusproto.RawRecord, arg1 func(*list.AclState) error) error
- type MockSyncAclMockRecorder
- func (mr *MockSyncAclMockRecorder) AclState() *gomock.Call
- func (mr *MockSyncAclMockRecorder) AddRawRecord(arg0 any) *gomock.Call
- func (mr *MockSyncAclMockRecorder) AddRawRecords(arg0 any) *gomock.Call
- func (mr *MockSyncAclMockRecorder) Close(arg0 any) *gomock.Call
- func (mr *MockSyncAclMockRecorder) Get(arg0 any) *gomock.Call
- func (mr *MockSyncAclMockRecorder) GetIndex(arg0 any) *gomock.Call
- func (mr *MockSyncAclMockRecorder) HandleMessage(arg0, arg1, arg2, arg3 any) *gomock.Call
- func (mr *MockSyncAclMockRecorder) HandleRequest(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockSyncAclMockRecorder) HasHead(arg0 any) *gomock.Call
- func (mr *MockSyncAclMockRecorder) Head() *gomock.Call
- func (mr *MockSyncAclMockRecorder) Id() *gomock.Call
- func (mr *MockSyncAclMockRecorder) Init(arg0 any) *gomock.Call
- func (mr *MockSyncAclMockRecorder) IsAfter(arg0, arg1 any) *gomock.Call
- func (mr *MockSyncAclMockRecorder) Iterate(arg0 any) *gomock.Call
- func (mr *MockSyncAclMockRecorder) IterateFrom(arg0, arg1 any) *gomock.Call
- func (mr *MockSyncAclMockRecorder) KeyStorage() *gomock.Call
- func (mr *MockSyncAclMockRecorder) Lock() *gomock.Call
- func (mr *MockSyncAclMockRecorder) Name() *gomock.Call
- func (mr *MockSyncAclMockRecorder) RLock() *gomock.Call
- func (mr *MockSyncAclMockRecorder) RUnlock() *gomock.Call
- func (mr *MockSyncAclMockRecorder) RecordBuilder() *gomock.Call
- func (mr *MockSyncAclMockRecorder) Records() *gomock.Call
- func (mr *MockSyncAclMockRecorder) RecordsAfter(arg0, arg1 any) *gomock.Call
- func (mr *MockSyncAclMockRecorder) RecordsBefore(arg0, arg1 any) *gomock.Call
- func (mr *MockSyncAclMockRecorder) Root() *gomock.Call
- func (mr *MockSyncAclMockRecorder) Run(arg0 any) *gomock.Call
- func (mr *MockSyncAclMockRecorder) SetAclUpdater(arg0 any) *gomock.Call
- func (mr *MockSyncAclMockRecorder) SetHeadUpdater(arg0 any) *gomock.Call
- func (mr *MockSyncAclMockRecorder) SyncWithPeer(arg0, arg1 any) *gomock.Call
- func (mr *MockSyncAclMockRecorder) Unlock() *gomock.Call
- func (mr *MockSyncAclMockRecorder) ValidateRawRecord(arg0, arg1 any) *gomock.Call
- type MockSyncClient
- func (m *MockSyncClient) Broadcast(arg0 *consensusproto.LogSyncMessage)
- func (m *MockSyncClient) CreateEmptyFullSyncRequest(arg0 list.AclList) *consensusproto.LogSyncMessage
- func (m *MockSyncClient) CreateFullSyncRequest(arg0 list.AclList, arg1 string) (*consensusproto.LogSyncMessage, error)
- func (m *MockSyncClient) CreateFullSyncResponse(arg0 list.AclList, arg1 string) (*consensusproto.LogSyncMessage, error)
- func (m *MockSyncClient) CreateHeadUpdate(arg0 list.AclList, arg1 []*consensusproto.RawRecordWithId) *consensusproto.LogSyncMessage
- func (m *MockSyncClient) EXPECT() *MockSyncClientMockRecorder
- func (m *MockSyncClient) QueueRequest(arg0 string, arg1 *consensusproto.LogSyncMessage) error
- func (m *MockSyncClient) SendRequest(arg0 context.Context, arg1 string, arg2 *consensusproto.LogSyncMessage) (*spacesyncproto.ObjectSyncMessage, error)
- func (m *MockSyncClient) SendUpdate(arg0 string, arg1 *consensusproto.LogSyncMessage) error
- type MockSyncClientMockRecorder
- func (mr *MockSyncClientMockRecorder) Broadcast(arg0 any) *gomock.Call
- func (mr *MockSyncClientMockRecorder) CreateEmptyFullSyncRequest(arg0 any) *gomock.Call
- func (mr *MockSyncClientMockRecorder) CreateFullSyncRequest(arg0, arg1 any) *gomock.Call
- func (mr *MockSyncClientMockRecorder) CreateFullSyncResponse(arg0, arg1 any) *gomock.Call
- func (mr *MockSyncClientMockRecorder) CreateHeadUpdate(arg0, arg1 any) *gomock.Call
- func (mr *MockSyncClientMockRecorder) QueueRequest(arg0, arg1 any) *gomock.Call
- func (mr *MockSyncClientMockRecorder) SendRequest(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockSyncClientMockRecorder) SendUpdate(arg0, arg1 any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAclSyncProtocol ¶
type MockAclSyncProtocol struct {
// contains filtered or unexported fields
}
MockAclSyncProtocol is a mock of AclSyncProtocol interface.
func NewMockAclSyncProtocol ¶
func NewMockAclSyncProtocol(ctrl *gomock.Controller) *MockAclSyncProtocol
NewMockAclSyncProtocol creates a new mock instance.
func (*MockAclSyncProtocol) EXPECT ¶
func (m *MockAclSyncProtocol) EXPECT() *MockAclSyncProtocolMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAclSyncProtocol) FullSyncRequest ¶
func (m *MockAclSyncProtocol) FullSyncRequest(arg0 context.Context, arg1 string, arg2 *consensusproto.LogFullSyncRequest) (*consensusproto.LogSyncMessage, error)
FullSyncRequest mocks base method.
func (*MockAclSyncProtocol) FullSyncResponse ¶
func (m *MockAclSyncProtocol) FullSyncResponse(arg0 context.Context, arg1 string, arg2 *consensusproto.LogFullSyncResponse) error
FullSyncResponse mocks base method.
func (*MockAclSyncProtocol) HeadUpdate ¶
func (m *MockAclSyncProtocol) HeadUpdate(arg0 context.Context, arg1 string, arg2 *consensusproto.LogHeadUpdate) (*consensusproto.LogSyncMessage, error)
HeadUpdate mocks base method.
type MockAclSyncProtocolMockRecorder ¶
type MockAclSyncProtocolMockRecorder struct {
// contains filtered or unexported fields
}
MockAclSyncProtocolMockRecorder is the mock recorder for MockAclSyncProtocol.
func (*MockAclSyncProtocolMockRecorder) FullSyncRequest ¶
func (mr *MockAclSyncProtocolMockRecorder) FullSyncRequest(arg0, arg1, arg2 any) *gomock.Call
FullSyncRequest indicates an expected call of FullSyncRequest.
func (*MockAclSyncProtocolMockRecorder) FullSyncResponse ¶
func (mr *MockAclSyncProtocolMockRecorder) FullSyncResponse(arg0, arg1, arg2 any) *gomock.Call
FullSyncResponse indicates an expected call of FullSyncResponse.
func (*MockAclSyncProtocolMockRecorder) HeadUpdate ¶
func (mr *MockAclSyncProtocolMockRecorder) HeadUpdate(arg0, arg1, arg2 any) *gomock.Call
HeadUpdate indicates an expected call of HeadUpdate.
type MockRequestFactory ¶
type MockRequestFactory struct {
// contains filtered or unexported fields
}
MockRequestFactory is a mock of RequestFactory interface.
func NewMockRequestFactory ¶
func NewMockRequestFactory(ctrl *gomock.Controller) *MockRequestFactory
NewMockRequestFactory creates a new mock instance.
func (*MockRequestFactory) CreateEmptyFullSyncRequest ¶ added in v0.4.23
func (m *MockRequestFactory) CreateEmptyFullSyncRequest(arg0 list.AclList) *consensusproto.LogSyncMessage
CreateEmptyFullSyncRequest mocks base method.
func (*MockRequestFactory) CreateFullSyncRequest ¶
func (m *MockRequestFactory) CreateFullSyncRequest(arg0 list.AclList, arg1 string) (*consensusproto.LogSyncMessage, error)
CreateFullSyncRequest mocks base method.
func (*MockRequestFactory) CreateFullSyncResponse ¶
func (m *MockRequestFactory) CreateFullSyncResponse(arg0 list.AclList, arg1 string) (*consensusproto.LogSyncMessage, error)
CreateFullSyncResponse mocks base method.
func (*MockRequestFactory) CreateHeadUpdate ¶
func (m *MockRequestFactory) CreateHeadUpdate(arg0 list.AclList, arg1 []*consensusproto.RawRecordWithId) *consensusproto.LogSyncMessage
CreateHeadUpdate mocks base method.
func (*MockRequestFactory) EXPECT ¶
func (m *MockRequestFactory) EXPECT() *MockRequestFactoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockRequestFactoryMockRecorder ¶
type MockRequestFactoryMockRecorder struct {
// contains filtered or unexported fields
}
MockRequestFactoryMockRecorder is the mock recorder for MockRequestFactory.
func (*MockRequestFactoryMockRecorder) CreateEmptyFullSyncRequest ¶ added in v0.4.23
func (mr *MockRequestFactoryMockRecorder) CreateEmptyFullSyncRequest(arg0 any) *gomock.Call
CreateEmptyFullSyncRequest indicates an expected call of CreateEmptyFullSyncRequest.
func (*MockRequestFactoryMockRecorder) CreateFullSyncRequest ¶
func (mr *MockRequestFactoryMockRecorder) CreateFullSyncRequest(arg0, arg1 any) *gomock.Call
CreateFullSyncRequest indicates an expected call of CreateFullSyncRequest.
func (*MockRequestFactoryMockRecorder) CreateFullSyncResponse ¶
func (mr *MockRequestFactoryMockRecorder) CreateFullSyncResponse(arg0, arg1 any) *gomock.Call
CreateFullSyncResponse indicates an expected call of CreateFullSyncResponse.
func (*MockRequestFactoryMockRecorder) CreateHeadUpdate ¶
func (mr *MockRequestFactoryMockRecorder) CreateHeadUpdate(arg0, arg1 any) *gomock.Call
CreateHeadUpdate indicates an expected call of CreateHeadUpdate.
type MockSyncAcl ¶
type MockSyncAcl struct {
// contains filtered or unexported fields
}
MockSyncAcl is a mock of SyncAcl interface.
func NewMockSyncAcl ¶
func NewMockSyncAcl(ctrl *gomock.Controller) *MockSyncAcl
NewMockSyncAcl creates a new mock instance.
func (*MockSyncAcl) AclState ¶
func (m *MockSyncAcl) AclState() *list.AclState
AclState mocks base method.
func (*MockSyncAcl) AddRawRecord ¶
func (m *MockSyncAcl) AddRawRecord(arg0 *consensusproto.RawRecordWithId) error
AddRawRecord mocks base method.
func (*MockSyncAcl) AddRawRecords ¶
func (m *MockSyncAcl) AddRawRecords(arg0 []*consensusproto.RawRecordWithId) error
AddRawRecords mocks base method.
func (*MockSyncAcl) Close ¶
func (m *MockSyncAcl) Close(arg0 context.Context) error
Close mocks base method.
func (*MockSyncAcl) EXPECT ¶
func (m *MockSyncAcl) EXPECT() *MockSyncAclMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSyncAcl) Get ¶
func (m *MockSyncAcl) Get(arg0 string) (*list.AclRecord, error)
Get mocks base method.
func (*MockSyncAcl) GetIndex ¶
func (m *MockSyncAcl) GetIndex(arg0 int) (*list.AclRecord, error)
GetIndex mocks base method.
func (*MockSyncAcl) HandleMessage ¶
func (m *MockSyncAcl) HandleMessage(arg0 context.Context, arg1 string, arg2 uint32, arg3 *spacesyncproto.ObjectSyncMessage) error
HandleMessage mocks base method.
func (*MockSyncAcl) HandleRequest ¶
func (m *MockSyncAcl) HandleRequest(arg0 context.Context, arg1 string, arg2 *spacesyncproto.ObjectSyncMessage) (*spacesyncproto.ObjectSyncMessage, error)
HandleRequest mocks base method.
func (*MockSyncAcl) HasHead ¶
func (m *MockSyncAcl) HasHead(arg0 string) bool
HasHead mocks base method.
func (*MockSyncAcl) IsAfter ¶
func (m *MockSyncAcl) IsAfter(arg0, arg1 string) (bool, error)
IsAfter mocks base method.
func (*MockSyncAcl) Iterate ¶
func (m *MockSyncAcl) Iterate(arg0 func(*list.AclRecord) bool)
Iterate mocks base method.
func (*MockSyncAcl) IterateFrom ¶
func (m *MockSyncAcl) IterateFrom(arg0 string, arg1 func(*list.AclRecord) bool)
IterateFrom mocks base method.
func (*MockSyncAcl) KeyStorage ¶
func (m *MockSyncAcl) KeyStorage() crypto.KeyStorage
KeyStorage mocks base method.
func (*MockSyncAcl) RecordBuilder ¶
func (m *MockSyncAcl) RecordBuilder() list.AclRecordBuilder
RecordBuilder mocks base method.
func (*MockSyncAcl) Records ¶
func (m *MockSyncAcl) Records() []*list.AclRecord
Records mocks base method.
func (*MockSyncAcl) RecordsAfter ¶
func (m *MockSyncAcl) RecordsAfter(arg0 context.Context, arg1 string) ([]*consensusproto.RawRecordWithId, error)
RecordsAfter mocks base method.
func (*MockSyncAcl) RecordsBefore ¶
func (m *MockSyncAcl) RecordsBefore(arg0 context.Context, arg1 string) ([]*consensusproto.RawRecordWithId, error)
RecordsBefore mocks base method.
func (*MockSyncAcl) Root ¶
func (m *MockSyncAcl) Root() *consensusproto.RawRecordWithId
Root mocks base method.
func (*MockSyncAcl) Run ¶
func (m *MockSyncAcl) Run(arg0 context.Context) error
Run mocks base method.
func (*MockSyncAcl) SetAclUpdater ¶ added in v0.3.0
func (m *MockSyncAcl) SetAclUpdater(arg0 headupdater.AclUpdater)
SetAclUpdater mocks base method.
func (*MockSyncAcl) SetHeadUpdater ¶
func (m *MockSyncAcl) SetHeadUpdater(arg0 headupdater.HeadUpdater)
SetHeadUpdater mocks base method.
func (*MockSyncAcl) SyncWithPeer ¶
SyncWithPeer mocks base method.
func (*MockSyncAcl) ValidateRawRecord ¶
func (m *MockSyncAcl) ValidateRawRecord(arg0 *consensusproto.RawRecord, arg1 func(*list.AclState) error) error
ValidateRawRecord mocks base method.
type MockSyncAclMockRecorder ¶
type MockSyncAclMockRecorder struct {
// contains filtered or unexported fields
}
MockSyncAclMockRecorder is the mock recorder for MockSyncAcl.
func (*MockSyncAclMockRecorder) AclState ¶
func (mr *MockSyncAclMockRecorder) AclState() *gomock.Call
AclState indicates an expected call of AclState.
func (*MockSyncAclMockRecorder) AddRawRecord ¶
func (mr *MockSyncAclMockRecorder) AddRawRecord(arg0 any) *gomock.Call
AddRawRecord indicates an expected call of AddRawRecord.
func (*MockSyncAclMockRecorder) AddRawRecords ¶
func (mr *MockSyncAclMockRecorder) AddRawRecords(arg0 any) *gomock.Call
AddRawRecords indicates an expected call of AddRawRecords.
func (*MockSyncAclMockRecorder) Close ¶
func (mr *MockSyncAclMockRecorder) Close(arg0 any) *gomock.Call
Close indicates an expected call of Close.
func (*MockSyncAclMockRecorder) Get ¶
func (mr *MockSyncAclMockRecorder) Get(arg0 any) *gomock.Call
Get indicates an expected call of Get.
func (*MockSyncAclMockRecorder) GetIndex ¶
func (mr *MockSyncAclMockRecorder) GetIndex(arg0 any) *gomock.Call
GetIndex indicates an expected call of GetIndex.
func (*MockSyncAclMockRecorder) HandleMessage ¶
func (mr *MockSyncAclMockRecorder) HandleMessage(arg0, arg1, arg2, arg3 any) *gomock.Call
HandleMessage indicates an expected call of HandleMessage.
func (*MockSyncAclMockRecorder) HandleRequest ¶
func (mr *MockSyncAclMockRecorder) HandleRequest(arg0, arg1, arg2 any) *gomock.Call
HandleRequest indicates an expected call of HandleRequest.
func (*MockSyncAclMockRecorder) HasHead ¶
func (mr *MockSyncAclMockRecorder) HasHead(arg0 any) *gomock.Call
HasHead indicates an expected call of HasHead.
func (*MockSyncAclMockRecorder) Head ¶
func (mr *MockSyncAclMockRecorder) Head() *gomock.Call
Head indicates an expected call of Head.
func (*MockSyncAclMockRecorder) Id ¶
func (mr *MockSyncAclMockRecorder) Id() *gomock.Call
Id indicates an expected call of Id.
func (*MockSyncAclMockRecorder) Init ¶
func (mr *MockSyncAclMockRecorder) Init(arg0 any) *gomock.Call
Init indicates an expected call of Init.
func (*MockSyncAclMockRecorder) IsAfter ¶
func (mr *MockSyncAclMockRecorder) IsAfter(arg0, arg1 any) *gomock.Call
IsAfter indicates an expected call of IsAfter.
func (*MockSyncAclMockRecorder) Iterate ¶
func (mr *MockSyncAclMockRecorder) Iterate(arg0 any) *gomock.Call
Iterate indicates an expected call of Iterate.
func (*MockSyncAclMockRecorder) IterateFrom ¶
func (mr *MockSyncAclMockRecorder) IterateFrom(arg0, arg1 any) *gomock.Call
IterateFrom indicates an expected call of IterateFrom.
func (*MockSyncAclMockRecorder) KeyStorage ¶
func (mr *MockSyncAclMockRecorder) KeyStorage() *gomock.Call
KeyStorage indicates an expected call of KeyStorage.
func (*MockSyncAclMockRecorder) Lock ¶
func (mr *MockSyncAclMockRecorder) Lock() *gomock.Call
Lock indicates an expected call of Lock.
func (*MockSyncAclMockRecorder) Name ¶
func (mr *MockSyncAclMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
func (*MockSyncAclMockRecorder) RLock ¶
func (mr *MockSyncAclMockRecorder) RLock() *gomock.Call
RLock indicates an expected call of RLock.
func (*MockSyncAclMockRecorder) RUnlock ¶
func (mr *MockSyncAclMockRecorder) RUnlock() *gomock.Call
RUnlock indicates an expected call of RUnlock.
func (*MockSyncAclMockRecorder) RecordBuilder ¶
func (mr *MockSyncAclMockRecorder) RecordBuilder() *gomock.Call
RecordBuilder indicates an expected call of RecordBuilder.
func (*MockSyncAclMockRecorder) Records ¶
func (mr *MockSyncAclMockRecorder) Records() *gomock.Call
Records indicates an expected call of Records.
func (*MockSyncAclMockRecorder) RecordsAfter ¶
func (mr *MockSyncAclMockRecorder) RecordsAfter(arg0, arg1 any) *gomock.Call
RecordsAfter indicates an expected call of RecordsAfter.
func (*MockSyncAclMockRecorder) RecordsBefore ¶
func (mr *MockSyncAclMockRecorder) RecordsBefore(arg0, arg1 any) *gomock.Call
RecordsBefore indicates an expected call of RecordsBefore.
func (*MockSyncAclMockRecorder) Root ¶
func (mr *MockSyncAclMockRecorder) Root() *gomock.Call
Root indicates an expected call of Root.
func (*MockSyncAclMockRecorder) Run ¶
func (mr *MockSyncAclMockRecorder) Run(arg0 any) *gomock.Call
Run indicates an expected call of Run.
func (*MockSyncAclMockRecorder) SetAclUpdater ¶ added in v0.3.0
func (mr *MockSyncAclMockRecorder) SetAclUpdater(arg0 any) *gomock.Call
SetAclUpdater indicates an expected call of SetAclUpdater.
func (*MockSyncAclMockRecorder) SetHeadUpdater ¶
func (mr *MockSyncAclMockRecorder) SetHeadUpdater(arg0 any) *gomock.Call
SetHeadUpdater indicates an expected call of SetHeadUpdater.
func (*MockSyncAclMockRecorder) SyncWithPeer ¶
func (mr *MockSyncAclMockRecorder) SyncWithPeer(arg0, arg1 any) *gomock.Call
SyncWithPeer indicates an expected call of SyncWithPeer.
func (*MockSyncAclMockRecorder) Unlock ¶
func (mr *MockSyncAclMockRecorder) Unlock() *gomock.Call
Unlock indicates an expected call of Unlock.
func (*MockSyncAclMockRecorder) ValidateRawRecord ¶
func (mr *MockSyncAclMockRecorder) ValidateRawRecord(arg0, arg1 any) *gomock.Call
ValidateRawRecord indicates an expected call of ValidateRawRecord.
type MockSyncClient ¶
type MockSyncClient struct {
// contains filtered or unexported fields
}
MockSyncClient is a mock of SyncClient interface.
func NewMockSyncClient ¶
func NewMockSyncClient(ctrl *gomock.Controller) *MockSyncClient
NewMockSyncClient creates a new mock instance.
func (*MockSyncClient) Broadcast ¶
func (m *MockSyncClient) Broadcast(arg0 *consensusproto.LogSyncMessage)
Broadcast mocks base method.
func (*MockSyncClient) CreateEmptyFullSyncRequest ¶ added in v0.4.23
func (m *MockSyncClient) CreateEmptyFullSyncRequest(arg0 list.AclList) *consensusproto.LogSyncMessage
CreateEmptyFullSyncRequest mocks base method.
func (*MockSyncClient) CreateFullSyncRequest ¶
func (m *MockSyncClient) CreateFullSyncRequest(arg0 list.AclList, arg1 string) (*consensusproto.LogSyncMessage, error)
CreateFullSyncRequest mocks base method.
func (*MockSyncClient) CreateFullSyncResponse ¶
func (m *MockSyncClient) CreateFullSyncResponse(arg0 list.AclList, arg1 string) (*consensusproto.LogSyncMessage, error)
CreateFullSyncResponse mocks base method.
func (*MockSyncClient) CreateHeadUpdate ¶
func (m *MockSyncClient) CreateHeadUpdate(arg0 list.AclList, arg1 []*consensusproto.RawRecordWithId) *consensusproto.LogSyncMessage
CreateHeadUpdate mocks base method.
func (*MockSyncClient) EXPECT ¶
func (m *MockSyncClient) EXPECT() *MockSyncClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSyncClient) QueueRequest ¶
func (m *MockSyncClient) QueueRequest(arg0 string, arg1 *consensusproto.LogSyncMessage) error
QueueRequest mocks base method.
func (*MockSyncClient) SendRequest ¶
func (m *MockSyncClient) SendRequest(arg0 context.Context, arg1 string, arg2 *consensusproto.LogSyncMessage) (*spacesyncproto.ObjectSyncMessage, error)
SendRequest mocks base method.
func (*MockSyncClient) SendUpdate ¶
func (m *MockSyncClient) SendUpdate(arg0 string, arg1 *consensusproto.LogSyncMessage) error
SendUpdate mocks base method.
type MockSyncClientMockRecorder ¶
type MockSyncClientMockRecorder struct {
// contains filtered or unexported fields
}
MockSyncClientMockRecorder is the mock recorder for MockSyncClient.
func (*MockSyncClientMockRecorder) Broadcast ¶
func (mr *MockSyncClientMockRecorder) Broadcast(arg0 any) *gomock.Call
Broadcast indicates an expected call of Broadcast.
func (*MockSyncClientMockRecorder) CreateEmptyFullSyncRequest ¶ added in v0.4.23
func (mr *MockSyncClientMockRecorder) CreateEmptyFullSyncRequest(arg0 any) *gomock.Call
CreateEmptyFullSyncRequest indicates an expected call of CreateEmptyFullSyncRequest.
func (*MockSyncClientMockRecorder) CreateFullSyncRequest ¶
func (mr *MockSyncClientMockRecorder) CreateFullSyncRequest(arg0, arg1 any) *gomock.Call
CreateFullSyncRequest indicates an expected call of CreateFullSyncRequest.
func (*MockSyncClientMockRecorder) CreateFullSyncResponse ¶
func (mr *MockSyncClientMockRecorder) CreateFullSyncResponse(arg0, arg1 any) *gomock.Call
CreateFullSyncResponse indicates an expected call of CreateFullSyncResponse.
func (*MockSyncClientMockRecorder) CreateHeadUpdate ¶
func (mr *MockSyncClientMockRecorder) CreateHeadUpdate(arg0, arg1 any) *gomock.Call
CreateHeadUpdate indicates an expected call of CreateHeadUpdate.
func (*MockSyncClientMockRecorder) QueueRequest ¶
func (mr *MockSyncClientMockRecorder) QueueRequest(arg0, arg1 any) *gomock.Call
QueueRequest indicates an expected call of QueueRequest.
func (*MockSyncClientMockRecorder) SendRequest ¶
func (mr *MockSyncClientMockRecorder) SendRequest(arg0, arg1, arg2 any) *gomock.Call
SendRequest indicates an expected call of SendRequest.
func (*MockSyncClientMockRecorder) SendUpdate ¶
func (mr *MockSyncClientMockRecorder) SendUpdate(arg0, arg1 any) *gomock.Call
SendUpdate indicates an expected call of SendUpdate.