juju: github.com/juju/juju/apiserver/facades/agent/upgradesteps/mocks Index | Files

package mocks

import "github.com/juju/juju/apiserver/facades/agent/upgradesteps/mocks"

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Package Files

state_mock.go upgradesteps_mock.go

type MockEntity Uses

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

MockEntity is a mock of Entity interface

func NewMockEntity Uses

func NewMockEntity(ctrl *gomock.Controller) *MockEntity

NewMockEntity creates a new mock instance

func (*MockEntity) EXPECT Uses

func (m *MockEntity) EXPECT() *MockEntityMockRecorder

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

func (*MockEntity) Tag Uses

func (m *MockEntity) Tag() names_v3.Tag

Tag mocks base method

type MockEntityFinder Uses

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

MockEntityFinder is a mock of EntityFinder interface

func NewMockEntityFinder Uses

func NewMockEntityFinder(ctrl *gomock.Controller) *MockEntityFinder

NewMockEntityFinder creates a new mock instance

func (*MockEntityFinder) EXPECT Uses

func (m *MockEntityFinder) EXPECT() *MockEntityFinderMockRecorder

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

func (*MockEntityFinder) FindEntity Uses

func (m *MockEntityFinder) FindEntity(arg0 names_v3.Tag) (state.Entity, error)

FindEntity mocks base method

type MockEntityFinderMockRecorder Uses

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

MockEntityFinderMockRecorder is the mock recorder for MockEntityFinder

func (*MockEntityFinderMockRecorder) FindEntity Uses

func (mr *MockEntityFinderMockRecorder) FindEntity(arg0 interface{}) *gomock.Call

FindEntity indicates an expected call of FindEntity

type MockEntityMockRecorder Uses

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

MockEntityMockRecorder is the mock recorder for MockEntity

func (*MockEntityMockRecorder) Tag Uses

func (mr *MockEntityMockRecorder) Tag() *gomock.Call

Tag indicates an expected call of Tag

type MockMachine Uses

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

MockMachine is a mock of Machine interface

func NewMockMachine Uses

func NewMockMachine(ctrl *gomock.Controller) *MockMachine

NewMockMachine creates a new mock instance

func (*MockMachine) ContainerType Uses

func (m *MockMachine) ContainerType() instance.ContainerType

ContainerType mocks base method

func (*MockMachine) EXPECT Uses

func (m *MockMachine) EXPECT() *MockMachineMockRecorder

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

func (*MockMachine) ModificationStatus Uses

func (m *MockMachine) ModificationStatus() (status.StatusInfo, error)

ModificationStatus mocks base method

func (*MockMachine) SetModificationStatus Uses

func (m *MockMachine) SetModificationStatus(arg0 status.StatusInfo) error

SetModificationStatus mocks base method

type MockMachineMockRecorder Uses

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

MockMachineMockRecorder is the mock recorder for MockMachine

func (*MockMachineMockRecorder) ContainerType Uses

func (mr *MockMachineMockRecorder) ContainerType() *gomock.Call

ContainerType indicates an expected call of ContainerType

func (*MockMachineMockRecorder) ModificationStatus Uses

func (mr *MockMachineMockRecorder) ModificationStatus() *gomock.Call

ModificationStatus indicates an expected call of ModificationStatus

func (*MockMachineMockRecorder) SetModificationStatus Uses

func (mr *MockMachineMockRecorder) SetModificationStatus(arg0 interface{}) *gomock.Call

SetModificationStatus indicates an expected call of SetModificationStatus

type MockUpgradeStepsState Uses

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

MockUpgradeStepsState is a mock of UpgradeStepsState interface

func NewMockUpgradeStepsState Uses

func NewMockUpgradeStepsState(ctrl *gomock.Controller) *MockUpgradeStepsState

NewMockUpgradeStepsState creates a new mock instance

func (*MockUpgradeStepsState) EXPECT Uses

func (m *MockUpgradeStepsState) EXPECT() *MockUpgradeStepsStateMockRecorder

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

func (*MockUpgradeStepsState) FindEntity Uses

func (m *MockUpgradeStepsState) FindEntity(arg0 names_v3.Tag) (state.Entity, error)

FindEntity mocks base method

type MockUpgradeStepsStateMockRecorder Uses

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

MockUpgradeStepsStateMockRecorder is the mock recorder for MockUpgradeStepsState

func (*MockUpgradeStepsStateMockRecorder) FindEntity Uses

func (mr *MockUpgradeStepsStateMockRecorder) FindEntity(arg0 interface{}) *gomock.Call

FindEntity indicates an expected call of FindEntity

Package mocks imports 6 packages (graph). Updated 2019-08-28. Refresh now. Tools for package owners.