Files

36 lines
506 B
Go
Raw Permalink Normal View History

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 {
return ActionNotImplErr
2017-11-20 11:09:36 +00:00
}
func (m *Mock) Stop() error {
return ActionNotImplErr
2017-11-20 11:09:36 +00:00
}
func (m *Mock) Remove() error {
return ActionNotImplErr
2017-11-20 11:09:36 +00:00
}
2018-06-22 15:41:16 +08:00
func (m *Mock) Pause() error {
return ActionNotImplErr
2018-06-22 15:41:16 +08:00
}
func (m *Mock) Unpause() error {
return ActionNotImplErr
2018-06-22 15:41:16 +08:00
}
func (m *Mock) Restart() error {
return ActionNotImplErr
2018-06-22 15:41:16 +08:00
}
2018-10-13 08:33:53 +03:00
func (m *Mock) Exec(cmd []string) error {
return ActionNotImplErr
2018-10-13 08:33:53 +03:00
}