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 ¶
MockContextAPIContextCall wrap *gomock.Call
func (*MockContextAPIContextCall) Do ¶
func (c *MockContextAPIContextCall) Do(f func() upgrades.Context) *MockContextAPIContextCall
Do rewrite *gomock.Call.Do
func (*MockContextAPIContextCall) DoAndReturn ¶
func (c *MockContextAPIContextCall) DoAndReturn(f func() upgrades.Context) *MockContextAPIContextCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockContextAPIContextCall) Return ¶
func (c *MockContextAPIContextCall) Return(arg0 upgrades.Context) *MockContextAPIContextCall
Return rewrite *gomock.Call.Return
type MockContextAPIStateCall ¶
MockContextAPIStateCall wrap *gomock.Call
func (*MockContextAPIStateCall) Do ¶
func (c *MockContextAPIStateCall) Do(f func() base.APICaller) *MockContextAPIStateCall
Do rewrite *gomock.Call.Do
func (*MockContextAPIStateCall) DoAndReturn ¶
func (c *MockContextAPIStateCall) DoAndReturn(f func() base.APICaller) *MockContextAPIStateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockContextAPIStateCall) Return ¶
func (c *MockContextAPIStateCall) Return(arg0 base.APICaller) *MockContextAPIStateCall
Return rewrite *gomock.Call.Return
type MockContextAgentConfigCall ¶
MockContextAgentConfigCall wrap *gomock.Call
func (*MockContextAgentConfigCall) Do ¶
func (c *MockContextAgentConfigCall) Do(f func() agent.ConfigSetter) *MockContextAgentConfigCall
Do rewrite *gomock.Call.Do
func (*MockContextAgentConfigCall) DoAndReturn ¶
func (c *MockContextAgentConfigCall) DoAndReturn(f func() agent.ConfigSetter) *MockContextAgentConfigCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockContextAgentConfigCall) Return ¶
func (c *MockContextAgentConfigCall) Return(arg0 agent.ConfigSetter) *MockContextAgentConfigCall
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 ¶
func (mr *MockContextMockRecorder) APIContext() *MockContextAPIContextCall
APIContext indicates an expected call of APIContext.
func (*MockContextMockRecorder) APIState ¶
func (mr *MockContextMockRecorder) APIState() *MockContextAPIStateCall
APIState indicates an expected call of APIState.
func (*MockContextMockRecorder) AgentConfig ¶
func (mr *MockContextMockRecorder) AgentConfig() *MockContextAgentConfigCall
AgentConfig indicates an expected call of AgentConfig.