
This contains quite a bit (also bumps google/uuid to 1.3.0). Some HostProcess container improvements to get ready for whenever it goes to stable in Kubernetes, Hyper-V (windows) container support for CRI, and a plethora of other small additions and fixes. Signed-off-by: Daniel Canter <dcanter@microsoft.com>
14 lines
286 B
Go
14 lines
286 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(context context.Context, id, signal string) error {
|
|
return r.runOrError(r.command(context, "kill", id, signal))
|
|
}
|