Documentation ¶
Overview ¶
Package mock_seghandler is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockStorage ¶
type MockStorage struct {
// contains filtered or unexported fields
}
MockStorage is a mock of Storage interface.
func NewMockStorage ¶
func NewMockStorage(ctrl *gomock.Controller) *MockStorage
NewMockStorage creates a new mock instance.
func (*MockStorage) EXPECT ¶
func (m *MockStorage) EXPECT() *MockStorageMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStorage) StoreSegs ¶
func (m *MockStorage) StoreSegs(arg0 context.Context, arg1 []*segment.Meta) (seghandler.SegStats, error)
StoreSegs mocks base method.
type MockStorageMockRecorder ¶
type MockStorageMockRecorder struct {
// contains filtered or unexported fields
}
MockStorageMockRecorder is the mock recorder for MockStorage.
func (*MockStorageMockRecorder) StoreRevs ¶
func (mr *MockStorageMockRecorder) StoreRevs(arg0, arg1 interface{}) *gomock.Call
StoreRevs indicates an expected call of StoreRevs.
func (*MockStorageMockRecorder) StoreSegs ¶
func (mr *MockStorageMockRecorder) StoreSegs(arg0, arg1 interface{}) *gomock.Call
StoreSegs indicates an expected call of StoreSegs.
type MockVerifier ¶
type MockVerifier struct {
// contains filtered or unexported fields
}
MockVerifier is a mock of Verifier interface.
func NewMockVerifier ¶
func NewMockVerifier(ctrl *gomock.Controller) *MockVerifier
NewMockVerifier creates a new mock instance.
func (*MockVerifier) EXPECT ¶
func (m *MockVerifier) EXPECT() *MockVerifierMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockVerifier) Verify ¶
func (m *MockVerifier) Verify(arg0 context.Context, arg1 seghandler.Segments, arg2 net.Addr) (chan segverifier.UnitResult, int)
Verify mocks base method.
type MockVerifierMockRecorder ¶
type MockVerifierMockRecorder struct {
// contains filtered or unexported fields
}
MockVerifierMockRecorder is the mock recorder for MockVerifier.
func (*MockVerifierMockRecorder) Verify ¶
func (mr *MockVerifierMockRecorder) Verify(arg0, arg1, arg2 interface{}) *gomock.Call
Verify indicates an expected call of Verify.