mocks

package
v0.0.0-...-bfa9622 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 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.

func (*MockContext) State

func (m *MockContext) State() upgrades.StateBackend

State mocks base method.

func (*MockContext) StateContext

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

StateContext mocks base method.

type MockContextMockRecorder

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

MockContextMockRecorder is the mock recorder for MockContext.

func (*MockContextMockRecorder) APIContext

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

APIContext indicates an expected call of APIContext.

func (*MockContextMockRecorder) APIState

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

APIState indicates an expected call of APIState.

func (*MockContextMockRecorder) AgentConfig

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

AgentConfig indicates an expected call of AgentConfig.

func (*MockContextMockRecorder) State

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

State indicates an expected call of State.

func (*MockContextMockRecorder) StateContext

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

StateContext indicates an expected call of StateContext.

Jump to

Keyboard shortcuts

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