Documentation ¶
Overview ¶
Package mock_segfetcher is a generated GoMock package.
Index ¶
- type MockDstProvider
- type MockDstProviderMockRecorder
- type MockReplyHandler
- type MockReplyHandlerMockRecorder
- type MockRequestAPI
- type MockRequestAPIMockRecorder
- type MockRequester
- type MockRequesterMockRecorder
- type MockResolver
- type MockResolverMockRecorder
- type MockSplitter
- type MockSplitterMockRecorder
- type MockValidator
- type MockValidatorMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDstProvider ¶
type MockDstProvider struct {
// contains filtered or unexported fields
}
MockDstProvider is a mock of DstProvider interface
func NewMockDstProvider ¶
func NewMockDstProvider(ctrl *gomock.Controller) *MockDstProvider
NewMockDstProvider creates a new mock instance
func (*MockDstProvider) Dst ¶
func (m *MockDstProvider) Dst(arg0 context.Context, arg1 segfetcher.Request) (net.Addr, error)
Dst mocks base method
func (*MockDstProvider) EXPECT ¶
func (m *MockDstProvider) EXPECT() *MockDstProviderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockDstProviderMockRecorder ¶
type MockDstProviderMockRecorder struct {
// contains filtered or unexported fields
}
MockDstProviderMockRecorder is the mock recorder for MockDstProvider
func (*MockDstProviderMockRecorder) Dst ¶
func (mr *MockDstProviderMockRecorder) Dst(arg0, arg1 interface{}) *gomock.Call
Dst indicates an expected call of Dst
type MockReplyHandler ¶
type MockReplyHandler struct {
// contains filtered or unexported fields
}
MockReplyHandler is a mock of ReplyHandler interface
func NewMockReplyHandler ¶
func NewMockReplyHandler(ctrl *gomock.Controller) *MockReplyHandler
NewMockReplyHandler creates a new mock instance
func (*MockReplyHandler) EXPECT ¶
func (m *MockReplyHandler) EXPECT() *MockReplyHandlerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockReplyHandler) Handle ¶
func (m *MockReplyHandler) Handle(arg0 context.Context, arg1 seghandler.Segments, arg2 net.Addr, arg3 <-chan struct{}) *seghandler.ProcessedResult
Handle mocks base method
type MockReplyHandlerMockRecorder ¶
type MockReplyHandlerMockRecorder struct {
// contains filtered or unexported fields
}
MockReplyHandlerMockRecorder is the mock recorder for MockReplyHandler
func (*MockReplyHandlerMockRecorder) Handle ¶
func (mr *MockReplyHandlerMockRecorder) Handle(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Handle indicates an expected call of Handle
type MockRequestAPI ¶
type MockRequestAPI struct {
// contains filtered or unexported fields
}
MockRequestAPI is a mock of RequestAPI interface
func NewMockRequestAPI ¶
func NewMockRequestAPI(ctrl *gomock.Controller) *MockRequestAPI
NewMockRequestAPI creates a new mock instance
func (*MockRequestAPI) EXPECT ¶
func (m *MockRequestAPI) EXPECT() *MockRequestAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockRequestAPIMockRecorder ¶
type MockRequestAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockRequestAPIMockRecorder is the mock recorder for MockRequestAPI
func (*MockRequestAPIMockRecorder) GetSegs ¶
func (mr *MockRequestAPIMockRecorder) GetSegs(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
GetSegs indicates an expected call of GetSegs
type MockRequester ¶
type MockRequester struct {
// contains filtered or unexported fields
}
MockRequester is a mock of Requester interface
func NewMockRequester ¶
func NewMockRequester(ctrl *gomock.Controller) *MockRequester
NewMockRequester creates a new mock instance
func (*MockRequester) EXPECT ¶
func (m *MockRequester) EXPECT() *MockRequesterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockRequester) Request ¶
func (m *MockRequester) Request(arg0 context.Context, arg1 segfetcher.RequestSet) <-chan segfetcher.ReplyOrErr
Request mocks base method
type MockRequesterMockRecorder ¶
type MockRequesterMockRecorder struct {
// contains filtered or unexported fields
}
MockRequesterMockRecorder is the mock recorder for MockRequester
func (*MockRequesterMockRecorder) Request ¶
func (mr *MockRequesterMockRecorder) Request(arg0, arg1 interface{}) *gomock.Call
Request indicates an expected call of Request
type MockResolver ¶
type MockResolver struct {
// contains filtered or unexported fields
}
MockResolver is a mock of Resolver interface
func NewMockResolver ¶
func NewMockResolver(ctrl *gomock.Controller) *MockResolver
NewMockResolver creates a new mock instance
func (*MockResolver) EXPECT ¶
func (m *MockResolver) EXPECT() *MockResolverMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockResolver) Resolve ¶
func (m *MockResolver) Resolve(arg0 context.Context, arg1 segfetcher.Segments, arg2 segfetcher.RequestSet) (segfetcher.Segments, segfetcher.RequestSet, error)
Resolve mocks base method
type MockResolverMockRecorder ¶
type MockResolverMockRecorder struct {
// contains filtered or unexported fields
}
MockResolverMockRecorder is the mock recorder for MockResolver
func (*MockResolverMockRecorder) Resolve ¶
func (mr *MockResolverMockRecorder) Resolve(arg0, arg1, arg2 interface{}) *gomock.Call
Resolve indicates an expected call of Resolve
type MockSplitter ¶
type MockSplitter struct {
// contains filtered or unexported fields
}
MockSplitter is a mock of Splitter interface
func NewMockSplitter ¶
func NewMockSplitter(ctrl *gomock.Controller) *MockSplitter
NewMockSplitter creates a new mock instance
func (*MockSplitter) EXPECT ¶
func (m *MockSplitter) EXPECT() *MockSplitterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockSplitter) Split ¶
func (m *MockSplitter) Split(arg0 context.Context, arg1 segfetcher.Request) (segfetcher.RequestSet, error)
Split mocks base method
type MockSplitterMockRecorder ¶
type MockSplitterMockRecorder struct {
// contains filtered or unexported fields
}
MockSplitterMockRecorder is the mock recorder for MockSplitter
func (*MockSplitterMockRecorder) Split ¶
func (mr *MockSplitterMockRecorder) Split(arg0, arg1 interface{}) *gomock.Call
Split indicates an expected call of Split
type MockValidator ¶
type MockValidator struct {
// contains filtered or unexported fields
}
MockValidator is a mock of Validator interface
func NewMockValidator ¶
func NewMockValidator(ctrl *gomock.Controller) *MockValidator
NewMockValidator creates a new mock instance
func (*MockValidator) EXPECT ¶
func (m *MockValidator) EXPECT() *MockValidatorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockValidator) Validate ¶
func (m *MockValidator) Validate(arg0 context.Context, arg1 segfetcher.Request) error
Validate mocks base method
type MockValidatorMockRecorder ¶
type MockValidatorMockRecorder struct {
// contains filtered or unexported fields
}
MockValidatorMockRecorder is the mock recorder for MockValidator
func (*MockValidatorMockRecorder) Validate ¶
func (mr *MockValidatorMockRecorder) Validate(arg0, arg1 interface{}) *gomock.Call
Validate indicates an expected call of Validate