mocks

package
v0.0.0-...-9ec3720 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2021 License: AGPL-3.0 Imports: 3 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 MockModel

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

MockModel is a mock of Model interface

func NewMockModel

func NewMockModel(ctrl *gomock.Controller) *MockModel

NewMockModel creates a new mock instance

func (*MockModel) EXPECT

func (m *MockModel) EXPECT() *MockModelMockRecorder

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

func (*MockModel) IsControllerModel

func (m *MockModel) IsControllerModel() bool

IsControllerModel mocks base method

type MockModelMockRecorder

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

MockModelMockRecorder is the mock recorder for MockModel

func (*MockModelMockRecorder) IsControllerModel

func (mr *MockModelMockRecorder) IsControllerModel() *gomock.Call

IsControllerModel indicates an expected call of IsControllerModel

type MockState

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

MockState is a mock of State interface

func NewMockState

func NewMockState(ctrl *gomock.Controller) *MockState

NewMockState creates a new mock instance

func (*MockState) EXPECT

func (m *MockState) EXPECT() *MockStateMockRecorder

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

func (*MockState) HasUpgradeSeriesLocks

func (m *MockState) HasUpgradeSeriesLocks() (bool, error)

HasUpgradeSeriesLocks mocks base method

func (*MockState) Model

func (m *MockState) Model() (modelmanager.Model, error)

Model mocks base method

func (*MockState) Release

func (m *MockState) Release() bool

Release mocks base method

type MockStateMockRecorder

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

MockStateMockRecorder is the mock recorder for MockState

func (*MockStateMockRecorder) HasUpgradeSeriesLocks

func (mr *MockStateMockRecorder) HasUpgradeSeriesLocks() *gomock.Call

HasUpgradeSeriesLocks indicates an expected call of HasUpgradeSeriesLocks

func (*MockStateMockRecorder) Model

func (mr *MockStateMockRecorder) Model() *gomock.Call

Model indicates an expected call of Model

func (*MockStateMockRecorder) Release

func (mr *MockStateMockRecorder) Release() *gomock.Call

Release indicates an expected call of Release

type MockStatePool

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

MockStatePool is a mock of StatePool interface

func NewMockStatePool

func NewMockStatePool(ctrl *gomock.Controller) *MockStatePool

NewMockStatePool creates a new mock instance

func (*MockStatePool) EXPECT

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

func (*MockStatePool) Get

func (m *MockStatePool) Get(arg0 string) (modelmanager.State, error)

Get mocks base method

type MockStatePoolMockRecorder

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

MockStatePoolMockRecorder is the mock recorder for MockStatePool

func (*MockStatePoolMockRecorder) Get

func (mr *MockStatePoolMockRecorder) Get(arg0 interface{}) *gomock.Call

Get indicates an expected call of Get

Jump to

Keyboard shortcuts

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