httpmock

package
v6.7.2 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2023 License: BSD-4-Clause Imports: 5 Imported by: 0

Documentation

Overview

Package httpmock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClient

type MockClient struct {
	// contains filtered or unexported fields
}

MockClient is a mock of Client interface.

func NewMockClient

func NewMockClient(ctrl *gomock.Controller) *MockClient

NewMockClient creates a new mock instance.

func (*MockClient) BaseURL

func (m *MockClient) BaseURL() string

BaseURL mocks base method.

func (*MockClient) Do

func (m *MockClient) Do(arg0 context.Context, arg1 *http.APIRequest) (*http0.Response, error)

Do mocks base method.

func (*MockClient) DoRequest

func (m *MockClient) DoRequest(arg0 context.Context, arg1 *http.APIRequest, arg2 interface{}) error

DoRequest mocks base method.

func (*MockClient) EXPECT

func (m *MockClient) EXPECT() *MockClientMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockClient) HTTPClient

func (m *MockClient) HTTPClient() *http0.Client

HTTPClient mocks base method.

func (*MockClient) IsAuthenticatedClient

func (m *MockClient) IsAuthenticatedClient() bool

IsAuthenticatedClient mocks base method.

func (*MockClient) ResourceAdd

func (m *MockClient) ResourceAdd(arg0 context.Context, arg1 string, arg2, arg3 interface{}) error

ResourceAdd mocks base method.

func (*MockClient) ResourceDelete

func (m *MockClient) ResourceDelete(arg0 context.Context, arg1, arg2 string) error

ResourceDelete mocks base method.

func (*MockClient) ResourceGet

func (m *MockClient) ResourceGet(arg0 context.Context, arg1, arg2 string, arg3, arg4 interface{}) error

ResourceGet mocks base method.

func (*MockClient) ResourceList

func (m *MockClient) ResourceList(arg0 context.Context, arg1 string, arg2, arg3 interface{}) error

ResourceList mocks base method.

func (*MockClient) ResourceUpdate

func (m *MockClient) ResourceUpdate(arg0 context.Context, arg1, arg2 string, arg3, arg4 interface{}) error

ResourceUpdate mocks base method.

func (*MockClient) SubresourceAdd

func (m *MockClient) SubresourceAdd(arg0 context.Context, arg1, arg2, arg3 string, arg4, arg5 interface{}) error

SubresourceAdd mocks base method.

func (*MockClient) SubresourceDelete

func (m *MockClient) SubresourceDelete(arg0 context.Context, arg1, arg2, arg3, arg4 string) error

SubresourceDelete mocks base method.

func (*MockClient) SubresourceGet

func (m *MockClient) SubresourceGet(arg0 context.Context, arg1, arg2, arg3, arg4 string, arg5, arg6 interface{}) error

SubresourceGet mocks base method.

func (*MockClient) SubresourceList

func (m *MockClient) SubresourceList(arg0 context.Context, arg1, arg2, arg3 string, arg4, arg5 interface{}) error

SubresourceList mocks base method.

func (*MockClient) SubresourceUpdate

func (m *MockClient) SubresourceUpdate(arg0 context.Context, arg1, arg2, arg3, arg4 string, arg5, arg6 interface{}) error

SubresourceUpdate mocks base method.

func (*MockClient) TokenGenerator

func (m *MockClient) TokenGenerator() http.TokenGenerator

TokenGenerator mocks base method.

type MockClientMockRecorder

type MockClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockClientMockRecorder is the mock recorder for MockClient.

func (*MockClientMockRecorder) BaseURL

func (mr *MockClientMockRecorder) BaseURL() *gomock.Call

BaseURL indicates an expected call of BaseURL.

func (*MockClientMockRecorder) Do

func (mr *MockClientMockRecorder) Do(arg0, arg1 interface{}) *gomock.Call

Do indicates an expected call of Do.

func (*MockClientMockRecorder) DoRequest

func (mr *MockClientMockRecorder) DoRequest(arg0, arg1, arg2 interface{}) *gomock.Call

DoRequest indicates an expected call of DoRequest.

func (*MockClientMockRecorder) HTTPClient

func (mr *MockClientMockRecorder) HTTPClient() *gomock.Call

HTTPClient indicates an expected call of HTTPClient.

func (*MockClientMockRecorder) IsAuthenticatedClient

func (mr *MockClientMockRecorder) IsAuthenticatedClient() *gomock.Call

IsAuthenticatedClient indicates an expected call of IsAuthenticatedClient.

func (*MockClientMockRecorder) ResourceAdd

func (mr *MockClientMockRecorder) ResourceAdd(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

ResourceAdd indicates an expected call of ResourceAdd.

func (*MockClientMockRecorder) ResourceDelete

func (mr *MockClientMockRecorder) ResourceDelete(arg0, arg1, arg2 interface{}) *gomock.Call

ResourceDelete indicates an expected call of ResourceDelete.

func (*MockClientMockRecorder) ResourceGet

func (mr *MockClientMockRecorder) ResourceGet(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

ResourceGet indicates an expected call of ResourceGet.

func (*MockClientMockRecorder) ResourceList

func (mr *MockClientMockRecorder) ResourceList(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

ResourceList indicates an expected call of ResourceList.

func (*MockClientMockRecorder) ResourceUpdate

func (mr *MockClientMockRecorder) ResourceUpdate(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

ResourceUpdate indicates an expected call of ResourceUpdate.

func (*MockClientMockRecorder) SubresourceAdd

func (mr *MockClientMockRecorder) SubresourceAdd(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call

SubresourceAdd indicates an expected call of SubresourceAdd.

func (*MockClientMockRecorder) SubresourceDelete

func (mr *MockClientMockRecorder) SubresourceDelete(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

SubresourceDelete indicates an expected call of SubresourceDelete.

func (*MockClientMockRecorder) SubresourceGet

func (mr *MockClientMockRecorder) SubresourceGet(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call

SubresourceGet indicates an expected call of SubresourceGet.

func (*MockClientMockRecorder) SubresourceList

func (mr *MockClientMockRecorder) SubresourceList(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call

SubresourceList indicates an expected call of SubresourceList.

func (*MockClientMockRecorder) SubresourceUpdate

func (mr *MockClientMockRecorder) SubresourceUpdate(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call

SubresourceUpdate indicates an expected call of SubresourceUpdate.

func (*MockClientMockRecorder) TokenGenerator

func (mr *MockClientMockRecorder) TokenGenerator() *gomock.Call

TokenGenerator indicates an expected call of TokenGenerator.

Jump to

Keyboard shortcuts

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