containerd/vendor/github.com/Microsoft/hcsshim/pkg/go-runhcs/runhcs_pause.go
Amit Barve daa1ea522b Add cimfs differ and snapshotter
Details about CimFs project are discussed in #8346

Signed-off-by: Amit Barve <ambarve@microsoft.com>
2023-12-20 09:29:08 -08:00

13 lines
228 B
Go

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