mocks

package
v0.0.0-...-9ec3720 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2021 License: AGPL-3.0 Imports: 6 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 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

type MockUpgradeStepsClient

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

MockUpgradeStepsClient is a mock of UpgradeStepsClient interface

func NewMockUpgradeStepsClient

func NewMockUpgradeStepsClient(ctrl *gomock.Controller) *MockUpgradeStepsClient

NewMockUpgradeStepsClient creates a new mock instance

func (*MockUpgradeStepsClient) EXPECT

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

func (*MockUpgradeStepsClient) WriteAgentState

func (m *MockUpgradeStepsClient) WriteAgentState(arg0 []params.SetUnitStateArg) error

WriteAgentState mocks base method

type MockUpgradeStepsClientMockRecorder

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

MockUpgradeStepsClientMockRecorder is the mock recorder for MockUpgradeStepsClient

func (*MockUpgradeStepsClientMockRecorder) WriteAgentState

func (mr *MockUpgradeStepsClientMockRecorder) WriteAgentState(arg0 interface{}) *gomock.Call

WriteAgentState indicates an expected call of WriteAgentState

Jump to

Keyboard shortcuts

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