mock_common

package
v0.0.0-...-03689f6 Latest Latest
Warning

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

Go to latest
Published: May 22, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package mock_common is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockRCHTTPClienter

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

MockRCHTTPClienter is a mock of RCHTTPClienter interface

func NewMockRCHTTPClienter

func NewMockRCHTTPClienter(ctrl *gomock.Controller) *MockRCHTTPClienter

NewMockRCHTTPClienter creates a new mock instance

func (*MockRCHTTPClienter) Do

Do mocks base method

func (*MockRCHTTPClienter) EXPECT

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

func (*MockRCHTTPClienter) Get

func (m *MockRCHTTPClienter) Get(arg0 context.Context, arg1 string) (*http.Response, error)

Get mocks base method

func (*MockRCHTTPClienter) GetMaxRetries

func (m *MockRCHTTPClienter) GetMaxRetries() int

GetMaxRetries mocks base method

func (*MockRCHTTPClienter) Head

func (m *MockRCHTTPClienter) Head(arg0 context.Context, arg1 string) (*http.Response, error)

Head mocks base method

func (*MockRCHTTPClienter) Post

func (m *MockRCHTTPClienter) Post(arg0 context.Context, arg1, arg2 string, arg3 io.Reader) (*http.Response, error)

Post mocks base method

func (*MockRCHTTPClienter) PostForm

func (m *MockRCHTTPClienter) PostForm(arg0 context.Context, arg1 string, arg2 url.Values) (*http.Response, error)

PostForm mocks base method

func (*MockRCHTTPClienter) Put

func (m *MockRCHTTPClienter) Put(arg0 context.Context, arg1, arg2 string, arg3 io.Reader) (*http.Response, error)

Put mocks base method

func (*MockRCHTTPClienter) SetAuthToken

func (m *MockRCHTTPClienter) SetAuthToken(arg0 string)

SetAuthToken mocks base method

func (*MockRCHTTPClienter) SetDownloadServiceToken

func (m *MockRCHTTPClienter) SetDownloadServiceToken(arg0 string)

SetDownloadServiceToken mocks base method

func (*MockRCHTTPClienter) SetMaxRetries

func (m *MockRCHTTPClienter) SetMaxRetries(arg0 int)

SetMaxRetries mocks base method

func (*MockRCHTTPClienter) SetTimeout

func (m *MockRCHTTPClienter) SetTimeout(arg0 time.Duration)

SetTimeout mocks base method

type MockRCHTTPClienterMockRecorder

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

MockRCHTTPClienterMockRecorder is the mock recorder for MockRCHTTPClienter

func (*MockRCHTTPClienterMockRecorder) Do

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

Do indicates an expected call of Do

func (*MockRCHTTPClienterMockRecorder) Get

func (mr *MockRCHTTPClienterMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockRCHTTPClienterMockRecorder) GetMaxRetries

func (mr *MockRCHTTPClienterMockRecorder) GetMaxRetries() *gomock.Call

GetMaxRetries indicates an expected call of GetMaxRetries

func (*MockRCHTTPClienterMockRecorder) Head

func (mr *MockRCHTTPClienterMockRecorder) Head(arg0, arg1 interface{}) *gomock.Call

Head indicates an expected call of Head

func (*MockRCHTTPClienterMockRecorder) Post

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

Post indicates an expected call of Post

func (*MockRCHTTPClienterMockRecorder) PostForm

func (mr *MockRCHTTPClienterMockRecorder) PostForm(arg0, arg1, arg2 interface{}) *gomock.Call

PostForm indicates an expected call of PostForm

func (*MockRCHTTPClienterMockRecorder) Put

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

Put indicates an expected call of Put

func (*MockRCHTTPClienterMockRecorder) SetAuthToken

func (mr *MockRCHTTPClienterMockRecorder) SetAuthToken(arg0 interface{}) *gomock.Call

SetAuthToken indicates an expected call of SetAuthToken

func (*MockRCHTTPClienterMockRecorder) SetDownloadServiceToken

func (mr *MockRCHTTPClienterMockRecorder) SetDownloadServiceToken(arg0 interface{}) *gomock.Call

SetDownloadServiceToken indicates an expected call of SetDownloadServiceToken

func (*MockRCHTTPClienterMockRecorder) SetMaxRetries

func (mr *MockRCHTTPClienterMockRecorder) SetMaxRetries(arg0 interface{}) *gomock.Call

SetMaxRetries indicates an expected call of SetMaxRetries

func (*MockRCHTTPClienterMockRecorder) SetTimeout

func (mr *MockRCHTTPClienterMockRecorder) SetTimeout(arg0 interface{}) *gomock.Call

SetTimeout indicates an expected call of SetTimeout

Jump to

Keyboard shortcuts

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