Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockLXDProfileBackend
- type MockLXDProfileBackendMockRecorder
- type MockLXDProfileBackendV2
- func (m *MockLXDProfileBackendV2) Charm(arg0 *charm.URL) (uniter.LXDProfileCharmV2, error)
- func (m *MockLXDProfileBackendV2) EXPECT() *MockLXDProfileBackendV2MockRecorder
- func (m *MockLXDProfileBackendV2) Machine(arg0 string) (uniter.LXDProfileMachineV2, error)
- func (m *MockLXDProfileBackendV2) Model() (uniter.LXDProfileModelV2, error)
- func (m *MockLXDProfileBackendV2) Unit(arg0 string) (uniter.LXDProfileUnitV2, error)
- type MockLXDProfileBackendV2MockRecorder
- func (mr *MockLXDProfileBackendV2MockRecorder) Charm(arg0 interface{}) *gomock.Call
- func (mr *MockLXDProfileBackendV2MockRecorder) Machine(arg0 interface{}) *gomock.Call
- func (mr *MockLXDProfileBackendV2MockRecorder) Model() *gomock.Call
- func (mr *MockLXDProfileBackendV2MockRecorder) Unit(arg0 interface{}) *gomock.Call
- type MockLXDProfileCharmV2
- type MockLXDProfileCharmV2MockRecorder
- type MockLXDProfileMachine
- type MockLXDProfileMachineMockRecorder
- type MockLXDProfileMachineV2
- func (m *MockLXDProfileMachineV2) CharmProfiles() ([]string, error)
- func (m *MockLXDProfileMachineV2) ContainerType() instance.ContainerType
- func (m *MockLXDProfileMachineV2) EXPECT() *MockLXDProfileMachineV2MockRecorder
- func (m *MockLXDProfileMachineV2) IsManual() (bool, error)
- func (m *MockLXDProfileMachineV2) WatchInstanceData() state.NotifyWatcher
- type MockLXDProfileMachineV2MockRecorder
- func (mr *MockLXDProfileMachineV2MockRecorder) CharmProfiles() *gomock.Call
- func (mr *MockLXDProfileMachineV2MockRecorder) ContainerType() *gomock.Call
- func (mr *MockLXDProfileMachineV2MockRecorder) IsManual() *gomock.Call
- func (mr *MockLXDProfileMachineV2MockRecorder) WatchInstanceData() *gomock.Call
- type MockLXDProfileModelV2
- type MockLXDProfileModelV2MockRecorder
- type MockLXDProfileUnit
- func (m *MockLXDProfileUnit) AssignedMachineId() (string, error)
- func (m *MockLXDProfileUnit) EXPECT() *MockLXDProfileUnitMockRecorder
- func (m *MockLXDProfileUnit) Name() string
- func (m *MockLXDProfileUnit) Tag() names.Tag
- func (m *MockLXDProfileUnit) WatchLXDProfileUpgradeNotifications() (state.StringsWatcher, error)
- type MockLXDProfileUnitMockRecorder
- type MockLXDProfileUnitV2
- func (m *MockLXDProfileUnitV2) ApplicationName() string
- func (m *MockLXDProfileUnitV2) AssignedMachineId() (string, error)
- func (m *MockLXDProfileUnitV2) CharmURL() (*charm.URL, bool)
- func (m *MockLXDProfileUnitV2) EXPECT() *MockLXDProfileUnitV2MockRecorder
- func (m *MockLXDProfileUnitV2) Name() string
- func (m *MockLXDProfileUnitV2) Tag() names.Tag
- type MockLXDProfileUnitV2MockRecorder
- func (mr *MockLXDProfileUnitV2MockRecorder) ApplicationName() *gomock.Call
- func (mr *MockLXDProfileUnitV2MockRecorder) AssignedMachineId() *gomock.Call
- func (mr *MockLXDProfileUnitV2MockRecorder) CharmURL() *gomock.Call
- func (mr *MockLXDProfileUnitV2MockRecorder) Name() *gomock.Call
- func (mr *MockLXDProfileUnitV2MockRecorder) Tag() *gomock.Call
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 MockLXDProfileBackendV2 ¶
type MockLXDProfileBackendV2 struct {
// contains filtered or unexported fields
}
MockLXDProfileBackendV2 is a mock of LXDProfileBackendV2 interface
func NewMockLXDProfileBackendV2 ¶
func NewMockLXDProfileBackendV2(ctrl *gomock.Controller) *MockLXDProfileBackendV2
NewMockLXDProfileBackendV2 creates a new mock instance
func (*MockLXDProfileBackendV2) Charm ¶
func (m *MockLXDProfileBackendV2) Charm(arg0 *charm.URL) (uniter.LXDProfileCharmV2, error)
Charm mocks base method
func (*MockLXDProfileBackendV2) EXPECT ¶
func (m *MockLXDProfileBackendV2) EXPECT() *MockLXDProfileBackendV2MockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockLXDProfileBackendV2) Machine ¶
func (m *MockLXDProfileBackendV2) Machine(arg0 string) (uniter.LXDProfileMachineV2, error)
Machine mocks base method
func (*MockLXDProfileBackendV2) Model ¶
func (m *MockLXDProfileBackendV2) Model() (uniter.LXDProfileModelV2, error)
Model mocks base method
func (*MockLXDProfileBackendV2) Unit ¶
func (m *MockLXDProfileBackendV2) Unit(arg0 string) (uniter.LXDProfileUnitV2, error)
Unit mocks base method
type MockLXDProfileBackendV2MockRecorder ¶
type MockLXDProfileBackendV2MockRecorder struct {
// contains filtered or unexported fields
}
MockLXDProfileBackendV2MockRecorder is the mock recorder for MockLXDProfileBackendV2
func (*MockLXDProfileBackendV2MockRecorder) Charm ¶
func (mr *MockLXDProfileBackendV2MockRecorder) Charm(arg0 interface{}) *gomock.Call
Charm indicates an expected call of Charm
func (*MockLXDProfileBackendV2MockRecorder) Machine ¶
func (mr *MockLXDProfileBackendV2MockRecorder) Machine(arg0 interface{}) *gomock.Call
Machine indicates an expected call of Machine
func (*MockLXDProfileBackendV2MockRecorder) Model ¶
func (mr *MockLXDProfileBackendV2MockRecorder) Model() *gomock.Call
Model indicates an expected call of Model
func (*MockLXDProfileBackendV2MockRecorder) Unit ¶
func (mr *MockLXDProfileBackendV2MockRecorder) Unit(arg0 interface{}) *gomock.Call
Unit indicates an expected call of Unit
type MockLXDProfileCharmV2 ¶
type MockLXDProfileCharmV2 struct {
// contains filtered or unexported fields
}
MockLXDProfileCharmV2 is a mock of LXDProfileCharmV2 interface
func NewMockLXDProfileCharmV2 ¶
func NewMockLXDProfileCharmV2(ctrl *gomock.Controller) *MockLXDProfileCharmV2
NewMockLXDProfileCharmV2 creates a new mock instance
func (*MockLXDProfileCharmV2) EXPECT ¶
func (m *MockLXDProfileCharmV2) EXPECT() *MockLXDProfileCharmV2MockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockLXDProfileCharmV2) LXDProfile ¶
func (m *MockLXDProfileCharmV2) LXDProfile() lxdprofile.Profile
LXDProfile mocks base method
type MockLXDProfileCharmV2MockRecorder ¶
type MockLXDProfileCharmV2MockRecorder struct {
// contains filtered or unexported fields
}
MockLXDProfileCharmV2MockRecorder is the mock recorder for MockLXDProfileCharmV2
func (*MockLXDProfileCharmV2MockRecorder) LXDProfile ¶
func (mr *MockLXDProfileCharmV2MockRecorder) LXDProfile() *gomock.Call
LXDProfile indicates an expected call of LXDProfile
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) 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) WatchLXDProfileUpgradeNotifications ¶
func (mr *MockLXDProfileMachineMockRecorder) WatchLXDProfileUpgradeNotifications(arg0 interface{}) *gomock.Call
WatchLXDProfileUpgradeNotifications indicates an expected call of WatchLXDProfileUpgradeNotifications
type MockLXDProfileMachineV2 ¶
type MockLXDProfileMachineV2 struct {
// contains filtered or unexported fields
}
MockLXDProfileMachineV2 is a mock of LXDProfileMachineV2 interface
func NewMockLXDProfileMachineV2 ¶
func NewMockLXDProfileMachineV2(ctrl *gomock.Controller) *MockLXDProfileMachineV2
NewMockLXDProfileMachineV2 creates a new mock instance
func (*MockLXDProfileMachineV2) CharmProfiles ¶
func (m *MockLXDProfileMachineV2) CharmProfiles() ([]string, error)
CharmProfiles mocks base method
func (*MockLXDProfileMachineV2) ContainerType ¶
func (m *MockLXDProfileMachineV2) ContainerType() instance.ContainerType
ContainerType mocks base method
func (*MockLXDProfileMachineV2) EXPECT ¶
func (m *MockLXDProfileMachineV2) EXPECT() *MockLXDProfileMachineV2MockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockLXDProfileMachineV2) IsManual ¶
func (m *MockLXDProfileMachineV2) IsManual() (bool, error)
IsManual mocks base method
func (*MockLXDProfileMachineV2) WatchInstanceData ¶
func (m *MockLXDProfileMachineV2) WatchInstanceData() state.NotifyWatcher
WatchInstanceData mocks base method
type MockLXDProfileMachineV2MockRecorder ¶
type MockLXDProfileMachineV2MockRecorder struct {
// contains filtered or unexported fields
}
MockLXDProfileMachineV2MockRecorder is the mock recorder for MockLXDProfileMachineV2
func (*MockLXDProfileMachineV2MockRecorder) CharmProfiles ¶
func (mr *MockLXDProfileMachineV2MockRecorder) CharmProfiles() *gomock.Call
CharmProfiles indicates an expected call of CharmProfiles
func (*MockLXDProfileMachineV2MockRecorder) ContainerType ¶
func (mr *MockLXDProfileMachineV2MockRecorder) ContainerType() *gomock.Call
ContainerType indicates an expected call of ContainerType
func (*MockLXDProfileMachineV2MockRecorder) IsManual ¶
func (mr *MockLXDProfileMachineV2MockRecorder) IsManual() *gomock.Call
IsManual indicates an expected call of IsManual
func (*MockLXDProfileMachineV2MockRecorder) WatchInstanceData ¶
func (mr *MockLXDProfileMachineV2MockRecorder) WatchInstanceData() *gomock.Call
WatchInstanceData indicates an expected call of WatchInstanceData
type MockLXDProfileModelV2 ¶
type MockLXDProfileModelV2 struct {
// contains filtered or unexported fields
}
MockLXDProfileModelV2 is a mock of LXDProfileModelV2 interface
func NewMockLXDProfileModelV2 ¶
func NewMockLXDProfileModelV2(ctrl *gomock.Controller) *MockLXDProfileModelV2
NewMockLXDProfileModelV2 creates a new mock instance
func (*MockLXDProfileModelV2) EXPECT ¶
func (m *MockLXDProfileModelV2) EXPECT() *MockLXDProfileModelV2MockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockLXDProfileModelV2) ModelConfig ¶
func (m *MockLXDProfileModelV2) ModelConfig() (*config.Config, error)
ModelConfig mocks base method
func (*MockLXDProfileModelV2) Type ¶
func (m *MockLXDProfileModelV2) Type() state.ModelType
Type mocks base method
type MockLXDProfileModelV2MockRecorder ¶
type MockLXDProfileModelV2MockRecorder struct {
// contains filtered or unexported fields
}
MockLXDProfileModelV2MockRecorder is the mock recorder for MockLXDProfileModelV2
func (*MockLXDProfileModelV2MockRecorder) ModelConfig ¶
func (mr *MockLXDProfileModelV2MockRecorder) ModelConfig() *gomock.Call
ModelConfig indicates an expected call of ModelConfig
func (*MockLXDProfileModelV2MockRecorder) Type ¶
func (mr *MockLXDProfileModelV2MockRecorder) Type() *gomock.Call
Type indicates an expected call of Type
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) WatchLXDProfileUpgradeNotifications ¶
func (m *MockLXDProfileUnit) WatchLXDProfileUpgradeNotifications() (state.StringsWatcher, error)
WatchLXDProfileUpgradeNotifications 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) Name ¶
func (mr *MockLXDProfileUnitMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name
func (*MockLXDProfileUnitMockRecorder) Tag ¶
func (mr *MockLXDProfileUnitMockRecorder) Tag() *gomock.Call
Tag indicates an expected call of Tag
func (*MockLXDProfileUnitMockRecorder) WatchLXDProfileUpgradeNotifications ¶
func (mr *MockLXDProfileUnitMockRecorder) WatchLXDProfileUpgradeNotifications() *gomock.Call
WatchLXDProfileUpgradeNotifications indicates an expected call of WatchLXDProfileUpgradeNotifications
type MockLXDProfileUnitV2 ¶
type MockLXDProfileUnitV2 struct {
// contains filtered or unexported fields
}
MockLXDProfileUnitV2 is a mock of LXDProfileUnitV2 interface
func NewMockLXDProfileUnitV2 ¶
func NewMockLXDProfileUnitV2(ctrl *gomock.Controller) *MockLXDProfileUnitV2
NewMockLXDProfileUnitV2 creates a new mock instance
func (*MockLXDProfileUnitV2) ApplicationName ¶
func (m *MockLXDProfileUnitV2) ApplicationName() string
ApplicationName mocks base method
func (*MockLXDProfileUnitV2) AssignedMachineId ¶
func (m *MockLXDProfileUnitV2) AssignedMachineId() (string, error)
AssignedMachineId mocks base method
func (*MockLXDProfileUnitV2) CharmURL ¶
func (m *MockLXDProfileUnitV2) CharmURL() (*charm.URL, bool)
CharmURL mocks base method
func (*MockLXDProfileUnitV2) EXPECT ¶
func (m *MockLXDProfileUnitV2) EXPECT() *MockLXDProfileUnitV2MockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockLXDProfileUnitV2) Name ¶
func (m *MockLXDProfileUnitV2) Name() string
Name mocks base method
func (*MockLXDProfileUnitV2) Tag ¶
func (m *MockLXDProfileUnitV2) Tag() names.Tag
Tag mocks base method
type MockLXDProfileUnitV2MockRecorder ¶
type MockLXDProfileUnitV2MockRecorder struct {
// contains filtered or unexported fields
}
MockLXDProfileUnitV2MockRecorder is the mock recorder for MockLXDProfileUnitV2
func (*MockLXDProfileUnitV2MockRecorder) ApplicationName ¶
func (mr *MockLXDProfileUnitV2MockRecorder) ApplicationName() *gomock.Call
ApplicationName indicates an expected call of ApplicationName
func (*MockLXDProfileUnitV2MockRecorder) AssignedMachineId ¶
func (mr *MockLXDProfileUnitV2MockRecorder) AssignedMachineId() *gomock.Call
AssignedMachineId indicates an expected call of AssignedMachineId
func (*MockLXDProfileUnitV2MockRecorder) CharmURL ¶
func (mr *MockLXDProfileUnitV2MockRecorder) CharmURL() *gomock.Call
CharmURL indicates an expected call of CharmURL
func (*MockLXDProfileUnitV2MockRecorder) Name ¶
func (mr *MockLXDProfileUnitV2MockRecorder) Name() *gomock.Call
Name indicates an expected call of Name
func (*MockLXDProfileUnitV2MockRecorder) Tag ¶
func (mr *MockLXDProfileUnitV2MockRecorder) Tag() *gomock.Call
Tag indicates an expected call of Tag