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: 5 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 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) APIContext

func (m *MockContext) APIContext() upgrades.Context

APIContext mocks base method.

func (*MockContext) APIState

func (m *MockContext) APIState() base.APICaller

APIState mocks base method.

func (*MockContext) AgentConfig

func (m *MockContext) AgentConfig() agent.ConfigSetter

AgentConfig mocks base method.

func (*MockContext) EXPECT

func (m *MockContext) EXPECT() *MockContextMockRecorder

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

type MockContextAPIContextCall

type MockContextAPIContextCall struct {
	*gomock.Call
}

MockContextAPIContextCall wrap *gomock.Call

func (*MockContextAPIContextCall) Do

Do rewrite *gomock.Call.Do

func (*MockContextAPIContextCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockContextAPIContextCall) Return

Return rewrite *gomock.Call.Return

type MockContextAPIStateCall

type MockContextAPIStateCall struct {
	*gomock.Call
}

MockContextAPIStateCall wrap *gomock.Call

func (*MockContextAPIStateCall) Do

Do rewrite *gomock.Call.Do

func (*MockContextAPIStateCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockContextAPIStateCall) Return

Return rewrite *gomock.Call.Return

type MockContextAgentConfigCall

type MockContextAgentConfigCall struct {
	*gomock.Call
}

MockContextAgentConfigCall wrap *gomock.Call

func (*MockContextAgentConfigCall) Do

Do rewrite *gomock.Call.Do

func (*MockContextAgentConfigCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockContextAgentConfigCall) Return

Return rewrite *gomock.Call.Return

type MockContextMockRecorder

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

MockContextMockRecorder is the mock recorder for MockContext.

func (*MockContextMockRecorder) APIContext

APIContext indicates an expected call of APIContext.

func (*MockContextMockRecorder) APIState

APIState indicates an expected call of APIState.

func (*MockContextMockRecorder) AgentConfig

AgentConfig indicates an expected call of AgentConfig.

Jump to

Keyboard shortcuts

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