2017-11-22 14:26:01 +00:00
|
|
|
package manager
|
|
|
|
|
|
|
|
type Runc struct{}
|
|
|
|
|
|
|
|
func NewRunc() *Runc {
|
|
|
|
return &Runc{}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (rc *Runc) Start() error {
|
2020-10-26 11:38:17 +00:00
|
|
|
return ActionNotImplErr
|
2017-11-22 14:26:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (rc *Runc) Stop() error {
|
2020-10-26 11:38:17 +00:00
|
|
|
return ActionNotImplErr
|
2017-11-22 14:26:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (rc *Runc) Remove() error {
|
2020-10-26 11:38:17 +00:00
|
|
|
return ActionNotImplErr
|
2017-11-22 14:26:01 +00:00
|
|
|
}
|
2018-06-22 07:41:16 +00:00
|
|
|
|
|
|
|
func (rc *Runc) Pause() error {
|
2020-10-26 11:38:17 +00:00
|
|
|
return ActionNotImplErr
|
2018-06-22 07:41:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (rc *Runc) Unpause() error {
|
2020-10-26 11:38:17 +00:00
|
|
|
return ActionNotImplErr
|
2018-06-22 07:41:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (rc *Runc) 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 (rc *Runc) Exec(cmd []string) error {
|
2020-10-26 11:38:17 +00:00
|
|
|
return ActionNotImplErr
|
2018-10-13 05:33:53 +00:00
|
|
|
}
|