return static error on unimplemented manager actions

This commit is contained in:
Bradley Cicenas
2020-10-26 11:38:17 +00:00
parent c5038e2edd
commit 53ec5c911a
5 changed files with 20 additions and 16 deletions

View File

@@ -7,29 +7,29 @@ func NewMock() *Mock {
}
func (m *Mock) Start() error {
return nil
return ActionNotImplErr
}
func (m *Mock) Stop() error {
return nil
return ActionNotImplErr
}
func (m *Mock) Remove() error {
return nil
return ActionNotImplErr
}
func (m *Mock) Pause() error {
return nil
return ActionNotImplErr
}
func (m *Mock) Unpause() error {
return nil
return ActionNotImplErr
}
func (m *Mock) Restart() error {
return nil
return ActionNotImplErr
}
func (m *Mock) Exec(cmd []string) error {
return nil
return ActionNotImplErr
}