Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockLXDProfileBackend
- type MockLXDProfileBackendMockRecorder
- type MockLXDProfileMachine
- func (m *MockLXDProfileMachine) EXPECT() *MockLXDProfileMachineMockRecorder
- func (m *MockLXDProfileMachine) RemoveUpgradeCharmProfileData() error
- func (m *MockLXDProfileMachine) Units() ([]uniter.LXDProfileUnit, error)
- func (m *MockLXDProfileMachine) WatchLXDProfileUpgradeNotifications(arg0 string) (state.StringsWatcher, error)
- type MockLXDProfileMachineMockRecorder
- type MockLXDProfileUnit
- type MockLXDProfileUnitMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockLXDProfileBackend ¶
type MockLXDProfileBackend struct {
// contains filtered or unexported fields
}
MockLXDProfileBackend is a mock of LXDProfileBackend interface
func NewMockLXDProfileBackend ¶
func NewMockLXDProfileBackend(ctrl *gomock.Controller) *MockLXDProfileBackend
NewMockLXDProfileBackend creates a new mock instance
func (*MockLXDProfileBackend) EXPECT ¶
func (m *MockLXDProfileBackend) EXPECT() *MockLXDProfileBackendMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockLXDProfileBackend) Machine ¶
func (m *MockLXDProfileBackend) Machine(arg0 string) (uniter.LXDProfileMachine, error)
Machine mocks base method
func (*MockLXDProfileBackend) Unit ¶
func (m *MockLXDProfileBackend) Unit(arg0 string) (uniter.LXDProfileUnit, error)
Unit mocks base method
type MockLXDProfileBackendMockRecorder ¶
type MockLXDProfileBackendMockRecorder struct {
// contains filtered or unexported fields
}
MockLXDProfileBackendMockRecorder is the mock recorder for MockLXDProfileBackend
func (*MockLXDProfileBackendMockRecorder) Machine ¶
func (mr *MockLXDProfileBackendMockRecorder) Machine(arg0 interface{}) *gomock.Call
Machine indicates an expected call of Machine
func (*MockLXDProfileBackendMockRecorder) Unit ¶
func (mr *MockLXDProfileBackendMockRecorder) Unit(arg0 interface{}) *gomock.Call
Unit indicates an expected call of Unit
type MockLXDProfileMachine ¶
type MockLXDProfileMachine struct {
// contains filtered or unexported fields
}
MockLXDProfileMachine is a mock of LXDProfileMachine interface
func NewMockLXDProfileMachine ¶
func NewMockLXDProfileMachine(ctrl *gomock.Controller) *MockLXDProfileMachine
NewMockLXDProfileMachine creates a new mock instance
func (*MockLXDProfileMachine) EXPECT ¶
func (m *MockLXDProfileMachine) EXPECT() *MockLXDProfileMachineMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockLXDProfileMachine) RemoveUpgradeCharmProfileData ¶
func (m *MockLXDProfileMachine) RemoveUpgradeCharmProfileData() error
RemoveUpgradeCharmProfileData mocks base method
func (*MockLXDProfileMachine) Units ¶
func (m *MockLXDProfileMachine) Units() ([]uniter.LXDProfileUnit, error)
Units mocks base method
func (*MockLXDProfileMachine) WatchLXDProfileUpgradeNotifications ¶
func (m *MockLXDProfileMachine) WatchLXDProfileUpgradeNotifications(arg0 string) (state.StringsWatcher, error)
WatchLXDProfileUpgradeNotifications mocks base method
type MockLXDProfileMachineMockRecorder ¶
type MockLXDProfileMachineMockRecorder struct {
// contains filtered or unexported fields
}
MockLXDProfileMachineMockRecorder is the mock recorder for MockLXDProfileMachine
func (*MockLXDProfileMachineMockRecorder) RemoveUpgradeCharmProfileData ¶
func (mr *MockLXDProfileMachineMockRecorder) RemoveUpgradeCharmProfileData() *gomock.Call
RemoveUpgradeCharmProfileData indicates an expected call of RemoveUpgradeCharmProfileData
func (*MockLXDProfileMachineMockRecorder) Units ¶
func (mr *MockLXDProfileMachineMockRecorder) Units() *gomock.Call
Units indicates an expected call of Units
func (*MockLXDProfileMachineMockRecorder) WatchLXDProfileUpgradeNotifications ¶
func (mr *MockLXDProfileMachineMockRecorder) WatchLXDProfileUpgradeNotifications(arg0 interface{}) *gomock.Call
WatchLXDProfileUpgradeNotifications indicates an expected call of WatchLXDProfileUpgradeNotifications
type MockLXDProfileUnit ¶
type MockLXDProfileUnit struct {
// contains filtered or unexported fields
}
MockLXDProfileUnit is a mock of LXDProfileUnit interface
func NewMockLXDProfileUnit ¶
func NewMockLXDProfileUnit(ctrl *gomock.Controller) *MockLXDProfileUnit
NewMockLXDProfileUnit creates a new mock instance
func (*MockLXDProfileUnit) AssignedMachineId ¶
func (m *MockLXDProfileUnit) AssignedMachineId() (string, error)
AssignedMachineId mocks base method
func (*MockLXDProfileUnit) EXPECT ¶
func (m *MockLXDProfileUnit) EXPECT() *MockLXDProfileUnitMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockLXDProfileUnit) Tag ¶
func (m *MockLXDProfileUnit) Tag() names_v2.Tag
Tag mocks base method
type MockLXDProfileUnitMockRecorder ¶
type MockLXDProfileUnitMockRecorder struct {
// contains filtered or unexported fields
}
MockLXDProfileUnitMockRecorder is the mock recorder for MockLXDProfileUnit
func (*MockLXDProfileUnitMockRecorder) AssignedMachineId ¶
func (mr *MockLXDProfileUnitMockRecorder) AssignedMachineId() *gomock.Call
AssignedMachineId indicates an expected call of AssignedMachineId
func (*MockLXDProfileUnitMockRecorder) Tag ¶
func (mr *MockLXDProfileUnitMockRecorder) Tag() *gomock.Call
Tag indicates an expected call of Tag