mocks

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

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

func (m *MockClient) EXPECT() *MockClientMockRecorder

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

func (*MockClient) Execute

func (m *MockClient) Execute(arg0 client.Request, arg1 interface{}) (string, error)

Execute mocks base method

func (*MockClient) ExecuteOrDie

func (m *MockClient) ExecuteOrDie(arg0 client.Request, arg1 interface{}) string

ExecuteOrDie mocks base method

type MockClientMockRecorder

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

MockClientMockRecorder is the mock recorder for MockClient

func (*MockClientMockRecorder) Execute

func (mr *MockClientMockRecorder) Execute(arg0, arg1 interface{}) *gomock.Call

Execute indicates an expected call of Execute

func (*MockClientMockRecorder) ExecuteOrDie

func (mr *MockClientMockRecorder) ExecuteOrDie(arg0, arg1 interface{}) *gomock.Call

ExecuteOrDie indicates an expected call of ExecuteOrDie

type MockHttpClientInterface

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

MockHttpClientInterface is a mock of HttpClientInterface interface

func NewMockHttpClientInterface

func NewMockHttpClientInterface(ctrl *gomock.Controller) *MockHttpClientInterface

NewMockHttpClientInterface creates a new mock instance

func (*MockHttpClientInterface) Do

Do mocks base method

func (*MockHttpClientInterface) EXPECT

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

type MockHttpClientInterfaceMockRecorder

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

MockHttpClientInterfaceMockRecorder is the mock recorder for MockHttpClientInterface

func (*MockHttpClientInterfaceMockRecorder) Do

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

Do indicates an expected call of Do

Jump to

Keyboard shortcuts

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