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

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

func (*MockStateReadWriter) Read

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

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

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

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

State indicates an expected call of State