mocks

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mocks 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) Do

func (m *MockClient) Do(req *http.Request) (*http.Response, error)

Do 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) Do

func (mr *MockClientMockRecorder) Do(req interface{}) *gomock.Call

Do indicates an expected call of Do

type MockHTTPCacheProvider

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

MockHTTPCacheProvider is a mock of HTTPCacheProvider interface

func NewMockHTTPCacheProvider

func NewMockHTTPCacheProvider(ctrl *gomock.Controller) *MockHTTPCacheProvider

NewMockHTTPCacheProvider creates a new mock instance

func (*MockHTTPCacheProvider) EXPECT

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

func (*MockHTTPCacheProvider) Get

func (m *MockHTTPCacheProvider) Get(arg0 string) (*http.Response, bool)

Get mocks base method

func (*MockHTTPCacheProvider) Set

func (m *MockHTTPCacheProvider) Set(arg0 string, arg1 *http.Response, arg2 time.Duration)

Set mocks base method

type MockHTTPCacheProviderMockRecorder

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

MockHTTPCacheProviderMockRecorder is the mock recorder for MockHTTPCacheProvider

func (*MockHTTPCacheProviderMockRecorder) Get

func (mr *MockHTTPCacheProviderMockRecorder) Get(arg0 interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockHTTPCacheProviderMockRecorder) Set

func (mr *MockHTTPCacheProviderMockRecorder) Set(arg0, arg1, arg2 interface{}) *gomock.Call

Set indicates an expected call of Set

Jump to

Keyboard shortcuts

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