juju: github.com/wallyworld/juju/worker/meterstatus/mocks Index | Files

package mocks

import "github.com/wallyworld/juju/worker/meterstatus/mocks"

Package mocks is a generated GoMock package.

Index

Package Files

interface_mock.go

type MockStateReadWriter Uses

type MockStateReadWriter struct {
    // contains filtered or unexported fields
}

MockStateReadWriter is a mock of StateReadWriter interface

func NewMockStateReadWriter Uses

func NewMockStateReadWriter(ctrl *gomock.Controller) *MockStateReadWriter

NewMockStateReadWriter creates a new mock instance

func (*MockStateReadWriter) EXPECT Uses

func (m *MockStateReadWriter) EXPECT() *MockStateReadWriterMockRecorder

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

func (*MockStateReadWriter) Read Uses

func (m *MockStateReadWriter) Read() (*meterstatus.State, error)

Read mocks base method

func (*MockStateReadWriter) Write Uses

func (m *MockStateReadWriter) Write(arg0 *meterstatus.State) error

Write mocks base method

type MockStateReadWriterMockRecorder Uses

type MockStateReadWriterMockRecorder struct {
    // contains filtered or unexported fields
}

MockStateReadWriterMockRecorder is the mock recorder for MockStateReadWriter

func (*MockStateReadWriterMockRecorder) Read Uses

func (mr *MockStateReadWriterMockRecorder) Read() *gomock.Call

Read indicates an expected call of Read

func (*MockStateReadWriterMockRecorder) Write Uses

func (mr *MockStateReadWriterMockRecorder) Write(arg0 interface{}) *gomock.Call

Write indicates an expected call of Write

type MockUnitStateAPI Uses

type MockUnitStateAPI struct {
    // contains filtered or unexported fields
}

MockUnitStateAPI is a mock of UnitStateAPI interface

func NewMockUnitStateAPI Uses

func NewMockUnitStateAPI(ctrl *gomock.Controller) *MockUnitStateAPI

NewMockUnitStateAPI creates a new mock instance

func (*MockUnitStateAPI) EXPECT Uses

func (m *MockUnitStateAPI) EXPECT() *MockUnitStateAPIMockRecorder

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

func (*MockUnitStateAPI) SetState Uses

func (m *MockUnitStateAPI) SetState(arg0 params.SetUnitStateArg) error

SetState mocks base method

func (*MockUnitStateAPI) State Uses

func (m *MockUnitStateAPI) State() (params.UnitStateResult, error)

State mocks base method

type MockUnitStateAPIMockRecorder Uses

type MockUnitStateAPIMockRecorder struct {
    // contains filtered or unexported fields
}

MockUnitStateAPIMockRecorder is the mock recorder for MockUnitStateAPI

func (*MockUnitStateAPIMockRecorder) SetState Uses

func (mr *MockUnitStateAPIMockRecorder) SetState(arg0 interface{}) *gomock.Call

SetState indicates an expected call of SetState

func (*MockUnitStateAPIMockRecorder) State Uses

func (mr *MockUnitStateAPIMockRecorder) State() *gomock.Call

State indicates an expected call of State

Package mocks imports 4 packages (graph). Updated 2020-05-04. Refresh now. Tools for package owners.