Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
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 MockBackendModel
- type MockBackendModelMockRecorder
- type MockBackendState
- func (m *MockBackendState) AllCharms() ([]*state.Charm, error)
- func (m *MockBackendState) Application(arg0 string) (interfaces.Application, error)
- func (m *MockBackendState) Charm(arg0 *charm.URL) (*state.Charm, error)
- func (m *MockBackendState) ControllerConfig() (controller.Config, error)
- func (m *MockBackendState) ControllerTag() names.ControllerTag
- func (m *MockBackendState) EXPECT() *MockBackendStateMockRecorder
- func (m *MockBackendState) Machine(arg0 string) (interfaces.Machine, error)
- func (m *MockBackendState) ModelConstraints() (constraints.Value, error)
- func (m *MockBackendState) ModelUUID() string
- func (m *MockBackendState) MongoSession() *mgo.Session
- func (m *MockBackendState) PrepareCharmUpload(arg0 *charm.URL) (charm0.StateCharm, error)
- func (m *MockBackendState) UpdateUploadedCharm(arg0 state.CharmInfo) (*state.Charm, error)
- type MockBackendStateMockRecorder
- func (mr *MockBackendStateMockRecorder) AllCharms() *gomock.Call
- func (mr *MockBackendStateMockRecorder) Application(arg0 interface{}) *gomock.Call
- func (mr *MockBackendStateMockRecorder) Charm(arg0 interface{}) *gomock.Call
- func (mr *MockBackendStateMockRecorder) ControllerConfig() *gomock.Call
- func (mr *MockBackendStateMockRecorder) ControllerTag() *gomock.Call
- func (mr *MockBackendStateMockRecorder) Machine(arg0 interface{}) *gomock.Call
- func (mr *MockBackendStateMockRecorder) ModelConstraints() *gomock.Call
- func (mr *MockBackendStateMockRecorder) ModelUUID() *gomock.Call
- func (mr *MockBackendStateMockRecorder) MongoSession() *gomock.Call
- func (mr *MockBackendStateMockRecorder) PrepareCharmUpload(arg0 interface{}) *gomock.Call
- func (mr *MockBackendStateMockRecorder) UpdateUploadedCharm(arg0 interface{}) *gomock.Call
- type MockCSRepository
- type MockCSRepositoryMockRecorder
- type MockCharmHubClient
- func (m *MockCharmHubClient) DownloadAndRead(arg0 context.Context, arg1 *url.URL, arg2 string, ...) (*charm.CharmArchive, error)
- func (m *MockCharmHubClient) EXPECT() *MockCharmHubClientMockRecorder
- func (m *MockCharmHubClient) Refresh(arg0 context.Context, arg1 charmhub.RefreshConfig) ([]transport.RefreshResponse, error)
- type MockCharmHubClientMockRecorder
- type MockMachine
- type MockMachineMockRecorder
- type MockStateCharm
- type MockStateCharmMockRecorder
- type MockStorage
- func (m *MockStorage) EXPECT() *MockStorageMockRecorder
- func (m *MockStorage) Get(arg0 string) (io.ReadCloser, int64, error)
- func (m *MockStorage) Put(arg0 string, arg1 io.Reader, arg2 int64) error
- func (m *MockStorage) PutAndCheckHash(arg0 string, arg1 io.Reader, arg2 int64, arg3 string) error
- func (m *MockStorage) Remove(arg0 string) error
- type MockStorageMockRecorder
- func (mr *MockStorageMockRecorder) Get(arg0 interface{}) *gomock.Call
- func (mr *MockStorageMockRecorder) Put(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockStorageMockRecorder) PutAndCheckHash(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockStorageMockRecorder) Remove(arg0 interface{}) *gomock.Call
- type MockStoreCharm
- func (m *MockStoreCharm) Actions() *charm.Actions
- func (m *MockStoreCharm) Config() *charm.Config
- func (m *MockStoreCharm) EXPECT() *MockStoreCharmMockRecorder
- func (m *MockStoreCharm) LXDProfile() *charm.LXDProfile
- func (m *MockStoreCharm) Meta() *charm.Meta
- func (m *MockStoreCharm) Metrics() *charm.Metrics
- func (m *MockStoreCharm) Revision() int
- func (m *MockStoreCharm) Version() string
- type MockStoreCharmMockRecorder
- func (mr *MockStoreCharmMockRecorder) Actions() *gomock.Call
- func (mr *MockStoreCharmMockRecorder) Config() *gomock.Call
- func (mr *MockStoreCharmMockRecorder) LXDProfile() *gomock.Call
- func (mr *MockStoreCharmMockRecorder) Meta() *gomock.Call
- func (mr *MockStoreCharmMockRecorder) Metrics() *gomock.Call
- func (mr *MockStoreCharmMockRecorder) Revision() *gomock.Call
- func (mr *MockStoreCharmMockRecorder) Version() *gomock.Call
- type MockStrategy
- func (m *MockStrategy) CharmURL() *charm.URL
- func (m *MockStrategy) EXPECT() *MockStrategyMockRecorder
- func (m *MockStrategy) Finish() error
- func (m *MockStrategy) Run(arg0 charm0.State, arg1 charm0.JujuVersionValidator, arg2 charm0.Origin) (charm0.DownloadResult, bool, charm0.Origin, error)
- func (m *MockStrategy) Validate() error
- type MockStrategyMockRecorder
- 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) AllUnits ¶
func (m *MockApplication) AllUnits() ([]interfaces.Unit, error)
AllUnits mocks base method
func (*MockApplication) Constraints ¶
func (m *MockApplication) Constraints() (constraints.Value, error)
Constraints mocks base method
func (*MockApplication) EXPECT ¶
func (m *MockApplication) EXPECT() *MockApplicationMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockApplication) IsPrincipal ¶
func (m *MockApplication) IsPrincipal() bool
IsPrincipal mocks base method
type MockApplicationMockRecorder ¶
type MockApplicationMockRecorder struct {
// contains filtered or unexported fields
}
MockApplicationMockRecorder is the mock recorder for MockApplication
func (*MockApplicationMockRecorder) AllUnits ¶
func (mr *MockApplicationMockRecorder) AllUnits() *gomock.Call
AllUnits indicates an expected call of AllUnits
func (*MockApplicationMockRecorder) Constraints ¶
func (mr *MockApplicationMockRecorder) Constraints() *gomock.Call
Constraints indicates an expected call of Constraints
func (*MockApplicationMockRecorder) IsPrincipal ¶
func (mr *MockApplicationMockRecorder) IsPrincipal() *gomock.Call
IsPrincipal indicates an expected call of IsPrincipal
type MockBackendModel ¶
type MockBackendModel struct {
// contains filtered or unexported fields
}
MockBackendModel is a mock of BackendModel interface
func NewMockBackendModel ¶
func NewMockBackendModel(ctrl *gomock.Controller) *MockBackendModel
NewMockBackendModel creates a new mock instance
func (*MockBackendModel) Config ¶
func (m *MockBackendModel) Config() (*config.Config, error)
Config mocks base method
func (*MockBackendModel) EXPECT ¶
func (m *MockBackendModel) EXPECT() *MockBackendModelMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockBackendModel) ModelTag ¶
func (m *MockBackendModel) ModelTag() names.ModelTag
ModelTag mocks base method
type MockBackendModelMockRecorder ¶
type MockBackendModelMockRecorder struct {
// contains filtered or unexported fields
}
MockBackendModelMockRecorder is the mock recorder for MockBackendModel
func (*MockBackendModelMockRecorder) Config ¶
func (mr *MockBackendModelMockRecorder) Config() *gomock.Call
Config indicates an expected call of Config
func (*MockBackendModelMockRecorder) ModelTag ¶
func (mr *MockBackendModelMockRecorder) ModelTag() *gomock.Call
ModelTag indicates an expected call of ModelTag
type MockBackendState ¶
type MockBackendState struct {
// contains filtered or unexported fields
}
MockBackendState is a mock of BackendState interface
func NewMockBackendState ¶
func NewMockBackendState(ctrl *gomock.Controller) *MockBackendState
NewMockBackendState creates a new mock instance
func (*MockBackendState) AllCharms ¶
func (m *MockBackendState) AllCharms() ([]*state.Charm, error)
AllCharms mocks base method
func (*MockBackendState) Application ¶
func (m *MockBackendState) Application(arg0 string) (interfaces.Application, error)
Application mocks base method
func (*MockBackendState) ControllerConfig ¶
func (m *MockBackendState) ControllerConfig() (controller.Config, error)
ControllerConfig mocks base method
func (*MockBackendState) ControllerTag ¶
func (m *MockBackendState) ControllerTag() names.ControllerTag
ControllerTag mocks base method
func (*MockBackendState) EXPECT ¶
func (m *MockBackendState) EXPECT() *MockBackendStateMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockBackendState) Machine ¶
func (m *MockBackendState) Machine(arg0 string) (interfaces.Machine, error)
Machine mocks base method
func (*MockBackendState) ModelConstraints ¶
func (m *MockBackendState) ModelConstraints() (constraints.Value, error)
ModelConstraints mocks base method
func (*MockBackendState) ModelUUID ¶
func (m *MockBackendState) ModelUUID() string
ModelUUID mocks base method
func (*MockBackendState) MongoSession ¶
func (m *MockBackendState) MongoSession() *mgo.Session
MongoSession mocks base method
func (*MockBackendState) PrepareCharmUpload ¶
func (m *MockBackendState) PrepareCharmUpload(arg0 *charm.URL) (charm0.StateCharm, error)
PrepareCharmUpload mocks base method
func (*MockBackendState) UpdateUploadedCharm ¶
UpdateUploadedCharm mocks base method
type MockBackendStateMockRecorder ¶
type MockBackendStateMockRecorder struct {
// contains filtered or unexported fields
}
MockBackendStateMockRecorder is the mock recorder for MockBackendState
func (*MockBackendStateMockRecorder) AllCharms ¶
func (mr *MockBackendStateMockRecorder) AllCharms() *gomock.Call
AllCharms indicates an expected call of AllCharms
func (*MockBackendStateMockRecorder) Application ¶
func (mr *MockBackendStateMockRecorder) Application(arg0 interface{}) *gomock.Call
Application indicates an expected call of Application
func (*MockBackendStateMockRecorder) Charm ¶
func (mr *MockBackendStateMockRecorder) Charm(arg0 interface{}) *gomock.Call
Charm indicates an expected call of Charm
func (*MockBackendStateMockRecorder) ControllerConfig ¶
func (mr *MockBackendStateMockRecorder) ControllerConfig() *gomock.Call
ControllerConfig indicates an expected call of ControllerConfig
func (*MockBackendStateMockRecorder) ControllerTag ¶
func (mr *MockBackendStateMockRecorder) ControllerTag() *gomock.Call
ControllerTag indicates an expected call of ControllerTag
func (*MockBackendStateMockRecorder) Machine ¶
func (mr *MockBackendStateMockRecorder) Machine(arg0 interface{}) *gomock.Call
Machine indicates an expected call of Machine
func (*MockBackendStateMockRecorder) ModelConstraints ¶
func (mr *MockBackendStateMockRecorder) ModelConstraints() *gomock.Call
ModelConstraints indicates an expected call of ModelConstraints
func (*MockBackendStateMockRecorder) ModelUUID ¶
func (mr *MockBackendStateMockRecorder) ModelUUID() *gomock.Call
ModelUUID indicates an expected call of ModelUUID
func (*MockBackendStateMockRecorder) MongoSession ¶
func (mr *MockBackendStateMockRecorder) MongoSession() *gomock.Call
MongoSession indicates an expected call of MongoSession
func (*MockBackendStateMockRecorder) PrepareCharmUpload ¶
func (mr *MockBackendStateMockRecorder) PrepareCharmUpload(arg0 interface{}) *gomock.Call
PrepareCharmUpload indicates an expected call of PrepareCharmUpload
func (*MockBackendStateMockRecorder) UpdateUploadedCharm ¶
func (mr *MockBackendStateMockRecorder) UpdateUploadedCharm(arg0 interface{}) *gomock.Call
UpdateUploadedCharm indicates an expected call of UpdateUploadedCharm
type MockCSRepository ¶
type MockCSRepository struct {
// contains filtered or unexported fields
}
MockCSRepository is a mock of CSRepository interface
func NewMockCSRepository ¶
func NewMockCSRepository(ctrl *gomock.Controller) *MockCSRepository
NewMockCSRepository creates a new mock instance
func (*MockCSRepository) EXPECT ¶
func (m *MockCSRepository) EXPECT() *MockCSRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockCSRepository) Get ¶
func (m *MockCSRepository) Get(arg0 *charm.URL, arg1 string) (*charm.CharmArchive, error)
Get mocks base method
type MockCSRepositoryMockRecorder ¶
type MockCSRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockCSRepositoryMockRecorder is the mock recorder for MockCSRepository
func (*MockCSRepositoryMockRecorder) Get ¶
func (mr *MockCSRepositoryMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockCSRepositoryMockRecorder) ResolveWithPreferredChannel ¶
func (mr *MockCSRepositoryMockRecorder) ResolveWithPreferredChannel(arg0, arg1 interface{}) *gomock.Call
ResolveWithPreferredChannel indicates an expected call of ResolveWithPreferredChannel
type MockCharmHubClient ¶
type MockCharmHubClient struct {
// contains filtered or unexported fields
}
MockCharmHubClient is a mock of CharmHubClient interface
func NewMockCharmHubClient ¶
func NewMockCharmHubClient(ctrl *gomock.Controller) *MockCharmHubClient
NewMockCharmHubClient creates a new mock instance
func (*MockCharmHubClient) DownloadAndRead ¶
func (m *MockCharmHubClient) DownloadAndRead(arg0 context.Context, arg1 *url.URL, arg2 string, arg3 ...charmhub.DownloadOption) (*charm.CharmArchive, error)
DownloadAndRead mocks base method
func (*MockCharmHubClient) EXPECT ¶
func (m *MockCharmHubClient) EXPECT() *MockCharmHubClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockCharmHubClient) Refresh ¶
func (m *MockCharmHubClient) Refresh(arg0 context.Context, arg1 charmhub.RefreshConfig) ([]transport.RefreshResponse, error)
Refresh mocks base method
type MockCharmHubClientMockRecorder ¶
type MockCharmHubClientMockRecorder struct {
// contains filtered or unexported fields
}
MockCharmHubClientMockRecorder is the mock recorder for MockCharmHubClient
func (*MockCharmHubClientMockRecorder) DownloadAndRead ¶
func (mr *MockCharmHubClientMockRecorder) DownloadAndRead(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
DownloadAndRead indicates an expected call of DownloadAndRead
func (*MockCharmHubClientMockRecorder) Refresh ¶
func (mr *MockCharmHubClientMockRecorder) Refresh(arg0, arg1 interface{}) *gomock.Call
Refresh indicates an expected call of Refresh
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) Constraints ¶
func (m *MockMachine) Constraints() (constraints.Value, error)
Constraints 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) HardwareCharacteristics ¶
func (m *MockMachine) HardwareCharacteristics() (*instance.HardwareCharacteristics, error)
HardwareCharacteristics mocks base method
type MockMachineMockRecorder ¶
type MockMachineMockRecorder struct {
// contains filtered or unexported fields
}
MockMachineMockRecorder is the mock recorder for MockMachine
func (*MockMachineMockRecorder) Constraints ¶
func (mr *MockMachineMockRecorder) Constraints() *gomock.Call
Constraints indicates an expected call of Constraints
func (*MockMachineMockRecorder) HardwareCharacteristics ¶
func (mr *MockMachineMockRecorder) HardwareCharacteristics() *gomock.Call
HardwareCharacteristics indicates an expected call of HardwareCharacteristics
type MockStateCharm ¶
type MockStateCharm struct {
// contains filtered or unexported fields
}
MockStateCharm is a mock of StateCharm interface
func NewMockStateCharm ¶
func NewMockStateCharm(ctrl *gomock.Controller) *MockStateCharm
NewMockStateCharm creates a new mock instance
func (*MockStateCharm) EXPECT ¶
func (m *MockStateCharm) EXPECT() *MockStateCharmMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockStateCharm) IsUploaded ¶
func (m *MockStateCharm) IsUploaded() bool
IsUploaded mocks base method
type MockStateCharmMockRecorder ¶
type MockStateCharmMockRecorder struct {
// contains filtered or unexported fields
}
MockStateCharmMockRecorder is the mock recorder for MockStateCharm
func (*MockStateCharmMockRecorder) IsUploaded ¶
func (mr *MockStateCharmMockRecorder) IsUploaded() *gomock.Call
IsUploaded indicates an expected call of IsUploaded
type MockStorage ¶
type MockStorage struct {
// contains filtered or unexported fields
}
MockStorage is a mock of Storage interface
func NewMockStorage ¶
func NewMockStorage(ctrl *gomock.Controller) *MockStorage
NewMockStorage creates a new mock instance
func (*MockStorage) EXPECT ¶
func (m *MockStorage) EXPECT() *MockStorageMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockStorage) Get ¶
func (m *MockStorage) Get(arg0 string) (io.ReadCloser, int64, error)
Get mocks base method
func (*MockStorage) PutAndCheckHash ¶
PutAndCheckHash mocks base method
func (*MockStorage) Remove ¶
func (m *MockStorage) Remove(arg0 string) error
Remove mocks base method
type MockStorageMockRecorder ¶
type MockStorageMockRecorder struct {
// contains filtered or unexported fields
}
MockStorageMockRecorder is the mock recorder for MockStorage
func (*MockStorageMockRecorder) Get ¶
func (mr *MockStorageMockRecorder) Get(arg0 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockStorageMockRecorder) Put ¶
func (mr *MockStorageMockRecorder) Put(arg0, arg1, arg2 interface{}) *gomock.Call
Put indicates an expected call of Put
func (*MockStorageMockRecorder) PutAndCheckHash ¶
func (mr *MockStorageMockRecorder) PutAndCheckHash(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
PutAndCheckHash indicates an expected call of PutAndCheckHash
func (*MockStorageMockRecorder) Remove ¶
func (mr *MockStorageMockRecorder) Remove(arg0 interface{}) *gomock.Call
Remove indicates an expected call of Remove
type MockStoreCharm ¶
type MockStoreCharm struct {
// contains filtered or unexported fields
}
MockStoreCharm is a mock of StoreCharm interface
func NewMockStoreCharm ¶
func NewMockStoreCharm(ctrl *gomock.Controller) *MockStoreCharm
NewMockStoreCharm creates a new mock instance
func (*MockStoreCharm) Actions ¶
func (m *MockStoreCharm) Actions() *charm.Actions
Actions mocks base method
func (*MockStoreCharm) Config ¶
func (m *MockStoreCharm) Config() *charm.Config
Config mocks base method
func (*MockStoreCharm) EXPECT ¶
func (m *MockStoreCharm) EXPECT() *MockStoreCharmMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockStoreCharm) LXDProfile ¶
func (m *MockStoreCharm) LXDProfile() *charm.LXDProfile
LXDProfile mocks base method
func (*MockStoreCharm) Metrics ¶
func (m *MockStoreCharm) Metrics() *charm.Metrics
Metrics mocks base method
func (*MockStoreCharm) Revision ¶
func (m *MockStoreCharm) Revision() int
Revision mocks base method
func (*MockStoreCharm) Version ¶
func (m *MockStoreCharm) Version() string
Version mocks base method
type MockStoreCharmMockRecorder ¶
type MockStoreCharmMockRecorder struct {
// contains filtered or unexported fields
}
MockStoreCharmMockRecorder is the mock recorder for MockStoreCharm
func (*MockStoreCharmMockRecorder) Actions ¶
func (mr *MockStoreCharmMockRecorder) Actions() *gomock.Call
Actions indicates an expected call of Actions
func (*MockStoreCharmMockRecorder) Config ¶
func (mr *MockStoreCharmMockRecorder) Config() *gomock.Call
Config indicates an expected call of Config
func (*MockStoreCharmMockRecorder) LXDProfile ¶
func (mr *MockStoreCharmMockRecorder) LXDProfile() *gomock.Call
LXDProfile indicates an expected call of LXDProfile
func (*MockStoreCharmMockRecorder) Meta ¶
func (mr *MockStoreCharmMockRecorder) Meta() *gomock.Call
Meta indicates an expected call of Meta
func (*MockStoreCharmMockRecorder) Metrics ¶
func (mr *MockStoreCharmMockRecorder) Metrics() *gomock.Call
Metrics indicates an expected call of Metrics
func (*MockStoreCharmMockRecorder) Revision ¶
func (mr *MockStoreCharmMockRecorder) Revision() *gomock.Call
Revision indicates an expected call of Revision
func (*MockStoreCharmMockRecorder) Version ¶
func (mr *MockStoreCharmMockRecorder) Version() *gomock.Call
Version indicates an expected call of Version
type MockStrategy ¶
type MockStrategy struct {
// contains filtered or unexported fields
}
MockStrategy is a mock of Strategy interface
func NewMockStrategy ¶
func NewMockStrategy(ctrl *gomock.Controller) *MockStrategy
NewMockStrategy creates a new mock instance
func (*MockStrategy) CharmURL ¶
func (m *MockStrategy) CharmURL() *charm.URL
CharmURL mocks base method
func (*MockStrategy) EXPECT ¶
func (m *MockStrategy) EXPECT() *MockStrategyMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockStrategy) Run ¶
func (m *MockStrategy) Run(arg0 charm0.State, arg1 charm0.JujuVersionValidator, arg2 charm0.Origin) (charm0.DownloadResult, bool, charm0.Origin, error)
Run mocks base method
type MockStrategyMockRecorder ¶
type MockStrategyMockRecorder struct {
// contains filtered or unexported fields
}
MockStrategyMockRecorder is the mock recorder for MockStrategy
func (*MockStrategyMockRecorder) CharmURL ¶
func (mr *MockStrategyMockRecorder) CharmURL() *gomock.Call
CharmURL indicates an expected call of CharmURL
func (*MockStrategyMockRecorder) Finish ¶
func (mr *MockStrategyMockRecorder) Finish() *gomock.Call
Finish indicates an expected call of Finish
func (*MockStrategyMockRecorder) Run ¶
func (mr *MockStrategyMockRecorder) Run(arg0, arg1, arg2 interface{}) *gomock.Call
Run indicates an expected call of Run
func (*MockStrategyMockRecorder) Validate ¶
func (mr *MockStrategyMockRecorder) Validate() *gomock.Call
Validate indicates an expected call of Validate
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) 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
type MockUnitMockRecorder ¶
type MockUnitMockRecorder struct {
// contains filtered or unexported fields
}
MockUnitMockRecorder is the mock recorder for MockUnit
func (*MockUnitMockRecorder) AssignedMachineId ¶
func (mr *MockUnitMockRecorder) AssignedMachineId() *gomock.Call
AssignedMachineId indicates an expected call of AssignedMachineId