mocks

package
v0.0.0-...-afba3a4 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2024 License: AGPL-3.0 Imports: 8 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 MockAPICallCloser

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

MockAPICallCloser is a mock of APICallCloser interface.

func NewMockAPICallCloser

func NewMockAPICallCloser(ctrl *gomock.Controller) *MockAPICallCloser

NewMockAPICallCloser creates a new mock instance.

func (*MockAPICallCloser) APICall

func (m *MockAPICallCloser) APICall(arg0 context.Context, arg1 string, arg2 int, arg3, arg4 string, arg5, arg6 any) error

APICall mocks base method.

func (*MockAPICallCloser) BakeryClient

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

BakeryClient mocks base method.

func (*MockAPICallCloser) BestFacadeVersion

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

BestFacadeVersion mocks base method.

func (*MockAPICallCloser) Close

func (m *MockAPICallCloser) Close() error

Close mocks base method.

func (*MockAPICallCloser) ConnectControllerStream

func (m *MockAPICallCloser) ConnectControllerStream(arg0 context.Context, arg1 string, arg2 url.Values, arg3 http.Header) (base.Stream, error)

ConnectControllerStream mocks base method.

func (*MockAPICallCloser) ConnectStream

func (m *MockAPICallCloser) ConnectStream(arg0 context.Context, arg1 string, arg2 url.Values) (base.Stream, error)

ConnectStream mocks base method.

func (*MockAPICallCloser) EXPECT

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

func (*MockAPICallCloser) HTTPClient

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

HTTPClient mocks base method.

func (*MockAPICallCloser) ModelTag

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

ModelTag mocks base method.

func (*MockAPICallCloser) RootHTTPClient

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

RootHTTPClient mocks base method.

type MockAPICallCloserAPICallCall

type MockAPICallCloserAPICallCall struct {
	*gomock.Call
}

MockAPICallCloserAPICallCall wrap *gomock.Call

func (*MockAPICallCloserAPICallCall) Do

Do rewrite *gomock.Call.Do

func (*MockAPICallCloserAPICallCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockAPICallCloserAPICallCall) Return

Return rewrite *gomock.Call.Return

type MockAPICallCloserBakeryClientCall

type MockAPICallCloserBakeryClientCall struct {
	*gomock.Call
}

MockAPICallCloserBakeryClientCall wrap *gomock.Call

func (*MockAPICallCloserBakeryClientCall) Do

Do rewrite *gomock.Call.Do

func (*MockAPICallCloserBakeryClientCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockAPICallCloserBakeryClientCall) Return

Return rewrite *gomock.Call.Return

type MockAPICallCloserBestFacadeVersionCall

type MockAPICallCloserBestFacadeVersionCall struct {
	*gomock.Call
}

MockAPICallCloserBestFacadeVersionCall wrap *gomock.Call

func (*MockAPICallCloserBestFacadeVersionCall) Do

Do rewrite *gomock.Call.Do

func (*MockAPICallCloserBestFacadeVersionCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockAPICallCloserBestFacadeVersionCall) Return

Return rewrite *gomock.Call.Return

type MockAPICallCloserCloseCall

type MockAPICallCloserCloseCall struct {
	*gomock.Call
}

MockAPICallCloserCloseCall wrap *gomock.Call

func (*MockAPICallCloserCloseCall) Do

Do rewrite *gomock.Call.Do

func (*MockAPICallCloserCloseCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockAPICallCloserCloseCall) Return

Return rewrite *gomock.Call.Return

type MockAPICallCloserConnectControllerStreamCall

type MockAPICallCloserConnectControllerStreamCall struct {
	*gomock.Call
}

MockAPICallCloserConnectControllerStreamCall wrap *gomock.Call

func (*MockAPICallCloserConnectControllerStreamCall) Do

Do rewrite *gomock.Call.Do

func (*MockAPICallCloserConnectControllerStreamCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockAPICallCloserConnectControllerStreamCall) Return

Return rewrite *gomock.Call.Return

type MockAPICallCloserConnectStreamCall

type MockAPICallCloserConnectStreamCall struct {
	*gomock.Call
}

MockAPICallCloserConnectStreamCall wrap *gomock.Call

func (*MockAPICallCloserConnectStreamCall) Do

Do rewrite *gomock.Call.Do

func (*MockAPICallCloserConnectStreamCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockAPICallCloserConnectStreamCall) Return

Return rewrite *gomock.Call.Return

type MockAPICallCloserHTTPClientCall

type MockAPICallCloserHTTPClientCall struct {
	*gomock.Call
}

MockAPICallCloserHTTPClientCall wrap *gomock.Call

func (*MockAPICallCloserHTTPClientCall) Do

Do rewrite *gomock.Call.Do

func (*MockAPICallCloserHTTPClientCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockAPICallCloserHTTPClientCall) Return

Return rewrite *gomock.Call.Return

type MockAPICallCloserMockRecorder

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

MockAPICallCloserMockRecorder is the mock recorder for MockAPICallCloser.

func (*MockAPICallCloserMockRecorder) APICall

func (mr *MockAPICallCloserMockRecorder) APICall(arg0, arg1, arg2, arg3, arg4, arg5, arg6 any) *MockAPICallCloserAPICallCall

APICall indicates an expected call of APICall.

func (*MockAPICallCloserMockRecorder) BakeryClient

BakeryClient indicates an expected call of BakeryClient.

func (*MockAPICallCloserMockRecorder) BestFacadeVersion

BestFacadeVersion indicates an expected call of BestFacadeVersion.

func (*MockAPICallCloserMockRecorder) Close

Close indicates an expected call of Close.

func (*MockAPICallCloserMockRecorder) ConnectControllerStream

func (mr *MockAPICallCloserMockRecorder) ConnectControllerStream(arg0, arg1, arg2, arg3 any) *MockAPICallCloserConnectControllerStreamCall

ConnectControllerStream indicates an expected call of ConnectControllerStream.

func (*MockAPICallCloserMockRecorder) ConnectStream

func (mr *MockAPICallCloserMockRecorder) ConnectStream(arg0, arg1, arg2 any) *MockAPICallCloserConnectStreamCall

ConnectStream indicates an expected call of ConnectStream.

func (*MockAPICallCloserMockRecorder) HTTPClient

HTTPClient indicates an expected call of HTTPClient.

func (*MockAPICallCloserMockRecorder) ModelTag

ModelTag indicates an expected call of ModelTag.

func (*MockAPICallCloserMockRecorder) RootHTTPClient

RootHTTPClient indicates an expected call of RootHTTPClient.

type MockAPICallCloserModelTagCall

type MockAPICallCloserModelTagCall struct {
	*gomock.Call
}

MockAPICallCloserModelTagCall wrap *gomock.Call

func (*MockAPICallCloserModelTagCall) Do

Do rewrite *gomock.Call.Do

func (*MockAPICallCloserModelTagCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockAPICallCloserModelTagCall) Return

Return rewrite *gomock.Call.Return

type MockAPICallCloserRootHTTPClientCall

type MockAPICallCloserRootHTTPClientCall struct {
	*gomock.Call
}

MockAPICallCloserRootHTTPClientCall wrap *gomock.Call

func (*MockAPICallCloserRootHTTPClientCall) Do

Do rewrite *gomock.Call.Do

func (*MockAPICallCloserRootHTTPClientCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockAPICallCloserRootHTTPClientCall) Return

Return rewrite *gomock.Call.Return

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 context.Context, arg1 string, arg2 int, arg3, arg4 string, arg5, arg6 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 context.Context, arg1 string, arg2 url.Values, arg3 http.Header) (base.Stream, error)

ConnectControllerStream mocks base method.

func (*MockAPICaller) ConnectStream

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

ConnectStream 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 MockAPICallerAPICallCall

type MockAPICallerAPICallCall struct {
	*gomock.Call
}

MockAPICallerAPICallCall wrap *gomock.Call

func (*MockAPICallerAPICallCall) Do

Do rewrite *gomock.Call.Do

func (*MockAPICallerAPICallCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockAPICallerAPICallCall) Return

Return rewrite *gomock.Call.Return

type MockAPICallerBakeryClientCall

type MockAPICallerBakeryClientCall struct {
	*gomock.Call
}

MockAPICallerBakeryClientCall wrap *gomock.Call

func (*MockAPICallerBakeryClientCall) Do

Do rewrite *gomock.Call.Do

func (*MockAPICallerBakeryClientCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockAPICallerBakeryClientCall) Return

Return rewrite *gomock.Call.Return

type MockAPICallerBestFacadeVersionCall

type MockAPICallerBestFacadeVersionCall struct {
	*gomock.Call
}

MockAPICallerBestFacadeVersionCall wrap *gomock.Call

func (*MockAPICallerBestFacadeVersionCall) Do

Do rewrite *gomock.Call.Do

func (*MockAPICallerBestFacadeVersionCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockAPICallerBestFacadeVersionCall) Return

Return rewrite *gomock.Call.Return

type MockAPICallerConnectControllerStreamCall

type MockAPICallerConnectControllerStreamCall struct {
	*gomock.Call
}

MockAPICallerConnectControllerStreamCall wrap *gomock.Call

func (*MockAPICallerConnectControllerStreamCall) Do

Do rewrite *gomock.Call.Do

func (*MockAPICallerConnectControllerStreamCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockAPICallerConnectControllerStreamCall) Return

Return rewrite *gomock.Call.Return

type MockAPICallerConnectStreamCall

type MockAPICallerConnectStreamCall struct {
	*gomock.Call
}

MockAPICallerConnectStreamCall wrap *gomock.Call

func (*MockAPICallerConnectStreamCall) Do

Do rewrite *gomock.Call.Do

func (*MockAPICallerConnectStreamCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockAPICallerConnectStreamCall) Return

Return rewrite *gomock.Call.Return

type MockAPICallerHTTPClientCall

type MockAPICallerHTTPClientCall struct {
	*gomock.Call
}

MockAPICallerHTTPClientCall wrap *gomock.Call

func (*MockAPICallerHTTPClientCall) Do

Do rewrite *gomock.Call.Do

func (*MockAPICallerHTTPClientCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockAPICallerHTTPClientCall) Return

Return rewrite *gomock.Call.Return

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, arg6 any) *MockAPICallerAPICallCall

APICall indicates an expected call of APICall.

func (*MockAPICallerMockRecorder) BakeryClient

BakeryClient indicates an expected call of BakeryClient.

func (*MockAPICallerMockRecorder) BestFacadeVersion

BestFacadeVersion indicates an expected call of BestFacadeVersion.

func (*MockAPICallerMockRecorder) ConnectControllerStream

func (mr *MockAPICallerMockRecorder) ConnectControllerStream(arg0, arg1, arg2, arg3 any) *MockAPICallerConnectControllerStreamCall

ConnectControllerStream indicates an expected call of ConnectControllerStream.

func (*MockAPICallerMockRecorder) ConnectStream

func (mr *MockAPICallerMockRecorder) ConnectStream(arg0, arg1, arg2 any) *MockAPICallerConnectStreamCall

ConnectStream indicates an expected call of ConnectStream.

func (*MockAPICallerMockRecorder) HTTPClient

HTTPClient indicates an expected call of HTTPClient.

func (*MockAPICallerMockRecorder) ModelTag

ModelTag indicates an expected call of ModelTag.

func (*MockAPICallerMockRecorder) RootHTTPClient

RootHTTPClient indicates an expected call of RootHTTPClient.

type MockAPICallerModelTagCall

type MockAPICallerModelTagCall struct {
	*gomock.Call
}

MockAPICallerModelTagCall wrap *gomock.Call

func (*MockAPICallerModelTagCall) Do

Do rewrite *gomock.Call.Do

func (*MockAPICallerModelTagCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockAPICallerModelTagCall) Return

Return rewrite *gomock.Call.Return

type MockAPICallerRootHTTPClientCall

type MockAPICallerRootHTTPClientCall struct {
	*gomock.Call
}

MockAPICallerRootHTTPClientCall wrap *gomock.Call

func (*MockAPICallerRootHTTPClientCall) Do

Do rewrite *gomock.Call.Do

func (*MockAPICallerRootHTTPClientCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockAPICallerRootHTTPClientCall) Return

Return rewrite *gomock.Call.Return

type MockClientFacade

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

MockClientFacade is a mock of ClientFacade interface.

func NewMockClientFacade

func NewMockClientFacade(ctrl *gomock.Controller) *MockClientFacade

NewMockClientFacade creates a new mock instance.

func (*MockClientFacade) BestAPIVersion

func (m *MockClientFacade) BestAPIVersion() int

BestAPIVersion mocks base method.

func (*MockClientFacade) Close

func (m *MockClientFacade) Close() error

Close mocks base method.

func (*MockClientFacade) EXPECT

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

type MockClientFacadeBestAPIVersionCall

type MockClientFacadeBestAPIVersionCall struct {
	*gomock.Call
}

MockClientFacadeBestAPIVersionCall wrap *gomock.Call

func (*MockClientFacadeBestAPIVersionCall) Do

Do rewrite *gomock.Call.Do

func (*MockClientFacadeBestAPIVersionCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockClientFacadeBestAPIVersionCall) Return

Return rewrite *gomock.Call.Return

type MockClientFacadeCloseCall

type MockClientFacadeCloseCall struct {
	*gomock.Call
}

MockClientFacadeCloseCall wrap *gomock.Call

func (*MockClientFacadeCloseCall) Do

Do rewrite *gomock.Call.Do

func (*MockClientFacadeCloseCall) DoAndReturn

func (c *MockClientFacadeCloseCall) DoAndReturn(f func() error) *MockClientFacadeCloseCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockClientFacadeCloseCall) Return

Return rewrite *gomock.Call.Return

type MockClientFacadeMockRecorder

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

MockClientFacadeMockRecorder is the mock recorder for MockClientFacade.

func (*MockClientFacadeMockRecorder) BestAPIVersion

BestAPIVersion indicates an expected call of BestAPIVersion.

func (*MockClientFacadeMockRecorder) Close

Close indicates an expected call of Close.

type MockFacadeCaller

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

MockFacadeCaller is a mock of FacadeCaller interface.

func NewMockFacadeCaller

func NewMockFacadeCaller(ctrl *gomock.Controller) *MockFacadeCaller

NewMockFacadeCaller creates a new mock instance.

func (*MockFacadeCaller) BestAPIVersion

func (m *MockFacadeCaller) BestAPIVersion() int

BestAPIVersion mocks base method.

func (*MockFacadeCaller) EXPECT

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

func (*MockFacadeCaller) FacadeCall

func (m *MockFacadeCaller) FacadeCall(arg0 context.Context, arg1 string, arg2, arg3 any) error

FacadeCall mocks base method.

func (*MockFacadeCaller) Name

func (m *MockFacadeCaller) Name() string

Name mocks base method.

func (*MockFacadeCaller) RawAPICaller

func (m *MockFacadeCaller) RawAPICaller() base.APICaller

RawAPICaller mocks base method.

type MockFacadeCallerBestAPIVersionCall

type MockFacadeCallerBestAPIVersionCall struct {
	*gomock.Call
}

MockFacadeCallerBestAPIVersionCall wrap *gomock.Call

func (*MockFacadeCallerBestAPIVersionCall) Do

Do rewrite *gomock.Call.Do

func (*MockFacadeCallerBestAPIVersionCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockFacadeCallerBestAPIVersionCall) Return

Return rewrite *gomock.Call.Return

type MockFacadeCallerFacadeCallCall

type MockFacadeCallerFacadeCallCall struct {
	*gomock.Call
}

MockFacadeCallerFacadeCallCall wrap *gomock.Call

func (*MockFacadeCallerFacadeCallCall) Do

Do rewrite *gomock.Call.Do

func (*MockFacadeCallerFacadeCallCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockFacadeCallerFacadeCallCall) Return

Return rewrite *gomock.Call.Return

type MockFacadeCallerMockRecorder

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

MockFacadeCallerMockRecorder is the mock recorder for MockFacadeCaller.

func (*MockFacadeCallerMockRecorder) BestAPIVersion

BestAPIVersion indicates an expected call of BestAPIVersion.

func (*MockFacadeCallerMockRecorder) FacadeCall

func (mr *MockFacadeCallerMockRecorder) FacadeCall(arg0, arg1, arg2, arg3 any) *MockFacadeCallerFacadeCallCall

FacadeCall indicates an expected call of FacadeCall.

func (*MockFacadeCallerMockRecorder) Name

Name indicates an expected call of Name.

func (*MockFacadeCallerMockRecorder) RawAPICaller

RawAPICaller indicates an expected call of RawAPICaller.

type MockFacadeCallerNameCall

type MockFacadeCallerNameCall struct {
	*gomock.Call
}

MockFacadeCallerNameCall wrap *gomock.Call

func (*MockFacadeCallerNameCall) Do

Do rewrite *gomock.Call.Do

func (*MockFacadeCallerNameCall) DoAndReturn

func (c *MockFacadeCallerNameCall) DoAndReturn(f func() string) *MockFacadeCallerNameCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockFacadeCallerNameCall) Return

Return rewrite *gomock.Call.Return

type MockFacadeCallerRawAPICallerCall

type MockFacadeCallerRawAPICallerCall struct {
	*gomock.Call
}

MockFacadeCallerRawAPICallerCall wrap *gomock.Call

func (*MockFacadeCallerRawAPICallerCall) Do

Do rewrite *gomock.Call.Do

func (*MockFacadeCallerRawAPICallerCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockFacadeCallerRawAPICallerCall) Return

Return rewrite *gomock.Call.Return

Jump to

Keyboard shortcuts

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