11 lines
216 B
Go
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))
|
|
}
|