
Implements the containerd-shim-runhcs-v1 shim on Windows for the runtime v2 shim API. Signed-off-by: Justin Terry (VM) <juterry@microsoft.com>
12 lines
266 B
Go
12 lines
266 B
Go
package runhcs
|
|
|
|
import (
|
|
"context"
|
|
)
|
|
|
|
// Kill sends the specified signal (default: SIGTERM) to the container's init
|
|
// process.
|
|
func (r *Runhcs) Kill(context context.Context, id, signal string) error {
|
|
return r.runOrError(r.command(context, "kill", id, signal))
|
|
}
|