mocks

package
v0.0.0-...-3d086f3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 18, 2024 License: AGPL-3.0 Imports: 4 Imported by: 0

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

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 any) *gomock.Call

SetState indicates an expected call of SetState.

func (*MockUnitStateAPIMockRecorder) State

State indicates an expected call of State.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL