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: 9 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

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

ConnectControllerStream mocks base method.

func (*MockAPICallCloser) ConnectStream

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

ConnectStream mocks base method.

func (*MockAPICallCloser) Context

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

Context 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 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 any) *gomock.Call

APICall indicates an expected call of APICall.

func (*MockAPICallCloserMockRecorder) BakeryClient

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

BakeryClient indicates an expected call of BakeryClient.

func (*MockAPICallCloserMockRecorder) BestFacadeVersion

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

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 any) *gomock.Call

ConnectControllerStream indicates an expected call of ConnectControllerStream.

func (*MockAPICallCloserMockRecorder) ConnectStream

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

ConnectStream indicates an expected call of ConnectStream.

func (*MockAPICallCloserMockRecorder) Context

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

Context indicates an expected call of Context.

func (*MockAPICallCloserMockRecorder) HTTPClient

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

HTTPClient indicates an expected call of HTTPClient.

func (*MockAPICallCloserMockRecorder) ModelTag

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

ModelTag indicates an expected call of ModelTag.

func (*MockAPICallCloserMockRecorder) RootHTTPClient

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

RootHTTPClient indicates an expected call of RootHTTPClient.

type MockContext

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

MockContext is a mock of Context interface.

func NewMockContext

func NewMockContext(ctrl *gomock.Controller) *MockContext

NewMockContext creates a new mock instance.

func (*MockContext) Deadline

func (m *MockContext) Deadline() (time.Time, bool)

Deadline mocks base method.

func (*MockContext) Done

func (m *MockContext) Done() <-chan struct{}

Done mocks base method.

func (*MockContext) EXPECT

func (m *MockContext) EXPECT() *MockContextMockRecorder

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

func (*MockContext) Err

func (m *MockContext) Err() error

Err mocks base method.

func (*MockContext) Value

func (m *MockContext) Value(arg0 any) any

Value mocks base method.

type MockContextMockRecorder

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

MockContextMockRecorder is the mock recorder for MockContext.

func (*MockContextMockRecorder) Deadline

func (mr *MockContextMockRecorder) Deadline() *gomock.Call

Deadline indicates an expected call of Deadline.

func (*MockContextMockRecorder) Done

func (mr *MockContextMockRecorder) Done() *gomock.Call

Done indicates an expected call of Done.

func (*MockContextMockRecorder) Err

func (mr *MockContextMockRecorder) Err() *gomock.Call

Err indicates an expected call of Err.

func (*MockContextMockRecorder) Value

func (mr *MockContextMockRecorder) Value(arg0 any) *gomock.Call

Value indicates an expected call of Value.

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