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 MockStateReadWriter ¶
type MockStateReadWriter struct {
// contains filtered or unexported fields
}
MockStateReadWriter is a mock of StateReadWriter interface
func NewMockStateReadWriter ¶
func NewMockStateReadWriter(ctrl *gomock.Controller) *MockStateReadWriter
NewMockStateReadWriter creates a new mock instance
func (*MockStateReadWriter) EXPECT ¶
func (m *MockStateReadWriter) EXPECT() *MockStateReadWriterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockStateReadWriter) Read ¶
func (m *MockStateReadWriter) Read() (*meterstatus.State, error)
Read mocks base method
func (*MockStateReadWriter) Write ¶
func (m *MockStateReadWriter) Write(arg0 *meterstatus.State) error
Write mocks base method
type MockStateReadWriterMockRecorder ¶
type MockStateReadWriterMockRecorder struct {
// contains filtered or unexported fields
}
MockStateReadWriterMockRecorder is the mock recorder for MockStateReadWriter
func (*MockStateReadWriterMockRecorder) Read ¶
func (mr *MockStateReadWriterMockRecorder) Read() *gomock.Call
Read indicates an expected call of Read
func (*MockStateReadWriterMockRecorder) Write ¶
func (mr *MockStateReadWriterMockRecorder) Write(arg0 interface{}) *gomock.Call
Write indicates an expected call of Write
type MockUnitStateAPI ¶
type MockUnitStateAPI struct {
// contains filtered or unexported fields
}
MockUnitStateAPI is a mock of UnitStateAPI interface
func NewMockUnitStateAPI ¶
func NewMockUnitStateAPI(ctrl *gomock.Controller) *MockUnitStateAPI
NewMockUnitStateAPI creates a new mock instance
func (*MockUnitStateAPI) EXPECT ¶
func (m *MockUnitStateAPI) EXPECT() *MockUnitStateAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockUnitStateAPI) SetState ¶
func (m *MockUnitStateAPI) SetState(arg0 params.SetUnitStateArg) error
SetState mocks base method
func (*MockUnitStateAPI) State ¶
func (m *MockUnitStateAPI) State() (params.UnitStateResult, error)
State mocks base method
type MockUnitStateAPIMockRecorder ¶
type MockUnitStateAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockUnitStateAPIMockRecorder is the mock recorder for MockUnitStateAPI
func (*MockUnitStateAPIMockRecorder) SetState ¶
func (mr *MockUnitStateAPIMockRecorder) SetState(arg0 interface{}) *gomock.Call
SetState indicates an expected call of SetState
func (*MockUnitStateAPIMockRecorder) State ¶
func (mr *MockUnitStateAPIMockRecorder) State() *gomock.Call
State indicates an expected call of State