Documentation
¶
Overview ¶
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
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.