Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockApplication
- type MockApplicationMockRecorder
- type MockCharm
- type MockCharmMockRecorder
- type MockEntity
- type MockEntityFinder
- type MockEntityFinderMockRecorder
- type MockEntityMockRecorder
- type MockInstanceMutaterState
- func (m *MockInstanceMutaterState) Application(arg0 string) (instancemutater.Application, error)
- func (m *MockInstanceMutaterState) Charm(arg0 string) (instancemutater.Charm, error)
- func (m *MockInstanceMutaterState) ControllerTimestamp() (*time.Time, error)
- func (m *MockInstanceMutaterState) EXPECT() *MockInstanceMutaterStateMockRecorder
- func (m *MockInstanceMutaterState) FindEntity(arg0 names.Tag) (state.Entity, error)
- func (m *MockInstanceMutaterState) Machine(arg0 string) (instancemutater.Machine, error)
- func (m *MockInstanceMutaterState) ModelName() (string, error)
- func (m *MockInstanceMutaterState) Unit(arg0 string) (instancemutater.Unit, error)
- func (m *MockInstanceMutaterState) WatchApplicationCharms() state.StringsWatcher
- func (m *MockInstanceMutaterState) WatchCharms() state.StringsWatcher
- func (m *MockInstanceMutaterState) WatchMachines() state.StringsWatcher
- func (m *MockInstanceMutaterState) WatchModelMachines() state.StringsWatcher
- func (m *MockInstanceMutaterState) WatchUnits() state.StringsWatcher
- type MockInstanceMutaterStateMockRecorder
- func (mr *MockInstanceMutaterStateMockRecorder) Application(arg0 any) *gomock.Call
- func (mr *MockInstanceMutaterStateMockRecorder) Charm(arg0 any) *gomock.Call
- func (mr *MockInstanceMutaterStateMockRecorder) ControllerTimestamp() *gomock.Call
- func (mr *MockInstanceMutaterStateMockRecorder) FindEntity(arg0 any) *gomock.Call
- func (mr *MockInstanceMutaterStateMockRecorder) Machine(arg0 any) *gomock.Call
- func (mr *MockInstanceMutaterStateMockRecorder) ModelName() *gomock.Call
- func (mr *MockInstanceMutaterStateMockRecorder) Unit(arg0 any) *gomock.Call
- func (mr *MockInstanceMutaterStateMockRecorder) WatchApplicationCharms() *gomock.Call
- func (mr *MockInstanceMutaterStateMockRecorder) WatchCharms() *gomock.Call
- func (mr *MockInstanceMutaterStateMockRecorder) WatchMachines() *gomock.Call
- func (mr *MockInstanceMutaterStateMockRecorder) WatchModelMachines() *gomock.Call
- func (mr *MockInstanceMutaterStateMockRecorder) WatchUnits() *gomock.Call
- type MockInstanceMutatorWatcher
- type MockInstanceMutatorWatcherMockRecorder
- type MockLifer
- type MockLiferMockRecorder
- type MockMachine
- func (m *MockMachine) CharmProfiles() ([]string, error)
- func (m *MockMachine) ContainerType() instance.ContainerType
- func (m *MockMachine) EXPECT() *MockMachineMockRecorder
- func (m *MockMachine) Id() string
- func (m *MockMachine) InstanceId() (instance.Id, error)
- func (m *MockMachine) IsManual() (bool, error)
- func (m *MockMachine) SetCharmProfiles(arg0 []string) error
- func (m *MockMachine) SetModificationStatus(arg0 status.StatusInfo) error
- func (m *MockMachine) Units() ([]instancemutater.Unit, error)
- func (m *MockMachine) WatchContainers(arg0 instance.ContainerType) state.StringsWatcher
- func (m *MockMachine) WatchInstanceData() state.NotifyWatcher
- type MockMachineMockRecorder
- func (mr *MockMachineMockRecorder) CharmProfiles() *gomock.Call
- func (mr *MockMachineMockRecorder) ContainerType() *gomock.Call
- func (mr *MockMachineMockRecorder) Id() *gomock.Call
- func (mr *MockMachineMockRecorder) InstanceId() *gomock.Call
- func (mr *MockMachineMockRecorder) IsManual() *gomock.Call
- func (mr *MockMachineMockRecorder) SetCharmProfiles(arg0 any) *gomock.Call
- func (mr *MockMachineMockRecorder) SetModificationStatus(arg0 any) *gomock.Call
- func (mr *MockMachineMockRecorder) Units() *gomock.Call
- func (mr *MockMachineMockRecorder) WatchContainers(arg0 any) *gomock.Call
- func (mr *MockMachineMockRecorder) WatchInstanceData() *gomock.Call
- type MockNotifyWatcher
- type MockNotifyWatcherMockRecorder
- func (mr *MockNotifyWatcherMockRecorder) Changes() *gomock.Call
- func (mr *MockNotifyWatcherMockRecorder) Err() *gomock.Call
- func (mr *MockNotifyWatcherMockRecorder) Kill() *gomock.Call
- func (mr *MockNotifyWatcherMockRecorder) Stop() *gomock.Call
- func (mr *MockNotifyWatcherMockRecorder) Wait() *gomock.Call
- type MockStringsWatcher
- type MockStringsWatcherMockRecorder
- func (mr *MockStringsWatcherMockRecorder) Changes() *gomock.Call
- func (mr *MockStringsWatcherMockRecorder) Err() *gomock.Call
- func (mr *MockStringsWatcherMockRecorder) Kill() *gomock.Call
- func (mr *MockStringsWatcherMockRecorder) Stop() *gomock.Call
- func (mr *MockStringsWatcherMockRecorder) Wait() *gomock.Call
- type MockUnit
- func (m *MockUnit) Application() (instancemutater.Application, error)
- func (m *MockUnit) ApplicationName() string
- func (m *MockUnit) AssignedMachineId() (string, error)
- func (m *MockUnit) CharmURL() *string
- func (m *MockUnit) EXPECT() *MockUnitMockRecorder
- func (m *MockUnit) Life() state.Life
- func (m *MockUnit) Name() string
- func (m *MockUnit) PrincipalName() (string, bool)
- type MockUnitMockRecorder
- func (mr *MockUnitMockRecorder) Application() *gomock.Call
- func (mr *MockUnitMockRecorder) ApplicationName() *gomock.Call
- func (mr *MockUnitMockRecorder) AssignedMachineId() *gomock.Call
- func (mr *MockUnitMockRecorder) CharmURL() *gomock.Call
- func (mr *MockUnitMockRecorder) Life() *gomock.Call
- func (mr *MockUnitMockRecorder) Name() *gomock.Call
- func (mr *MockUnitMockRecorder) PrincipalName() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockApplication ¶
type MockApplication struct {
// contains filtered or unexported fields
}
MockApplication is a mock of Application interface.
func NewMockApplication ¶
func NewMockApplication(ctrl *gomock.Controller) *MockApplication
NewMockApplication creates a new mock instance.
func (*MockApplication) CharmURL ¶
func (m *MockApplication) CharmURL() *string
CharmURL mocks base method.
func (*MockApplication) EXPECT ¶
func (m *MockApplication) EXPECT() *MockApplicationMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockApplicationMockRecorder ¶
type MockApplicationMockRecorder struct {
// contains filtered or unexported fields
}
MockApplicationMockRecorder is the mock recorder for MockApplication.
func (*MockApplicationMockRecorder) CharmURL ¶
func (mr *MockApplicationMockRecorder) CharmURL() *gomock.Call
CharmURL indicates an expected call of CharmURL.
type MockCharm ¶
type MockCharm struct {
// contains filtered or unexported fields
}
MockCharm is a mock of Charm interface.
func NewMockCharm ¶
func NewMockCharm(ctrl *gomock.Controller) *MockCharm
NewMockCharm creates a new mock instance.
func (*MockCharm) EXPECT ¶
func (m *MockCharm) EXPECT() *MockCharmMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCharm) LXDProfile ¶
func (m *MockCharm) LXDProfile() lxdprofile.Profile
LXDProfile mocks base method.
type MockCharmMockRecorder ¶
type MockCharmMockRecorder struct {
// contains filtered or unexported fields
}
MockCharmMockRecorder is the mock recorder for MockCharm.
func (*MockCharmMockRecorder) LXDProfile ¶
func (mr *MockCharmMockRecorder) LXDProfile() *gomock.Call
LXDProfile indicates an expected call of LXDProfile.
func (*MockCharmMockRecorder) Revision ¶
func (mr *MockCharmMockRecorder) Revision() *gomock.Call
Revision indicates an expected call of Revision.
type MockEntity ¶
type MockEntity struct {
// contains filtered or unexported fields
}
MockEntity is a mock of Entity interface.
func NewMockEntity ¶
func NewMockEntity(ctrl *gomock.Controller) *MockEntity
NewMockEntity creates a new mock instance.
func (*MockEntity) EXPECT ¶
func (m *MockEntity) EXPECT() *MockEntityMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockEntityFinder ¶
type MockEntityFinder struct {
// contains filtered or unexported fields
}
MockEntityFinder is a mock of EntityFinder interface.
func NewMockEntityFinder ¶
func NewMockEntityFinder(ctrl *gomock.Controller) *MockEntityFinder
NewMockEntityFinder creates a new mock instance.
func (*MockEntityFinder) EXPECT ¶
func (m *MockEntityFinder) EXPECT() *MockEntityFinderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockEntityFinder) FindEntity ¶
FindEntity mocks base method.
type MockEntityFinderMockRecorder ¶
type MockEntityFinderMockRecorder struct {
// contains filtered or unexported fields
}
MockEntityFinderMockRecorder is the mock recorder for MockEntityFinder.
func (*MockEntityFinderMockRecorder) FindEntity ¶
func (mr *MockEntityFinderMockRecorder) FindEntity(arg0 any) *gomock.Call
FindEntity indicates an expected call of FindEntity.
type MockEntityMockRecorder ¶
type MockEntityMockRecorder struct {
// contains filtered or unexported fields
}
MockEntityMockRecorder is the mock recorder for MockEntity.
func (*MockEntityMockRecorder) Tag ¶
func (mr *MockEntityMockRecorder) Tag() *gomock.Call
Tag indicates an expected call of Tag.
type MockInstanceMutaterState ¶
type MockInstanceMutaterState struct {
// contains filtered or unexported fields
}
MockInstanceMutaterState is a mock of InstanceMutaterState interface.
func NewMockInstanceMutaterState ¶
func NewMockInstanceMutaterState(ctrl *gomock.Controller) *MockInstanceMutaterState
NewMockInstanceMutaterState creates a new mock instance.
func (*MockInstanceMutaterState) Application ¶
func (m *MockInstanceMutaterState) Application(arg0 string) (instancemutater.Application, error)
Application mocks base method.
func (*MockInstanceMutaterState) Charm ¶
func (m *MockInstanceMutaterState) Charm(arg0 string) (instancemutater.Charm, error)
Charm mocks base method.
func (*MockInstanceMutaterState) ControllerTimestamp ¶
func (m *MockInstanceMutaterState) ControllerTimestamp() (*time.Time, error)
ControllerTimestamp mocks base method.
func (*MockInstanceMutaterState) EXPECT ¶
func (m *MockInstanceMutaterState) EXPECT() *MockInstanceMutaterStateMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockInstanceMutaterState) FindEntity ¶
FindEntity mocks base method.
func (*MockInstanceMutaterState) Machine ¶
func (m *MockInstanceMutaterState) Machine(arg0 string) (instancemutater.Machine, error)
Machine mocks base method.
func (*MockInstanceMutaterState) ModelName ¶
func (m *MockInstanceMutaterState) ModelName() (string, error)
ModelName mocks base method.
func (*MockInstanceMutaterState) Unit ¶
func (m *MockInstanceMutaterState) Unit(arg0 string) (instancemutater.Unit, error)
Unit mocks base method.
func (*MockInstanceMutaterState) WatchApplicationCharms ¶
func (m *MockInstanceMutaterState) WatchApplicationCharms() state.StringsWatcher
WatchApplicationCharms mocks base method.
func (*MockInstanceMutaterState) WatchCharms ¶
func (m *MockInstanceMutaterState) WatchCharms() state.StringsWatcher
WatchCharms mocks base method.
func (*MockInstanceMutaterState) WatchMachines ¶
func (m *MockInstanceMutaterState) WatchMachines() state.StringsWatcher
WatchMachines mocks base method.
func (*MockInstanceMutaterState) WatchModelMachines ¶
func (m *MockInstanceMutaterState) WatchModelMachines() state.StringsWatcher
WatchModelMachines mocks base method.
func (*MockInstanceMutaterState) WatchUnits ¶
func (m *MockInstanceMutaterState) WatchUnits() state.StringsWatcher
WatchUnits mocks base method.
type MockInstanceMutaterStateMockRecorder ¶
type MockInstanceMutaterStateMockRecorder struct {
// contains filtered or unexported fields
}
MockInstanceMutaterStateMockRecorder is the mock recorder for MockInstanceMutaterState.
func (*MockInstanceMutaterStateMockRecorder) Application ¶
func (mr *MockInstanceMutaterStateMockRecorder) Application(arg0 any) *gomock.Call
Application indicates an expected call of Application.
func (*MockInstanceMutaterStateMockRecorder) Charm ¶
func (mr *MockInstanceMutaterStateMockRecorder) Charm(arg0 any) *gomock.Call
Charm indicates an expected call of Charm.
func (*MockInstanceMutaterStateMockRecorder) ControllerTimestamp ¶
func (mr *MockInstanceMutaterStateMockRecorder) ControllerTimestamp() *gomock.Call
ControllerTimestamp indicates an expected call of ControllerTimestamp.
func (*MockInstanceMutaterStateMockRecorder) FindEntity ¶
func (mr *MockInstanceMutaterStateMockRecorder) FindEntity(arg0 any) *gomock.Call
FindEntity indicates an expected call of FindEntity.
func (*MockInstanceMutaterStateMockRecorder) Machine ¶
func (mr *MockInstanceMutaterStateMockRecorder) Machine(arg0 any) *gomock.Call
Machine indicates an expected call of Machine.
func (*MockInstanceMutaterStateMockRecorder) ModelName ¶
func (mr *MockInstanceMutaterStateMockRecorder) ModelName() *gomock.Call
ModelName indicates an expected call of ModelName.
func (*MockInstanceMutaterStateMockRecorder) Unit ¶
func (mr *MockInstanceMutaterStateMockRecorder) Unit(arg0 any) *gomock.Call
Unit indicates an expected call of Unit.
func (*MockInstanceMutaterStateMockRecorder) WatchApplicationCharms ¶
func (mr *MockInstanceMutaterStateMockRecorder) WatchApplicationCharms() *gomock.Call
WatchApplicationCharms indicates an expected call of WatchApplicationCharms.
func (*MockInstanceMutaterStateMockRecorder) WatchCharms ¶
func (mr *MockInstanceMutaterStateMockRecorder) WatchCharms() *gomock.Call
WatchCharms indicates an expected call of WatchCharms.
func (*MockInstanceMutaterStateMockRecorder) WatchMachines ¶
func (mr *MockInstanceMutaterStateMockRecorder) WatchMachines() *gomock.Call
WatchMachines indicates an expected call of WatchMachines.
func (*MockInstanceMutaterStateMockRecorder) WatchModelMachines ¶
func (mr *MockInstanceMutaterStateMockRecorder) WatchModelMachines() *gomock.Call
WatchModelMachines indicates an expected call of WatchModelMachines.
func (*MockInstanceMutaterStateMockRecorder) WatchUnits ¶
func (mr *MockInstanceMutaterStateMockRecorder) WatchUnits() *gomock.Call
WatchUnits indicates an expected call of WatchUnits.
type MockInstanceMutatorWatcher ¶
type MockInstanceMutatorWatcher struct {
// contains filtered or unexported fields
}
MockInstanceMutatorWatcher is a mock of InstanceMutatorWatcher interface.
func NewMockInstanceMutatorWatcher ¶
func NewMockInstanceMutatorWatcher(ctrl *gomock.Controller) *MockInstanceMutatorWatcher
NewMockInstanceMutatorWatcher creates a new mock instance.
func (*MockInstanceMutatorWatcher) EXPECT ¶
func (m *MockInstanceMutatorWatcher) EXPECT() *MockInstanceMutatorWatcherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockInstanceMutatorWatcher) WatchLXDProfileVerificationForMachine ¶
func (m *MockInstanceMutatorWatcher) WatchLXDProfileVerificationForMachine(arg0 instancemutater.Machine) (state.NotifyWatcher, error)
WatchLXDProfileVerificationForMachine mocks base method.
type MockInstanceMutatorWatcherMockRecorder ¶
type MockInstanceMutatorWatcherMockRecorder struct {
// contains filtered or unexported fields
}
MockInstanceMutatorWatcherMockRecorder is the mock recorder for MockInstanceMutatorWatcher.
func (*MockInstanceMutatorWatcherMockRecorder) WatchLXDProfileVerificationForMachine ¶
func (mr *MockInstanceMutatorWatcherMockRecorder) WatchLXDProfileVerificationForMachine(arg0 any) *gomock.Call
WatchLXDProfileVerificationForMachine indicates an expected call of WatchLXDProfileVerificationForMachine.
type MockLifer ¶
type MockLifer struct {
// contains filtered or unexported fields
}
MockLifer is a mock of Lifer interface.
func NewMockLifer ¶
func NewMockLifer(ctrl *gomock.Controller) *MockLifer
NewMockLifer creates a new mock instance.
func (*MockLifer) EXPECT ¶
func (m *MockLifer) EXPECT() *MockLiferMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockLiferMockRecorder ¶
type MockLiferMockRecorder struct {
// contains filtered or unexported fields
}
MockLiferMockRecorder is the mock recorder for MockLifer.
func (*MockLiferMockRecorder) Life ¶
func (mr *MockLiferMockRecorder) Life() *gomock.Call
Life indicates an expected call of Life.
type MockMachine ¶
type MockMachine struct {
// contains filtered or unexported fields
}
MockMachine is a mock of Machine interface.
func NewMockMachine ¶
func NewMockMachine(ctrl *gomock.Controller) *MockMachine
NewMockMachine creates a new mock instance.
func (*MockMachine) CharmProfiles ¶
func (m *MockMachine) CharmProfiles() ([]string, error)
CharmProfiles mocks base method.
func (*MockMachine) ContainerType ¶
func (m *MockMachine) ContainerType() instance.ContainerType
ContainerType mocks base method.
func (*MockMachine) EXPECT ¶
func (m *MockMachine) EXPECT() *MockMachineMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMachine) InstanceId ¶
func (m *MockMachine) InstanceId() (instance.Id, error)
InstanceId mocks base method.
func (*MockMachine) IsManual ¶
func (m *MockMachine) IsManual() (bool, error)
IsManual mocks base method.
func (*MockMachine) SetCharmProfiles ¶
func (m *MockMachine) SetCharmProfiles(arg0 []string) error
SetCharmProfiles mocks base method.
func (*MockMachine) SetModificationStatus ¶
func (m *MockMachine) SetModificationStatus(arg0 status.StatusInfo) error
SetModificationStatus mocks base method.
func (*MockMachine) Units ¶
func (m *MockMachine) Units() ([]instancemutater.Unit, error)
Units mocks base method.
func (*MockMachine) WatchContainers ¶
func (m *MockMachine) WatchContainers(arg0 instance.ContainerType) state.StringsWatcher
WatchContainers mocks base method.
func (*MockMachine) WatchInstanceData ¶
func (m *MockMachine) WatchInstanceData() state.NotifyWatcher
WatchInstanceData mocks base method.
type MockMachineMockRecorder ¶
type MockMachineMockRecorder struct {
// contains filtered or unexported fields
}
MockMachineMockRecorder is the mock recorder for MockMachine.
func (*MockMachineMockRecorder) CharmProfiles ¶
func (mr *MockMachineMockRecorder) CharmProfiles() *gomock.Call
CharmProfiles indicates an expected call of CharmProfiles.
func (*MockMachineMockRecorder) ContainerType ¶
func (mr *MockMachineMockRecorder) ContainerType() *gomock.Call
ContainerType indicates an expected call of ContainerType.
func (*MockMachineMockRecorder) Id ¶
func (mr *MockMachineMockRecorder) Id() *gomock.Call
Id indicates an expected call of Id.
func (*MockMachineMockRecorder) InstanceId ¶
func (mr *MockMachineMockRecorder) InstanceId() *gomock.Call
InstanceId indicates an expected call of InstanceId.
func (*MockMachineMockRecorder) IsManual ¶
func (mr *MockMachineMockRecorder) IsManual() *gomock.Call
IsManual indicates an expected call of IsManual.
func (*MockMachineMockRecorder) SetCharmProfiles ¶
func (mr *MockMachineMockRecorder) SetCharmProfiles(arg0 any) *gomock.Call
SetCharmProfiles indicates an expected call of SetCharmProfiles.
func (*MockMachineMockRecorder) SetModificationStatus ¶
func (mr *MockMachineMockRecorder) SetModificationStatus(arg0 any) *gomock.Call
SetModificationStatus indicates an expected call of SetModificationStatus.
func (*MockMachineMockRecorder) Units ¶
func (mr *MockMachineMockRecorder) Units() *gomock.Call
Units indicates an expected call of Units.
func (*MockMachineMockRecorder) WatchContainers ¶
func (mr *MockMachineMockRecorder) WatchContainers(arg0 any) *gomock.Call
WatchContainers indicates an expected call of WatchContainers.
func (*MockMachineMockRecorder) WatchInstanceData ¶
func (mr *MockMachineMockRecorder) WatchInstanceData() *gomock.Call
WatchInstanceData indicates an expected call of WatchInstanceData.
type MockNotifyWatcher ¶
type MockNotifyWatcher struct {
// contains filtered or unexported fields
}
MockNotifyWatcher is a mock of NotifyWatcher interface.
func NewMockNotifyWatcher ¶
func NewMockNotifyWatcher(ctrl *gomock.Controller) *MockNotifyWatcher
NewMockNotifyWatcher creates a new mock instance.
func (*MockNotifyWatcher) Changes ¶
func (m *MockNotifyWatcher) Changes() <-chan struct{}
Changes mocks base method.
func (*MockNotifyWatcher) EXPECT ¶
func (m *MockNotifyWatcher) EXPECT() *MockNotifyWatcherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockNotifyWatcherMockRecorder ¶
type MockNotifyWatcherMockRecorder struct {
// contains filtered or unexported fields
}
MockNotifyWatcherMockRecorder is the mock recorder for MockNotifyWatcher.
func (*MockNotifyWatcherMockRecorder) Changes ¶
func (mr *MockNotifyWatcherMockRecorder) Changes() *gomock.Call
Changes indicates an expected call of Changes.
func (*MockNotifyWatcherMockRecorder) Err ¶
func (mr *MockNotifyWatcherMockRecorder) Err() *gomock.Call
Err indicates an expected call of Err.
func (*MockNotifyWatcherMockRecorder) Kill ¶
func (mr *MockNotifyWatcherMockRecorder) Kill() *gomock.Call
Kill indicates an expected call of Kill.
func (*MockNotifyWatcherMockRecorder) Stop ¶
func (mr *MockNotifyWatcherMockRecorder) Stop() *gomock.Call
Stop indicates an expected call of Stop.
func (*MockNotifyWatcherMockRecorder) Wait ¶
func (mr *MockNotifyWatcherMockRecorder) Wait() *gomock.Call
Wait indicates an expected call of Wait.
type MockStringsWatcher ¶
type MockStringsWatcher struct {
// contains filtered or unexported fields
}
MockStringsWatcher is a mock of StringsWatcher interface.
func NewMockStringsWatcher ¶
func NewMockStringsWatcher(ctrl *gomock.Controller) *MockStringsWatcher
NewMockStringsWatcher creates a new mock instance.
func (*MockStringsWatcher) Changes ¶
func (m *MockStringsWatcher) Changes() <-chan []string
Changes mocks base method.
func (*MockStringsWatcher) EXPECT ¶
func (m *MockStringsWatcher) EXPECT() *MockStringsWatcherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockStringsWatcherMockRecorder ¶
type MockStringsWatcherMockRecorder struct {
// contains filtered or unexported fields
}
MockStringsWatcherMockRecorder is the mock recorder for MockStringsWatcher.
func (*MockStringsWatcherMockRecorder) Changes ¶
func (mr *MockStringsWatcherMockRecorder) Changes() *gomock.Call
Changes indicates an expected call of Changes.
func (*MockStringsWatcherMockRecorder) Err ¶
func (mr *MockStringsWatcherMockRecorder) Err() *gomock.Call
Err indicates an expected call of Err.
func (*MockStringsWatcherMockRecorder) Kill ¶
func (mr *MockStringsWatcherMockRecorder) Kill() *gomock.Call
Kill indicates an expected call of Kill.
func (*MockStringsWatcherMockRecorder) Stop ¶
func (mr *MockStringsWatcherMockRecorder) Stop() *gomock.Call
Stop indicates an expected call of Stop.
func (*MockStringsWatcherMockRecorder) Wait ¶
func (mr *MockStringsWatcherMockRecorder) Wait() *gomock.Call
Wait indicates an expected call of Wait.
type MockUnit ¶
type MockUnit struct {
// contains filtered or unexported fields
}
MockUnit is a mock of Unit interface.
func NewMockUnit ¶
func NewMockUnit(ctrl *gomock.Controller) *MockUnit
NewMockUnit creates a new mock instance.
func (*MockUnit) Application ¶
func (m *MockUnit) Application() (instancemutater.Application, error)
Application mocks base method.
func (*MockUnit) ApplicationName ¶
ApplicationName mocks base method.
func (*MockUnit) AssignedMachineId ¶
AssignedMachineId mocks base method.
func (*MockUnit) EXPECT ¶
func (m *MockUnit) EXPECT() *MockUnitMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockUnit) PrincipalName ¶
PrincipalName mocks base method.
type MockUnitMockRecorder ¶
type MockUnitMockRecorder struct {
// contains filtered or unexported fields
}
MockUnitMockRecorder is the mock recorder for MockUnit.
func (*MockUnitMockRecorder) Application ¶
func (mr *MockUnitMockRecorder) Application() *gomock.Call
Application indicates an expected call of Application.
func (*MockUnitMockRecorder) ApplicationName ¶
func (mr *MockUnitMockRecorder) ApplicationName() *gomock.Call
ApplicationName indicates an expected call of ApplicationName.
func (*MockUnitMockRecorder) AssignedMachineId ¶
func (mr *MockUnitMockRecorder) AssignedMachineId() *gomock.Call
AssignedMachineId indicates an expected call of AssignedMachineId.
func (*MockUnitMockRecorder) CharmURL ¶
func (mr *MockUnitMockRecorder) CharmURL() *gomock.Call
CharmURL indicates an expected call of CharmURL.
func (*MockUnitMockRecorder) Life ¶
func (mr *MockUnitMockRecorder) Life() *gomock.Call
Life indicates an expected call of Life.
func (*MockUnitMockRecorder) Name ¶
func (mr *MockUnitMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
func (*MockUnitMockRecorder) PrincipalName ¶
func (mr *MockUnitMockRecorder) PrincipalName() *gomock.Call
PrincipalName indicates an expected call of PrincipalName.