Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockJobHTTPClient ¶
type MockJobHTTPClient struct {
// contains filtered or unexported fields
}
MockJobHTTPClient is a mock of JobHTTPClient interface.
func NewMockJobHTTPClient ¶
func NewMockJobHTTPClient(ctrl *gomock.Controller) *MockJobHTTPClient
NewMockJobHTTPClient creates a new mock instance.
func (*MockJobHTTPClient) EXPECT ¶
func (m *MockJobHTTPClient) EXPECT() *MockJobHTTPClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockJobHTTPClient) GetJobDetail ¶
func (m *MockJobHTTPClient) GetJobDetail(arg0 context.Context, arg1, arg2 string) ([]byte, *openapi.HTTPError)
GetJobDetail mocks base method.
type MockJobHTTPClientMockRecorder ¶
type MockJobHTTPClientMockRecorder struct {
// contains filtered or unexported fields
}
MockJobHTTPClientMockRecorder is the mock recorder for MockJobHTTPClient.
func (*MockJobHTTPClientMockRecorder) Close ¶
func (mr *MockJobHTTPClientMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockJobHTTPClientMockRecorder) GetJobDetail ¶
func (mr *MockJobHTTPClientMockRecorder) GetJobDetail(arg0, arg1, arg2 interface{}) *gomock.Call
GetJobDetail indicates an expected call of GetJobDetail.
type MockNilReturnJobHTTPClient ¶
type MockNilReturnJobHTTPClient struct{}
MockNilReturnJobHTTPClient mocks a JobHTTPClient which return (nil, nil)
func NewMockNilReturnJobHTTPClient ¶
func NewMockNilReturnJobHTTPClient() *MockNilReturnJobHTTPClient
NewMockNilReturnJobHTTPClient news a JobHTTPClient mocker which return (nil, nil)
func (*MockNilReturnJobHTTPClient) Close ¶
func (c *MockNilReturnJobHTTPClient) Close()
Close implements the JobHTTPClient.Close
func (*MockNilReturnJobHTTPClient) GetJobDetail ¶
func (c *MockNilReturnJobHTTPClient) GetJobDetail(ctx context.Context, address string, jobID string) ([]byte, *openapi.HTTPError)
GetJobDetail implements the JobHTTPClient.GetJobDetail