juju: github.com/juju/juju/worker/uniter/operation/mocks Index | Files

package mocks

import "github.com/juju/juju/worker/uniter/operation/mocks"

Package mocks is a generated GoMock package.

Index

Package Files

interface_mock.go

type MockFactory Uses

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

MockFactory is a mock of Factory interface

func NewMockFactory Uses

func NewMockFactory(ctrl *gomock.Controller) *MockFactory

NewMockFactory creates a new mock instance

func (*MockFactory) EXPECT Uses

func (m *MockFactory) EXPECT() *MockFactoryMockRecorder

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

func (*MockFactory) NewAcceptLeadership Uses

func (m *MockFactory) NewAcceptLeadership() (operation.Operation, error)

NewAcceptLeadership mocks base method

func (*MockFactory) NewAction Uses

func (m *MockFactory) NewAction(arg0 string) (operation.Operation, error)

NewAction mocks base method

func (*MockFactory) NewCommands Uses

func (m *MockFactory) NewCommands(arg0 operation.CommandArgs, arg1 operation.CommandResponseFunc) (operation.Operation, error)

NewCommands mocks base method

func (*MockFactory) NewFailAction Uses

func (m *MockFactory) NewFailAction(arg0 string) (operation.Operation, error)

NewFailAction mocks base method

func (*MockFactory) NewInstall Uses

func (m *MockFactory) NewInstall(arg0 *charm_v6.URL) (operation.Operation, error)

NewInstall mocks base method

func (*MockFactory) NewNoOpFinishUpgradeSeries Uses

func (m *MockFactory) NewNoOpFinishUpgradeSeries() (operation.Operation, error)

NewNoOpFinishUpgradeSeries mocks base method

func (*MockFactory) NewNoOpUpgrade Uses

func (m *MockFactory) NewNoOpUpgrade(arg0 *charm_v6.URL) (operation.Operation, error)

NewNoOpUpgrade mocks base method

func (*MockFactory) NewResignLeadership Uses

func (m *MockFactory) NewResignLeadership() (operation.Operation, error)

NewResignLeadership mocks base method

func (*MockFactory) NewResolvedUpgrade Uses

func (m *MockFactory) NewResolvedUpgrade(arg0 *charm_v6.URL) (operation.Operation, error)

NewResolvedUpgrade mocks base method

func (*MockFactory) NewRevertUpgrade Uses

func (m *MockFactory) NewRevertUpgrade(arg0 *charm_v6.URL) (operation.Operation, error)

NewRevertUpgrade mocks base method

func (*MockFactory) NewRunHook Uses

func (m *MockFactory) NewRunHook(arg0 hook.Info) (operation.Operation, error)

NewRunHook mocks base method

func (*MockFactory) NewSkipHook Uses

func (m *MockFactory) NewSkipHook(arg0 hook.Info) (operation.Operation, error)

NewSkipHook mocks base method

func (*MockFactory) NewUpgrade Uses

func (m *MockFactory) NewUpgrade(arg0 *charm_v6.URL) (operation.Operation, error)

NewUpgrade mocks base method

type MockFactoryMockRecorder Uses

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

MockFactoryMockRecorder is the mock recorder for MockFactory

func (*MockFactoryMockRecorder) NewAcceptLeadership Uses

func (mr *MockFactoryMockRecorder) NewAcceptLeadership() *gomock.Call

NewAcceptLeadership indicates an expected call of NewAcceptLeadership

func (*MockFactoryMockRecorder) NewAction Uses

func (mr *MockFactoryMockRecorder) NewAction(arg0 interface{}) *gomock.Call

NewAction indicates an expected call of NewAction

func (*MockFactoryMockRecorder) NewCommands Uses

func (mr *MockFactoryMockRecorder) NewCommands(arg0, arg1 interface{}) *gomock.Call

NewCommands indicates an expected call of NewCommands

func (*MockFactoryMockRecorder) NewFailAction Uses

func (mr *MockFactoryMockRecorder) NewFailAction(arg0 interface{}) *gomock.Call

NewFailAction indicates an expected call of NewFailAction

func (*MockFactoryMockRecorder) NewInstall Uses

func (mr *MockFactoryMockRecorder) NewInstall(arg0 interface{}) *gomock.Call

NewInstall indicates an expected call of NewInstall

func (*MockFactoryMockRecorder) NewNoOpFinishUpgradeSeries Uses

func (mr *MockFactoryMockRecorder) NewNoOpFinishUpgradeSeries() *gomock.Call

NewNoOpFinishUpgradeSeries indicates an expected call of NewNoOpFinishUpgradeSeries

func (*MockFactoryMockRecorder) NewNoOpUpgrade Uses

func (mr *MockFactoryMockRecorder) NewNoOpUpgrade(arg0 interface{}) *gomock.Call

NewNoOpUpgrade indicates an expected call of NewNoOpUpgrade

func (*MockFactoryMockRecorder) NewResignLeadership Uses

func (mr *MockFactoryMockRecorder) NewResignLeadership() *gomock.Call

NewResignLeadership indicates an expected call of NewResignLeadership

func (*MockFactoryMockRecorder) NewResolvedUpgrade Uses

func (mr *MockFactoryMockRecorder) NewResolvedUpgrade(arg0 interface{}) *gomock.Call

NewResolvedUpgrade indicates an expected call of NewResolvedUpgrade

func (*MockFactoryMockRecorder) NewRevertUpgrade Uses

func (mr *MockFactoryMockRecorder) NewRevertUpgrade(arg0 interface{}) *gomock.Call

NewRevertUpgrade indicates an expected call of NewRevertUpgrade

func (*MockFactoryMockRecorder) NewRunHook Uses

func (mr *MockFactoryMockRecorder) NewRunHook(arg0 interface{}) *gomock.Call

NewRunHook indicates an expected call of NewRunHook

func (*MockFactoryMockRecorder) NewSkipHook Uses

func (mr *MockFactoryMockRecorder) NewSkipHook(arg0 interface{}) *gomock.Call

NewSkipHook indicates an expected call of NewSkipHook

func (*MockFactoryMockRecorder) NewUpgrade Uses

func (mr *MockFactoryMockRecorder) NewUpgrade(arg0 interface{}) *gomock.Call

NewUpgrade indicates an expected call of NewUpgrade

type MockOperation Uses

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

MockOperation is a mock of Operation interface

func NewMockOperation Uses

func NewMockOperation(ctrl *gomock.Controller) *MockOperation

NewMockOperation creates a new mock instance

func (*MockOperation) Commit Uses

func (m *MockOperation) Commit(arg0 operation.State) (*operation.State, error)

Commit mocks base method

func (*MockOperation) EXPECT Uses

func (m *MockOperation) EXPECT() *MockOperationMockRecorder

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

func (*MockOperation) Execute Uses

func (m *MockOperation) Execute(arg0 operation.State) (*operation.State, error)

Execute mocks base method

func (*MockOperation) NeedsGlobalMachineLock Uses

func (m *MockOperation) NeedsGlobalMachineLock() bool

NeedsGlobalMachineLock mocks base method

func (*MockOperation) Prepare Uses

func (m *MockOperation) Prepare(arg0 operation.State) (*operation.State, error)

Prepare mocks base method

func (*MockOperation) String Uses

func (m *MockOperation) String() string

String mocks base method

type MockOperationMockRecorder Uses

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

MockOperationMockRecorder is the mock recorder for MockOperation

func (*MockOperationMockRecorder) Commit Uses

func (mr *MockOperationMockRecorder) Commit(arg0 interface{}) *gomock.Call

Commit indicates an expected call of Commit

func (*MockOperationMockRecorder) Execute Uses

func (mr *MockOperationMockRecorder) Execute(arg0 interface{}) *gomock.Call

Execute indicates an expected call of Execute

func (*MockOperationMockRecorder) NeedsGlobalMachineLock Uses

func (mr *MockOperationMockRecorder) NeedsGlobalMachineLock() *gomock.Call

NeedsGlobalMachineLock indicates an expected call of NeedsGlobalMachineLock

func (*MockOperationMockRecorder) Prepare Uses

func (mr *MockOperationMockRecorder) Prepare(arg0 interface{}) *gomock.Call

Prepare indicates an expected call of Prepare

func (*MockOperationMockRecorder) String Uses

func (mr *MockOperationMockRecorder) String() *gomock.Call

String indicates an expected call of String

Package mocks imports 5 packages (graph). Updated 2019-05-03. Refresh now. Tools for package owners.