2017-11-20 11:09:36 +00:00
|
|
|
package manager
|
|
|
|
|
2017-11-22 14:27:38 +00:00
|
|
|
type Mock struct{}
|
2017-11-20 11:09:36 +00:00
|
|
|
|
|
|
|
func NewMock() *Mock {
|
|
|
|
return &Mock{}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Mock) Start() error {
|
2020-10-26 11:38:17 +00:00
|
|
|
return ActionNotImplErr
|
2017-11-20 11:09:36 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Mock) Stop() error {
|
2020-10-26 11:38:17 +00:00
|
|
|
return ActionNotImplErr
|
2017-11-20 11:09:36 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Mock) Remove() error {
|
2020-10-26 11:38:17 +00:00
|
|
|
return ActionNotImplErr
|
2017-11-20 11:09:36 +00:00
|
|
|
}
|
2018-06-22 07:41:16 +00:00
|
|
|
|
|
|
|
func (m *Mock) Pause() error {
|
2020-10-26 11:38:17 +00:00
|
|
|
return ActionNotImplErr
|
2018-06-22 07:41:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Mock) Unpause() error {
|
2020-10-26 11:38:17 +00:00
|
|
|
return ActionNotImplErr
|
2018-06-22 07:41:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Mock) Restart() error {
|
2020-10-26 11:38:17 +00:00
|
|
|
return ActionNotImplErr
|
2018-06-22 07:41:16 +00:00
|
|
|
}
|
2018-10-13 05:33:53 +00:00
|
|
|
|
|
|
|
func (m *Mock) Exec(cmd []string) error {
|
2020-10-26 11:38:17 +00:00
|
|
|
return ActionNotImplErr
|
2018-10-13 05:33:53 +00:00
|
|
|
}
|