mocks

package
v0.0.0-...-439fd0a Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: AGPL-3.0 Imports: 8 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 MockAPICaller

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

MockAPICaller is a mock of APICaller interface.

func NewMockAPICaller

func NewMockAPICaller(ctrl *gomock.Controller) *MockAPICaller

NewMockAPICaller creates a new mock instance.

func (*MockAPICaller) APICall

func (m *MockAPICaller) APICall(arg0 string, arg1 int, arg2, arg3 string, arg4, arg5 any) error

APICall mocks base method.

func (*MockAPICaller) BakeryClient

func (m *MockAPICaller) BakeryClient() base.MacaroonDischarger

BakeryClient mocks base method.

func (*MockAPICaller) BestFacadeVersion

func (m *MockAPICaller) BestFacadeVersion(arg0 string) int

BestFacadeVersion mocks base method.

func (*MockAPICaller) ConnectControllerStream

func (m *MockAPICaller) ConnectControllerStream(arg0 string, arg1 url.Values, arg2 http.Header) (base.Stream, error)

ConnectControllerStream mocks base method.

func (*MockAPICaller) ConnectStream

func (m *MockAPICaller) ConnectStream(arg0 string, arg1 url.Values) (base.Stream, error)

ConnectStream mocks base method.

func (*MockAPICaller) Context

func (m *MockAPICaller) Context() context.Context

Context mocks base method.

func (*MockAPICaller) EXPECT

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

func (*MockAPICaller) HTTPClient

func (m *MockAPICaller) HTTPClient() (*httprequest.Client, error)

HTTPClient mocks base method.

func (*MockAPICaller) ModelTag

func (m *MockAPICaller) ModelTag() (names.ModelTag, bool)

ModelTag mocks base method.

func (*MockAPICaller) RootHTTPClient

func (m *MockAPICaller) RootHTTPClient() (*httprequest.Client, error)

RootHTTPClient mocks base method.

type MockAPICallerMockRecorder

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

MockAPICallerMockRecorder is the mock recorder for MockAPICaller.

func (*MockAPICallerMockRecorder) APICall

func (mr *MockAPICallerMockRecorder) APICall(arg0, arg1, arg2, arg3, arg4, arg5 any) *gomock.Call

APICall indicates an expected call of APICall.

func (*MockAPICallerMockRecorder) BakeryClient

func (mr *MockAPICallerMockRecorder) BakeryClient() *gomock.Call

BakeryClient indicates an expected call of BakeryClient.

func (*MockAPICallerMockRecorder) BestFacadeVersion

func (mr *MockAPICallerMockRecorder) BestFacadeVersion(arg0 any) *gomock.Call

BestFacadeVersion indicates an expected call of BestFacadeVersion.

func (*MockAPICallerMockRecorder) ConnectControllerStream

func (mr *MockAPICallerMockRecorder) ConnectControllerStream(arg0, arg1, arg2 any) *gomock.Call

ConnectControllerStream indicates an expected call of ConnectControllerStream.

func (*MockAPICallerMockRecorder) ConnectStream

func (mr *MockAPICallerMockRecorder) ConnectStream(arg0, arg1 any) *gomock.Call

ConnectStream indicates an expected call of ConnectStream.

func (*MockAPICallerMockRecorder) Context

func (mr *MockAPICallerMockRecorder) Context() *gomock.Call

Context indicates an expected call of Context.

func (*MockAPICallerMockRecorder) HTTPClient

func (mr *MockAPICallerMockRecorder) HTTPClient() *gomock.Call

HTTPClient indicates an expected call of HTTPClient.

func (*MockAPICallerMockRecorder) ModelTag

func (mr *MockAPICallerMockRecorder) ModelTag() *gomock.Call

ModelTag indicates an expected call of ModelTag.

func (*MockAPICallerMockRecorder) RootHTTPClient

func (mr *MockAPICallerMockRecorder) RootHTTPClient() *gomock.Call

RootHTTPClient indicates an expected call of RootHTTPClient.

Jump to

Keyboard shortcuts

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