Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockLeadershipMachine
- type MockLeadershipMachineMockRecorder
- type MockLeadershipPinningBackend
- type MockLeadershipPinningBackendMockRecorder
- type MockUpgradeSeriesBackend
- type MockUpgradeSeriesBackendMockRecorder
- type MockUpgradeSeriesMachine
- func (m *MockUpgradeSeriesMachine) EXPECT() *MockUpgradeSeriesMachineMockRecorder
- func (m *MockUpgradeSeriesMachine) RemoveUpgradeSeriesLock() error
- func (m *MockUpgradeSeriesMachine) Series() string
- func (m *MockUpgradeSeriesMachine) SetUpgradeSeriesStatus(arg0 model.UpgradeSeriesStatus, arg1 string) error
- func (m *MockUpgradeSeriesMachine) StartUpgradeSeriesUnitCompletion(arg0 string) error
- func (m *MockUpgradeSeriesMachine) Units() ([]common.UpgradeSeriesUnit, error)
- func (m *MockUpgradeSeriesMachine) UpdateMachineSeries(arg0 string, arg1 bool) error
- func (m *MockUpgradeSeriesMachine) UpgradeSeriesStatus() (model.UpgradeSeriesStatus, error)
- func (m *MockUpgradeSeriesMachine) UpgradeSeriesTarget() (string, error)
- func (m *MockUpgradeSeriesMachine) UpgradeSeriesUnitStatuses() (map[string]state.UpgradeSeriesUnitStatus, error)
- func (m *MockUpgradeSeriesMachine) WatchUpgradeSeriesNotifications() (state.NotifyWatcher, error)
- type MockUpgradeSeriesMachineMockRecorder
- func (mr *MockUpgradeSeriesMachineMockRecorder) RemoveUpgradeSeriesLock() *gomock.Call
- func (mr *MockUpgradeSeriesMachineMockRecorder) Series() *gomock.Call
- func (mr *MockUpgradeSeriesMachineMockRecorder) SetUpgradeSeriesStatus(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockUpgradeSeriesMachineMockRecorder) StartUpgradeSeriesUnitCompletion(arg0 interface{}) *gomock.Call
- func (mr *MockUpgradeSeriesMachineMockRecorder) Units() *gomock.Call
- func (mr *MockUpgradeSeriesMachineMockRecorder) UpdateMachineSeries(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockUpgradeSeriesMachineMockRecorder) UpgradeSeriesStatus() *gomock.Call
- func (mr *MockUpgradeSeriesMachineMockRecorder) UpgradeSeriesTarget() *gomock.Call
- func (mr *MockUpgradeSeriesMachineMockRecorder) UpgradeSeriesUnitStatuses() *gomock.Call
- func (mr *MockUpgradeSeriesMachineMockRecorder) WatchUpgradeSeriesNotifications() *gomock.Call
- type MockUpgradeSeriesUnit
- func (m *MockUpgradeSeriesUnit) AssignedMachineId() (string, error)
- func (m *MockUpgradeSeriesUnit) EXPECT() *MockUpgradeSeriesUnitMockRecorder
- func (m *MockUpgradeSeriesUnit) SetUpgradeSeriesStatus(arg0 model.UpgradeSeriesStatus, arg1 string) error
- func (m *MockUpgradeSeriesUnit) Tag() names_v2.Tag
- func (m *MockUpgradeSeriesUnit) UpgradeSeriesStatus() (model.UpgradeSeriesStatus, error)
- type MockUpgradeSeriesUnitMockRecorder
- func (mr *MockUpgradeSeriesUnitMockRecorder) AssignedMachineId() *gomock.Call
- func (mr *MockUpgradeSeriesUnitMockRecorder) SetUpgradeSeriesStatus(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockUpgradeSeriesUnitMockRecorder) Tag() *gomock.Call
- func (mr *MockUpgradeSeriesUnitMockRecorder) UpgradeSeriesStatus() *gomock.Call
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 ¶
func (m *MockLeadershipMachine) EXPECT() *MockLeadershipMachineMockRecorder
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 ¶
func (m *MockLeadershipPinningBackend) EXPECT() *MockLeadershipPinningBackendMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockLeadershipPinningBackend) Machine ¶
func (m *MockLeadershipPinningBackend) Machine(arg0 string) (common.LeadershipMachine, error)
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 ¶
func (m *MockUpgradeSeriesBackend) EXPECT() *MockUpgradeSeriesBackendMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockUpgradeSeriesBackend) Machine ¶
func (m *MockUpgradeSeriesBackend) Machine(arg0 string) (common.UpgradeSeriesMachine, error)
Machine mocks base method
func (*MockUpgradeSeriesBackend) Unit ¶
func (m *MockUpgradeSeriesBackend) Unit(arg0 string) (common.UpgradeSeriesUnit, error)
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 ¶
func (m *MockUpgradeSeriesMachine) EXPECT() *MockUpgradeSeriesMachineMockRecorder
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 ¶
func (m *MockUpgradeSeriesMachine) Units() ([]common.UpgradeSeriesUnit, error)
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 ¶
func (mr *MockUpgradeSeriesMachineMockRecorder) Series() *gomock.Call
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 ¶
func (mr *MockUpgradeSeriesMachineMockRecorder) Units() *gomock.Call
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 ¶
func (m *MockUpgradeSeriesUnit) EXPECT() *MockUpgradeSeriesUnitMockRecorder
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 ¶
func (m *MockUpgradeSeriesUnit) Tag() names_v2.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 ¶
func (mr *MockUpgradeSeriesUnitMockRecorder) Tag() *gomock.Call
Tag indicates an expected call of Tag
func (*MockUpgradeSeriesUnitMockRecorder) UpgradeSeriesStatus ¶
func (mr *MockUpgradeSeriesUnitMockRecorder) UpgradeSeriesStatus() *gomock.Call
UpgradeSeriesStatus indicates an expected call of UpgradeSeriesStatus