ctop/connector/manager/mock.go

36 lines
506 B
Go
Raw 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
}
func (m *Mock) Pause() error {
return ActionNotImplErr
}
func (m *Mock) Unpause() error {
return ActionNotImplErr
}
func (m *Mock) Restart() error {
return ActionNotImplErr
}
2018-10-13 05:33:53 +00:00
func (m *Mock) Exec(cmd []string) error {
return ActionNotImplErr
2018-10-13 05:33:53 +00:00
}