Documentation ¶
Overview ¶
Package rest is a generated GoMock package.
Index ¶
- type MockHTTPClient
- type MockHTTPClientMockRecorder
- type MockInterface
- func (m *MockInterface) APIVersion() schema.GroupVersion
- func (m *MockInterface) Delete() *rest.Request
- func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
- func (m *MockInterface) Get() *rest.Request
- func (m *MockInterface) GetRateLimiter() flowcontrol.RateLimiter
- func (m *MockInterface) Patch(arg0 types.PatchType) *rest.Request
- func (m *MockInterface) Post() *rest.Request
- func (m *MockInterface) Put() *rest.Request
- func (m *MockInterface) Verb(arg0 string) *rest.Request
- type MockInterfaceMockRecorder
- func (mr *MockInterfaceMockRecorder) APIVersion() *gomock.Call
- func (mr *MockInterfaceMockRecorder) Delete() *gomock.Call
- func (mr *MockInterfaceMockRecorder) Get() *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetRateLimiter() *gomock.Call
- func (mr *MockInterfaceMockRecorder) Patch(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) Post() *gomock.Call
- func (mr *MockInterfaceMockRecorder) Put() *gomock.Call
- func (mr *MockInterfaceMockRecorder) Verb(arg0 interface{}) *gomock.Call
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) EXPECT ¶
func (m *MockHTTPClient) EXPECT() *MockHTTPClientMockRecorder
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 ¶
func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockInterface) GetRateLimiter ¶
func (m *MockInterface) GetRateLimiter() flowcontrol.RateLimiter
GetRateLimiter 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 ¶
func (mr *MockInterfaceMockRecorder) Get() *gomock.Call
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 ¶
func (mr *MockInterfaceMockRecorder) Post() *gomock.Call
Post indicates an expected call of Post.
func (*MockInterfaceMockRecorder) Put ¶
func (mr *MockInterfaceMockRecorder) Put() *gomock.Call
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.