rest

package
v1.69.1 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2023 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 7 Imported by: 0

Documentation

Overview

Package rest is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockHTTPClient

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

MockHTTPClient is a mock of HTTPClient interface.

func NewMockHTTPClient

func NewMockHTTPClient(ctrl *gomock.Controller) *MockHTTPClient

NewMockHTTPClient creates a new mock instance.

func (*MockHTTPClient) Do

func (m *MockHTTPClient) Do(arg0 *http.Request) (*http.Response, error)

Do mocks base method.

func (*MockHTTPClient) EXPECT

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

type MockHTTPClientMockRecorder

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

MockHTTPClientMockRecorder is the mock recorder for MockHTTPClient.

func (*MockHTTPClientMockRecorder) Do

func (mr *MockHTTPClientMockRecorder) Do(arg0 interface{}) *gomock.Call

Do indicates an expected call of Do.

type MockInterface

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

MockInterface is a mock of Interface interface.

func NewMockInterface

func NewMockInterface(ctrl *gomock.Controller) *MockInterface

NewMockInterface creates a new mock instance.

func (*MockInterface) APIVersion

func (m *MockInterface) APIVersion() schema.GroupVersion

APIVersion mocks base method.

func (*MockInterface) Delete

func (m *MockInterface) Delete() *rest.Request

Delete mocks base method.

func (*MockInterface) EXPECT

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

func (*MockInterface) Get

func (m *MockInterface) Get() *rest.Request

Get mocks base method.

func (*MockInterface) GetRateLimiter

func (m *MockInterface) GetRateLimiter() flowcontrol.RateLimiter

GetRateLimiter mocks base method.

func (*MockInterface) Patch

func (m *MockInterface) Patch(arg0 types.PatchType) *rest.Request

Patch mocks base method.

func (*MockInterface) Post

func (m *MockInterface) Post() *rest.Request

Post mocks base method.

func (*MockInterface) Put

func (m *MockInterface) Put() *rest.Request

Put mocks base method.

func (*MockInterface) Verb

func (m *MockInterface) Verb(arg0 string) *rest.Request

Verb mocks base method.

type MockInterfaceMockRecorder

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

MockInterfaceMockRecorder is the mock recorder for MockInterface.

func (*MockInterfaceMockRecorder) APIVersion

func (mr *MockInterfaceMockRecorder) APIVersion() *gomock.Call

APIVersion indicates an expected call of APIVersion.

func (*MockInterfaceMockRecorder) Delete

func (mr *MockInterfaceMockRecorder) Delete() *gomock.Call

Delete indicates an expected call of Delete.

func (*MockInterfaceMockRecorder) Get

Get indicates an expected call of Get.

func (*MockInterfaceMockRecorder) GetRateLimiter

func (mr *MockInterfaceMockRecorder) GetRateLimiter() *gomock.Call

GetRateLimiter indicates an expected call of GetRateLimiter.

func (*MockInterfaceMockRecorder) Patch

func (mr *MockInterfaceMockRecorder) Patch(arg0 interface{}) *gomock.Call

Patch indicates an expected call of Patch.

func (*MockInterfaceMockRecorder) Post

Post indicates an expected call of Post.

func (*MockInterfaceMockRecorder) Put

Put indicates an expected call of Put.

func (*MockInterfaceMockRecorder) Verb

func (mr *MockInterfaceMockRecorder) Verb(arg0 interface{}) *gomock.Call

Verb indicates an expected call of Verb.

Jump to

Keyboard shortcuts

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