mocks

package
v0.0.0-...-0a82276 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 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 MockDoer

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

MockDoer is a mock of Doer interface.

func NewMockDoer

func NewMockDoer(ctrl *gomock.Controller) *MockDoer

NewMockDoer creates a new mock instance.

func (*MockDoer) Do

func (m *MockDoer) Do(arg0 *http.Request) (*http.Response, error)

Do mocks base method.

func (*MockDoer) EXPECT

func (m *MockDoer) EXPECT() *MockDoerMockRecorder

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

type MockDoerDoCall

type MockDoerDoCall struct {
	*gomock.Call
}

MockDoerDoCall wrap *gomock.Call

func (*MockDoerDoCall) Do

Do rewrite *gomock.Call.Do

func (*MockDoerDoCall) DoAndReturn

func (c *MockDoerDoCall) DoAndReturn(f func(*http.Request) (*http.Response, error)) *MockDoerDoCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockDoerDoCall) Return

func (c *MockDoerDoCall) Return(arg0 *http.Response, arg1 error) *MockDoerDoCall

Return rewrite *gomock.Call.Return

type MockDoerMockRecorder

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

MockDoerMockRecorder is the mock recorder for MockDoer.

func (*MockDoerMockRecorder) Do

func (mr *MockDoerMockRecorder) Do(arg0 any) *MockDoerDoCall

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