mock

package
v0.0.0-...-1d14c1d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 26, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

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) Close

func (m *MockJobHTTPClient) Close()

Close mocks base method.

func (*MockJobHTTPClient) EXPECT

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL