containerd/vendor/github.com/Microsoft/hcsshim/pkg/go-runhcs/runhcs_pause.go
Justin Terry (VM) 3f1d9b2c4f Revendor github.com/Microsoft/hcsshim
Signed-off-by: Justin Terry (VM) <juterry@microsoft.com>
2018-10-15 13:38:24 -07:00

11 lines
216 B
Go

package runhcs
import (
"context"
)
// Pause suspends all processes inside the container.
func (r *Runhcs) Pause(context context.Context, id string) error {
return r.runOrError(r.command(context, "pause", id))
}