
Details about CimFs project are discussed in #8346 Signed-off-by: Amit Barve <ambarve@microsoft.com>
14 lines
278 B
Go
14 lines
278 B
Go
//go:build windows
|
|
|
|
package runhcs
|
|
|
|
import (
|
|
"context"
|
|
)
|
|
|
|
// Kill sends the specified signal (default: SIGTERM) to the container's init
|
|
// process.
|
|
func (r *Runhcs) Kill(ctx context.Context, id, signal string) error {
|
|
return r.runOrError(r.command(ctx, "kill", id, signal))
|
|
}
|