mocks

package
v0.0.0-...-8ff1004 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2019 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

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 MockLeadershipMachine

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

MockLeadershipMachine is a mock of LeadershipMachine interface

func NewMockLeadershipMachine

func NewMockLeadershipMachine(ctrl *gomock.Controller) *MockLeadershipMachine

NewMockLeadershipMachine creates a new mock instance

func (*MockLeadershipMachine) ApplicationNames

func (m *MockLeadershipMachine) ApplicationNames() ([]string, error)

ApplicationNames mocks base method

func (*MockLeadershipMachine) EXPECT

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

type MockLeadershipMachineMockRecorder

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

MockLeadershipMachineMockRecorder is the mock recorder for MockLeadershipMachine

func (*MockLeadershipMachineMockRecorder) ApplicationNames

func (mr *MockLeadershipMachineMockRecorder) ApplicationNames() *gomock.Call

ApplicationNames indicates an expected call of ApplicationNames

type MockLeadershipPinningBackend

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

MockLeadershipPinningBackend is a mock of LeadershipPinningBackend interface

func NewMockLeadershipPinningBackend

func NewMockLeadershipPinningBackend(ctrl *gomock.Controller) *MockLeadershipPinningBackend

NewMockLeadershipPinningBackend creates a new mock instance

func (*MockLeadershipPinningBackend) EXPECT

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

func (*MockLeadershipPinningBackend) Machine

Machine mocks base method

type MockLeadershipPinningBackendMockRecorder

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

MockLeadershipPinningBackendMockRecorder is the mock recorder for MockLeadershipPinningBackend

func (*MockLeadershipPinningBackendMockRecorder) Machine

func (mr *MockLeadershipPinningBackendMockRecorder) Machine(arg0 interface{}) *gomock.Call

Machine indicates an expected call of Machine

type MockUpgradeSeriesBackend

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

MockUpgradeSeriesBackend is a mock of UpgradeSeriesBackend interface

func NewMockUpgradeSeriesBackend

func NewMockUpgradeSeriesBackend(ctrl *gomock.Controller) *MockUpgradeSeriesBackend

NewMockUpgradeSeriesBackend creates a new mock instance

func (*MockUpgradeSeriesBackend) EXPECT

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

func (*MockUpgradeSeriesBackend) Machine

Machine mocks base method

func (*MockUpgradeSeriesBackend) Unit

Unit mocks base method

type MockUpgradeSeriesBackendMockRecorder

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

MockUpgradeSeriesBackendMockRecorder is the mock recorder for MockUpgradeSeriesBackend

func (*MockUpgradeSeriesBackendMockRecorder) Machine

func (mr *MockUpgradeSeriesBackendMockRecorder) Machine(arg0 interface{}) *gomock.Call

Machine indicates an expected call of Machine

func (*MockUpgradeSeriesBackendMockRecorder) Unit

func (mr *MockUpgradeSeriesBackendMockRecorder) Unit(arg0 interface{}) *gomock.Call

Unit indicates an expected call of Unit

type MockUpgradeSeriesMachine

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

MockUpgradeSeriesMachine is a mock of UpgradeSeriesMachine interface

func NewMockUpgradeSeriesMachine

func NewMockUpgradeSeriesMachine(ctrl *gomock.Controller) *MockUpgradeSeriesMachine

NewMockUpgradeSeriesMachine creates a new mock instance

func (*MockUpgradeSeriesMachine) EXPECT

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

func (*MockUpgradeSeriesMachine) RemoveUpgradeSeriesLock

func (m *MockUpgradeSeriesMachine) RemoveUpgradeSeriesLock() error

RemoveUpgradeSeriesLock mocks base method

func (*MockUpgradeSeriesMachine) Series

func (m *MockUpgradeSeriesMachine) Series() string

Series mocks base method

func (*MockUpgradeSeriesMachine) SetUpgradeSeriesStatus

func (m *MockUpgradeSeriesMachine) SetUpgradeSeriesStatus(arg0 model.UpgradeSeriesStatus, arg1 string) error

SetUpgradeSeriesStatus mocks base method

func (*MockUpgradeSeriesMachine) StartUpgradeSeriesUnitCompletion

func (m *MockUpgradeSeriesMachine) StartUpgradeSeriesUnitCompletion(arg0 string) error

StartUpgradeSeriesUnitCompletion mocks base method

func (*MockUpgradeSeriesMachine) Units

Units mocks base method

func (*MockUpgradeSeriesMachine) UpdateMachineSeries

func (m *MockUpgradeSeriesMachine) UpdateMachineSeries(arg0 string, arg1 bool) error

UpdateMachineSeries mocks base method

func (*MockUpgradeSeriesMachine) UpgradeSeriesStatus

func (m *MockUpgradeSeriesMachine) UpgradeSeriesStatus() (model.UpgradeSeriesStatus, error)

UpgradeSeriesStatus mocks base method

func (*MockUpgradeSeriesMachine) UpgradeSeriesTarget

func (m *MockUpgradeSeriesMachine) UpgradeSeriesTarget() (string, error)

UpgradeSeriesTarget mocks base method

func (*MockUpgradeSeriesMachine) UpgradeSeriesUnitStatuses

func (m *MockUpgradeSeriesMachine) UpgradeSeriesUnitStatuses() (map[string]state.UpgradeSeriesUnitStatus, error)

UpgradeSeriesUnitStatuses mocks base method

func (*MockUpgradeSeriesMachine) WatchUpgradeSeriesNotifications

func (m *MockUpgradeSeriesMachine) WatchUpgradeSeriesNotifications() (state.NotifyWatcher, error)

WatchUpgradeSeriesNotifications mocks base method

type MockUpgradeSeriesMachineMockRecorder

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

MockUpgradeSeriesMachineMockRecorder is the mock recorder for MockUpgradeSeriesMachine

func (*MockUpgradeSeriesMachineMockRecorder) RemoveUpgradeSeriesLock

func (mr *MockUpgradeSeriesMachineMockRecorder) RemoveUpgradeSeriesLock() *gomock.Call

RemoveUpgradeSeriesLock indicates an expected call of RemoveUpgradeSeriesLock

func (*MockUpgradeSeriesMachineMockRecorder) Series

Series indicates an expected call of Series

func (*MockUpgradeSeriesMachineMockRecorder) SetUpgradeSeriesStatus

func (mr *MockUpgradeSeriesMachineMockRecorder) SetUpgradeSeriesStatus(arg0, arg1 interface{}) *gomock.Call

SetUpgradeSeriesStatus indicates an expected call of SetUpgradeSeriesStatus

func (*MockUpgradeSeriesMachineMockRecorder) StartUpgradeSeriesUnitCompletion

func (mr *MockUpgradeSeriesMachineMockRecorder) StartUpgradeSeriesUnitCompletion(arg0 interface{}) *gomock.Call

StartUpgradeSeriesUnitCompletion indicates an expected call of StartUpgradeSeriesUnitCompletion

func (*MockUpgradeSeriesMachineMockRecorder) Units

Units indicates an expected call of Units

func (*MockUpgradeSeriesMachineMockRecorder) UpdateMachineSeries

func (mr *MockUpgradeSeriesMachineMockRecorder) UpdateMachineSeries(arg0, arg1 interface{}) *gomock.Call

UpdateMachineSeries indicates an expected call of UpdateMachineSeries

func (*MockUpgradeSeriesMachineMockRecorder) UpgradeSeriesStatus

func (mr *MockUpgradeSeriesMachineMockRecorder) UpgradeSeriesStatus() *gomock.Call

UpgradeSeriesStatus indicates an expected call of UpgradeSeriesStatus

func (*MockUpgradeSeriesMachineMockRecorder) UpgradeSeriesTarget

func (mr *MockUpgradeSeriesMachineMockRecorder) UpgradeSeriesTarget() *gomock.Call

UpgradeSeriesTarget indicates an expected call of UpgradeSeriesTarget

func (*MockUpgradeSeriesMachineMockRecorder) UpgradeSeriesUnitStatuses

func (mr *MockUpgradeSeriesMachineMockRecorder) UpgradeSeriesUnitStatuses() *gomock.Call

UpgradeSeriesUnitStatuses indicates an expected call of UpgradeSeriesUnitStatuses

func (*MockUpgradeSeriesMachineMockRecorder) WatchUpgradeSeriesNotifications

func (mr *MockUpgradeSeriesMachineMockRecorder) WatchUpgradeSeriesNotifications() *gomock.Call

WatchUpgradeSeriesNotifications indicates an expected call of WatchUpgradeSeriesNotifications

type MockUpgradeSeriesUnit

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

MockUpgradeSeriesUnit is a mock of UpgradeSeriesUnit interface

func NewMockUpgradeSeriesUnit

func NewMockUpgradeSeriesUnit(ctrl *gomock.Controller) *MockUpgradeSeriesUnit

NewMockUpgradeSeriesUnit creates a new mock instance

func (*MockUpgradeSeriesUnit) AssignedMachineId

func (m *MockUpgradeSeriesUnit) AssignedMachineId() (string, error)

AssignedMachineId mocks base method

func (*MockUpgradeSeriesUnit) EXPECT

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

func (*MockUpgradeSeriesUnit) SetUpgradeSeriesStatus

func (m *MockUpgradeSeriesUnit) SetUpgradeSeriesStatus(arg0 model.UpgradeSeriesStatus, arg1 string) error

SetUpgradeSeriesStatus mocks base method

func (*MockUpgradeSeriesUnit) Tag

Tag mocks base method

func (*MockUpgradeSeriesUnit) UpgradeSeriesStatus

func (m *MockUpgradeSeriesUnit) UpgradeSeriesStatus() (model.UpgradeSeriesStatus, error)

UpgradeSeriesStatus mocks base method

type MockUpgradeSeriesUnitMockRecorder

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

MockUpgradeSeriesUnitMockRecorder is the mock recorder for MockUpgradeSeriesUnit

func (*MockUpgradeSeriesUnitMockRecorder) AssignedMachineId

func (mr *MockUpgradeSeriesUnitMockRecorder) AssignedMachineId() *gomock.Call

AssignedMachineId indicates an expected call of AssignedMachineId

func (*MockUpgradeSeriesUnitMockRecorder) SetUpgradeSeriesStatus

func (mr *MockUpgradeSeriesUnitMockRecorder) SetUpgradeSeriesStatus(arg0, arg1 interface{}) *gomock.Call

SetUpgradeSeriesStatus indicates an expected call of SetUpgradeSeriesStatus

func (*MockUpgradeSeriesUnitMockRecorder) Tag

Tag indicates an expected call of Tag

func (*MockUpgradeSeriesUnitMockRecorder) UpgradeSeriesStatus

func (mr *MockUpgradeSeriesUnitMockRecorder) UpgradeSeriesStatus() *gomock.Call

UpgradeSeriesStatus indicates an expected call of UpgradeSeriesStatus

Jump to

Keyboard shortcuts

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