mock_services

package
v0.50.0 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2021 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Overview

Package mock_services 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) DoJSONRequest

func (m *MockClient) DoJSONRequest(ctx context.Context, method, path string, in, out interface{}, mods ...cdsclient.RequestModifier) (http.Header, int, error)

DoJSONRequest mocks base method

func (*MockClient) DoMultiPartRequest

func (m *MockClient) DoMultiPartRequest(ctx context.Context, method, path string, multiPartData *services.MultiPartData, in, out interface{}, mods ...cdsclient.RequestModifier) (int, error)

DoMultiPartRequest mocks base method

func (*MockClient) EXPECT

func (m *MockClient) EXPECT() *MockClientMockRecorder

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

type MockClientMockRecorder

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

MockClientMockRecorder is the mock recorder for MockClient

func (*MockClientMockRecorder) DoJSONRequest

func (mr *MockClientMockRecorder) DoJSONRequest(ctx, method, path, in, out interface{}, mods ...interface{}) *gomock.Call

DoJSONRequest indicates an expected call of DoJSONRequest

func (*MockClientMockRecorder) DoMultiPartRequest

func (mr *MockClientMockRecorder) DoMultiPartRequest(ctx, method, path, multiPartData, in, out interface{}, mods ...interface{}) *gomock.Call

DoMultiPartRequest indicates an expected call of DoMultiPartRequest

Jump to

Keyboard shortcuts

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