containerd/vendor/github.com/Microsoft/hcsshim/cmd/go-runhcs/runhcs_pause.go
Justin Terry (VM) 7768ab1b5e Update runhcs-shim to use go-bindings
Signed-off-by: Justin Terry (VM) <juterry@microsoft.com>
2018-09-20 10:40:33 -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))
}