Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBreaker ¶
type MockBreaker struct {
// contains filtered or unexported fields
}
MockBreaker is a mock of Breaker interface
func NewMockBreaker ¶
func NewMockBreaker(ctrl *gomock.Controller) *MockBreaker
NewMockBreaker creates a new mock instance
func (*MockBreaker) EXPECT ¶
func (m *MockBreaker) EXPECT() *MockBreakerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockBreaker) Execute ¶
func (m *MockBreaker) Execute(req func() error) error
Execute mocks base method
type MockBreakerMockRecorder ¶
type MockBreakerMockRecorder struct {
// contains filtered or unexported fields
}
MockBreakerMockRecorder is the mock recorder for MockBreaker
func (*MockBreakerMockRecorder) Execute ¶
func (mr *MockBreakerMockRecorder) Execute(req interface{}) *gomock.Call
Execute indicates an expected call of Execute
type MockHTTPRequestDoer ¶
type MockHTTPRequestDoer struct {
// contains filtered or unexported fields
}
MockHTTPRequestDoer is a mock of HTTPRequestDoer interface
func NewMockHTTPRequestDoer ¶
func NewMockHTTPRequestDoer(ctrl *gomock.Controller) *MockHTTPRequestDoer
NewMockHTTPRequestDoer creates a new mock instance
func (*MockHTTPRequestDoer) EXPECT ¶
func (m *MockHTTPRequestDoer) EXPECT() *MockHTTPRequestDoerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockHTTPRequestDoerMockRecorder ¶
type MockHTTPRequestDoerMockRecorder struct {
// contains filtered or unexported fields
}
MockHTTPRequestDoerMockRecorder is the mock recorder for MockHTTPRequestDoer
func (*MockHTTPRequestDoerMockRecorder) Do ¶
func (mr *MockHTTPRequestDoerMockRecorder) Do(req interface{}) *gomock.Call
Do indicates an expected call of Do