Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockContext
- func (m *MockContext) APIContext() upgrades.Context
- func (m *MockContext) APIState() base.APICaller
- func (m *MockContext) AgentConfig() agent.ConfigSetter
- func (m *MockContext) EXPECT() *MockContextMockRecorder
- func (m *MockContext) State() upgrades.StateBackend
- func (m *MockContext) StateContext() upgrades.Context
- type MockContextMockRecorder
- func (mr *MockContextMockRecorder) APIContext() *gomock.Call
- func (mr *MockContextMockRecorder) APIState() *gomock.Call
- func (mr *MockContextMockRecorder) AgentConfig() *gomock.Call
- func (mr *MockContextMockRecorder) State() *gomock.Call
- func (mr *MockContextMockRecorder) StateContext() *gomock.Call
- type MockUpgradeStepsClient
- type MockUpgradeStepsClientMockRecorder
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 ¶
func (m *MockUpgradeStepsClient) EXPECT() *MockUpgradeStepsClientMockRecorder
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.