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 MockLinkLayerDevice
- func (m *MockLinkLayerDevice) Addresses() ([]*state.Address, error)
- func (m *MockLinkLayerDevice) EXPECT() *MockLinkLayerDeviceMockRecorder
- func (m *MockLinkLayerDevice) EthernetDeviceForBridge(arg0 string) (state.LinkLayerDeviceArgs, error)
- func (m *MockLinkLayerDevice) IsAutoStart() bool
- func (m *MockLinkLayerDevice) IsUp() bool
- func (m *MockLinkLayerDevice) MACAddress() string
- func (m *MockLinkLayerDevice) MTU() uint
- func (m *MockLinkLayerDevice) Name() string
- func (m *MockLinkLayerDevice) ParentDevice() (containerizer.LinkLayerDevice, error)
- func (m *MockLinkLayerDevice) ParentName() string
- func (m *MockLinkLayerDevice) Type() state.LinkLayerDeviceType
- type MockLinkLayerDeviceMockRecorder
- func (mr *MockLinkLayerDeviceMockRecorder) Addresses() *gomock.Call
- func (mr *MockLinkLayerDeviceMockRecorder) EthernetDeviceForBridge(arg0 interface{}) *gomock.Call
- func (mr *MockLinkLayerDeviceMockRecorder) IsAutoStart() *gomock.Call
- func (mr *MockLinkLayerDeviceMockRecorder) IsUp() *gomock.Call
- func (mr *MockLinkLayerDeviceMockRecorder) MACAddress() *gomock.Call
- func (mr *MockLinkLayerDeviceMockRecorder) MTU() *gomock.Call
- func (mr *MockLinkLayerDeviceMockRecorder) Name() *gomock.Call
- func (mr *MockLinkLayerDeviceMockRecorder) ParentDevice() *gomock.Call
- func (mr *MockLinkLayerDeviceMockRecorder) ParentName() *gomock.Call
- func (mr *MockLinkLayerDeviceMockRecorder) Type() *gomock.Call
- type MockMachine
- func (m *MockMachine) AllLinkLayerDevices() ([]containerizer.LinkLayerDevice, error)
- func (m *MockMachine) AllSpaces() (set.Strings, error)
- func (m *MockMachine) ContainerType() instance.ContainerType
- func (m *MockMachine) DesiredSpaces() (set.Strings, error)
- 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) LinkLayerDevicesForSpaces(arg0 []string) (map[string][]containerizer.LinkLayerDevice, error)
- func (m *MockMachine) MachineTag() names_v2.MachineTag
- func (m *MockMachine) Raw() *state.Machine
- func (m *MockMachine) RemoveAllAddresses() error
- func (m *MockMachine) SetConstraints(arg0 constraints.Value) error
- func (m *MockMachine) SetDevicesAddresses(arg0 ...state.LinkLayerDeviceAddress) error
- func (m *MockMachine) SetLinkLayerDevices(arg0 ...state.LinkLayerDeviceArgs) error
- func (m *MockMachine) SetParentLinkLayerDevicesBeforeTheirChildren(arg0 []state.LinkLayerDeviceArgs) error
- func (m *MockMachine) Units() ([]containerizer.Unit, error)
- type MockMachineMockRecorder
- func (mr *MockMachineMockRecorder) AllLinkLayerDevices() *gomock.Call
- func (mr *MockMachineMockRecorder) AllSpaces() *gomock.Call
- func (mr *MockMachineMockRecorder) ContainerType() *gomock.Call
- func (mr *MockMachineMockRecorder) DesiredSpaces() *gomock.Call
- func (mr *MockMachineMockRecorder) Id() *gomock.Call
- func (mr *MockMachineMockRecorder) InstanceId() *gomock.Call
- func (mr *MockMachineMockRecorder) IsManual() *gomock.Call
- func (mr *MockMachineMockRecorder) LinkLayerDevicesForSpaces(arg0 interface{}) *gomock.Call
- func (mr *MockMachineMockRecorder) MachineTag() *gomock.Call
- func (mr *MockMachineMockRecorder) Raw() *gomock.Call
- func (mr *MockMachineMockRecorder) RemoveAllAddresses() *gomock.Call
- func (mr *MockMachineMockRecorder) SetConstraints(arg0 interface{}) *gomock.Call
- func (mr *MockMachineMockRecorder) SetDevicesAddresses(arg0 ...interface{}) *gomock.Call
- func (mr *MockMachineMockRecorder) SetLinkLayerDevices(arg0 ...interface{}) *gomock.Call
- func (mr *MockMachineMockRecorder) SetParentLinkLayerDevicesBeforeTheirChildren(arg0 interface{}) *gomock.Call
- func (mr *MockMachineMockRecorder) Units() *gomock.Call
- type MockProfileBackend
- type MockProfileBackendMockRecorder
- type MockProfileCharm
- type MockProfileCharmMockRecorder
- type MockProfileMachine
- func (m *MockProfileMachine) CharmProfiles() ([]string, error)
- func (m *MockProfileMachine) EXPECT() *MockProfileMachineMockRecorder
- func (m *MockProfileMachine) Id() string
- func (m *MockProfileMachine) ModelName() string
- func (m *MockProfileMachine) UpgradeCharmProfileApplication() (string, error)
- func (m *MockProfileMachine) UpgradeCharmProfileCharmURL() (string, error)
- type MockProfileMachineMockRecorder
- func (mr *MockProfileMachineMockRecorder) CharmProfiles() *gomock.Call
- func (mr *MockProfileMachineMockRecorder) Id() *gomock.Call
- func (mr *MockProfileMachineMockRecorder) ModelName() *gomock.Call
- func (mr *MockProfileMachineMockRecorder) UpgradeCharmProfileApplication() *gomock.Call
- func (mr *MockProfileMachineMockRecorder) UpgradeCharmProfileCharmURL() *gomock.Call
- type MockUnit
- type MockUnitMockRecorder
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) Charm ¶
func (m *MockApplication) Charm() (containerizer.Charm, bool, error)
Charm 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) Charm ¶
func (mr *MockApplicationMockRecorder) Charm() *gomock.Call
Charm indicates an expected call of Charm
func (*MockApplicationMockRecorder) Name ¶
func (mr *MockApplicationMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name
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() *charm_v6.LXDProfile
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 MockLinkLayerDevice ¶
type MockLinkLayerDevice struct {
// contains filtered or unexported fields
}
MockLinkLayerDevice is a mock of LinkLayerDevice interface
func NewMockLinkLayerDevice ¶
func NewMockLinkLayerDevice(ctrl *gomock.Controller) *MockLinkLayerDevice
NewMockLinkLayerDevice creates a new mock instance
func (*MockLinkLayerDevice) Addresses ¶
func (m *MockLinkLayerDevice) Addresses() ([]*state.Address, error)
Addresses mocks base method
func (*MockLinkLayerDevice) EXPECT ¶
func (m *MockLinkLayerDevice) EXPECT() *MockLinkLayerDeviceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockLinkLayerDevice) EthernetDeviceForBridge ¶
func (m *MockLinkLayerDevice) EthernetDeviceForBridge(arg0 string) (state.LinkLayerDeviceArgs, error)
EthernetDeviceForBridge mocks base method
func (*MockLinkLayerDevice) IsAutoStart ¶
func (m *MockLinkLayerDevice) IsAutoStart() bool
IsAutoStart mocks base method
func (*MockLinkLayerDevice) MACAddress ¶
func (m *MockLinkLayerDevice) MACAddress() string
MACAddress mocks base method
func (*MockLinkLayerDevice) Name ¶
func (m *MockLinkLayerDevice) Name() string
Name mocks base method
func (*MockLinkLayerDevice) ParentDevice ¶
func (m *MockLinkLayerDevice) ParentDevice() (containerizer.LinkLayerDevice, error)
ParentDevice mocks base method
func (*MockLinkLayerDevice) ParentName ¶
func (m *MockLinkLayerDevice) ParentName() string
ParentName mocks base method
func (*MockLinkLayerDevice) Type ¶
func (m *MockLinkLayerDevice) Type() state.LinkLayerDeviceType
Type mocks base method
type MockLinkLayerDeviceMockRecorder ¶
type MockLinkLayerDeviceMockRecorder struct {
// contains filtered or unexported fields
}
MockLinkLayerDeviceMockRecorder is the mock recorder for MockLinkLayerDevice
func (*MockLinkLayerDeviceMockRecorder) Addresses ¶
func (mr *MockLinkLayerDeviceMockRecorder) Addresses() *gomock.Call
Addresses indicates an expected call of Addresses
func (*MockLinkLayerDeviceMockRecorder) EthernetDeviceForBridge ¶
func (mr *MockLinkLayerDeviceMockRecorder) EthernetDeviceForBridge(arg0 interface{}) *gomock.Call
EthernetDeviceForBridge indicates an expected call of EthernetDeviceForBridge
func (*MockLinkLayerDeviceMockRecorder) IsAutoStart ¶
func (mr *MockLinkLayerDeviceMockRecorder) IsAutoStart() *gomock.Call
IsAutoStart indicates an expected call of IsAutoStart
func (*MockLinkLayerDeviceMockRecorder) IsUp ¶
func (mr *MockLinkLayerDeviceMockRecorder) IsUp() *gomock.Call
IsUp indicates an expected call of IsUp
func (*MockLinkLayerDeviceMockRecorder) MACAddress ¶
func (mr *MockLinkLayerDeviceMockRecorder) MACAddress() *gomock.Call
MACAddress indicates an expected call of MACAddress
func (*MockLinkLayerDeviceMockRecorder) MTU ¶
func (mr *MockLinkLayerDeviceMockRecorder) MTU() *gomock.Call
MTU indicates an expected call of MTU
func (*MockLinkLayerDeviceMockRecorder) Name ¶
func (mr *MockLinkLayerDeviceMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name
func (*MockLinkLayerDeviceMockRecorder) ParentDevice ¶
func (mr *MockLinkLayerDeviceMockRecorder) ParentDevice() *gomock.Call
ParentDevice indicates an expected call of ParentDevice
func (*MockLinkLayerDeviceMockRecorder) ParentName ¶
func (mr *MockLinkLayerDeviceMockRecorder) ParentName() *gomock.Call
ParentName indicates an expected call of ParentName
func (*MockLinkLayerDeviceMockRecorder) Type ¶
func (mr *MockLinkLayerDeviceMockRecorder) Type() *gomock.Call
Type indicates an expected call of Type
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) AllLinkLayerDevices ¶
func (m *MockMachine) AllLinkLayerDevices() ([]containerizer.LinkLayerDevice, error)
AllLinkLayerDevices mocks base method
func (*MockMachine) AllSpaces ¶
func (m *MockMachine) AllSpaces() (set.Strings, error)
AllSpaces mocks base method
func (*MockMachine) ContainerType ¶
func (m *MockMachine) ContainerType() instance.ContainerType
ContainerType mocks base method
func (*MockMachine) DesiredSpaces ¶
func (m *MockMachine) DesiredSpaces() (set.Strings, error)
DesiredSpaces 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) LinkLayerDevicesForSpaces ¶
func (m *MockMachine) LinkLayerDevicesForSpaces(arg0 []string) (map[string][]containerizer.LinkLayerDevice, error)
LinkLayerDevicesForSpaces mocks base method
func (*MockMachine) MachineTag ¶
func (m *MockMachine) MachineTag() names_v2.MachineTag
MachineTag mocks base method
func (*MockMachine) RemoveAllAddresses ¶
func (m *MockMachine) RemoveAllAddresses() error
RemoveAllAddresses mocks base method
func (*MockMachine) SetConstraints ¶
func (m *MockMachine) SetConstraints(arg0 constraints.Value) error
SetConstraints mocks base method
func (*MockMachine) SetDevicesAddresses ¶
func (m *MockMachine) SetDevicesAddresses(arg0 ...state.LinkLayerDeviceAddress) error
SetDevicesAddresses mocks base method
func (*MockMachine) SetLinkLayerDevices ¶
func (m *MockMachine) SetLinkLayerDevices(arg0 ...state.LinkLayerDeviceArgs) error
SetLinkLayerDevices mocks base method
func (*MockMachine) SetParentLinkLayerDevicesBeforeTheirChildren ¶
func (m *MockMachine) SetParentLinkLayerDevicesBeforeTheirChildren(arg0 []state.LinkLayerDeviceArgs) error
SetParentLinkLayerDevicesBeforeTheirChildren mocks base method
func (*MockMachine) Units ¶
func (m *MockMachine) Units() ([]containerizer.Unit, error)
Units mocks base method
type MockMachineMockRecorder ¶
type MockMachineMockRecorder struct {
// contains filtered or unexported fields
}
MockMachineMockRecorder is the mock recorder for MockMachine
func (*MockMachineMockRecorder) AllLinkLayerDevices ¶
func (mr *MockMachineMockRecorder) AllLinkLayerDevices() *gomock.Call
AllLinkLayerDevices indicates an expected call of AllLinkLayerDevices
func (*MockMachineMockRecorder) AllSpaces ¶
func (mr *MockMachineMockRecorder) AllSpaces() *gomock.Call
AllSpaces indicates an expected call of AllSpaces
func (*MockMachineMockRecorder) ContainerType ¶
func (mr *MockMachineMockRecorder) ContainerType() *gomock.Call
ContainerType indicates an expected call of ContainerType
func (*MockMachineMockRecorder) DesiredSpaces ¶
func (mr *MockMachineMockRecorder) DesiredSpaces() *gomock.Call
DesiredSpaces indicates an expected call of DesiredSpaces
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) LinkLayerDevicesForSpaces ¶
func (mr *MockMachineMockRecorder) LinkLayerDevicesForSpaces(arg0 interface{}) *gomock.Call
LinkLayerDevicesForSpaces indicates an expected call of LinkLayerDevicesForSpaces
func (*MockMachineMockRecorder) MachineTag ¶
func (mr *MockMachineMockRecorder) MachineTag() *gomock.Call
MachineTag indicates an expected call of MachineTag
func (*MockMachineMockRecorder) Raw ¶
func (mr *MockMachineMockRecorder) Raw() *gomock.Call
Raw indicates an expected call of Raw
func (*MockMachineMockRecorder) RemoveAllAddresses ¶
func (mr *MockMachineMockRecorder) RemoveAllAddresses() *gomock.Call
RemoveAllAddresses indicates an expected call of RemoveAllAddresses
func (*MockMachineMockRecorder) SetConstraints ¶
func (mr *MockMachineMockRecorder) SetConstraints(arg0 interface{}) *gomock.Call
SetConstraints indicates an expected call of SetConstraints
func (*MockMachineMockRecorder) SetDevicesAddresses ¶
func (mr *MockMachineMockRecorder) SetDevicesAddresses(arg0 ...interface{}) *gomock.Call
SetDevicesAddresses indicates an expected call of SetDevicesAddresses
func (*MockMachineMockRecorder) SetLinkLayerDevices ¶
func (mr *MockMachineMockRecorder) SetLinkLayerDevices(arg0 ...interface{}) *gomock.Call
SetLinkLayerDevices indicates an expected call of SetLinkLayerDevices
func (*MockMachineMockRecorder) SetParentLinkLayerDevicesBeforeTheirChildren ¶
func (mr *MockMachineMockRecorder) SetParentLinkLayerDevicesBeforeTheirChildren(arg0 interface{}) *gomock.Call
SetParentLinkLayerDevicesBeforeTheirChildren indicates an expected call of SetParentLinkLayerDevicesBeforeTheirChildren
func (*MockMachineMockRecorder) Units ¶
func (mr *MockMachineMockRecorder) Units() *gomock.Call
Units indicates an expected call of Units
type MockProfileBackend ¶
type MockProfileBackend struct {
// contains filtered or unexported fields
}
MockProfileBackend is a mock of ProfileBackend interface
func NewMockProfileBackend ¶
func NewMockProfileBackend(ctrl *gomock.Controller) *MockProfileBackend
NewMockProfileBackend creates a new mock instance
func (*MockProfileBackend) Charm ¶
func (m *MockProfileBackend) Charm(arg0 *charm_v6.URL) (provisioner.ProfileCharm, error)
Charm mocks base method
func (*MockProfileBackend) EXPECT ¶
func (m *MockProfileBackend) EXPECT() *MockProfileBackendMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockProfileBackendMockRecorder ¶
type MockProfileBackendMockRecorder struct {
// contains filtered or unexported fields
}
MockProfileBackendMockRecorder is the mock recorder for MockProfileBackend
func (*MockProfileBackendMockRecorder) Charm ¶
func (mr *MockProfileBackendMockRecorder) Charm(arg0 interface{}) *gomock.Call
Charm indicates an expected call of Charm
type MockProfileCharm ¶
type MockProfileCharm struct {
// contains filtered or unexported fields
}
MockProfileCharm is a mock of ProfileCharm interface
func NewMockProfileCharm ¶
func NewMockProfileCharm(ctrl *gomock.Controller) *MockProfileCharm
NewMockProfileCharm creates a new mock instance
func (*MockProfileCharm) EXPECT ¶
func (m *MockProfileCharm) EXPECT() *MockProfileCharmMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockProfileCharm) LXDProfile ¶
func (m *MockProfileCharm) LXDProfile() *charm_v6.LXDProfile
LXDProfile mocks base method
func (*MockProfileCharm) Meta ¶
func (m *MockProfileCharm) Meta() *charm_v6.Meta
Meta mocks base method
func (*MockProfileCharm) Revision ¶
func (m *MockProfileCharm) Revision() int
Revision mocks base method
type MockProfileCharmMockRecorder ¶
type MockProfileCharmMockRecorder struct {
// contains filtered or unexported fields
}
MockProfileCharmMockRecorder is the mock recorder for MockProfileCharm
func (*MockProfileCharmMockRecorder) LXDProfile ¶
func (mr *MockProfileCharmMockRecorder) LXDProfile() *gomock.Call
LXDProfile indicates an expected call of LXDProfile
func (*MockProfileCharmMockRecorder) Meta ¶
func (mr *MockProfileCharmMockRecorder) Meta() *gomock.Call
Meta indicates an expected call of Meta
func (*MockProfileCharmMockRecorder) Revision ¶
func (mr *MockProfileCharmMockRecorder) Revision() *gomock.Call
Revision indicates an expected call of Revision
type MockProfileMachine ¶
type MockProfileMachine struct {
// contains filtered or unexported fields
}
MockProfileMachine is a mock of ProfileMachine interface
func NewMockProfileMachine ¶
func NewMockProfileMachine(ctrl *gomock.Controller) *MockProfileMachine
NewMockProfileMachine creates a new mock instance
func (*MockProfileMachine) CharmProfiles ¶
func (m *MockProfileMachine) CharmProfiles() ([]string, error)
CharmProfiles mocks base method
func (*MockProfileMachine) EXPECT ¶
func (m *MockProfileMachine) EXPECT() *MockProfileMachineMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockProfileMachine) ModelName ¶
func (m *MockProfileMachine) ModelName() string
ModelName mocks base method
func (*MockProfileMachine) UpgradeCharmProfileApplication ¶
func (m *MockProfileMachine) UpgradeCharmProfileApplication() (string, error)
UpgradeCharmProfileApplication mocks base method
func (*MockProfileMachine) UpgradeCharmProfileCharmURL ¶
func (m *MockProfileMachine) UpgradeCharmProfileCharmURL() (string, error)
UpgradeCharmProfileCharmURL mocks base method
type MockProfileMachineMockRecorder ¶
type MockProfileMachineMockRecorder struct {
// contains filtered or unexported fields
}
MockProfileMachineMockRecorder is the mock recorder for MockProfileMachine
func (*MockProfileMachineMockRecorder) CharmProfiles ¶
func (mr *MockProfileMachineMockRecorder) CharmProfiles() *gomock.Call
CharmProfiles indicates an expected call of CharmProfiles
func (*MockProfileMachineMockRecorder) Id ¶
func (mr *MockProfileMachineMockRecorder) Id() *gomock.Call
Id indicates an expected call of Id
func (*MockProfileMachineMockRecorder) ModelName ¶
func (mr *MockProfileMachineMockRecorder) ModelName() *gomock.Call
ModelName indicates an expected call of ModelName
func (*MockProfileMachineMockRecorder) UpgradeCharmProfileApplication ¶
func (mr *MockProfileMachineMockRecorder) UpgradeCharmProfileApplication() *gomock.Call
UpgradeCharmProfileApplication indicates an expected call of UpgradeCharmProfileApplication
func (*MockProfileMachineMockRecorder) UpgradeCharmProfileCharmURL ¶
func (mr *MockProfileMachineMockRecorder) UpgradeCharmProfileCharmURL() *gomock.Call
UpgradeCharmProfileCharmURL indicates an expected call of UpgradeCharmProfileCharmURL
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() (containerizer.Application, error)
Application mocks base method
func (*MockUnit) EXPECT ¶
func (m *MockUnit) EXPECT() *MockUnitMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
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) Name ¶
func (mr *MockUnitMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name