Revendor github.com/Microsoft/hcsshim

Signed-off-by: Justin Terry (VM) <juterry@microsoft.com>
This commit is contained in:
Justin Terry (VM)
2018-10-15 13:38:24 -07:00
parent 5993d096ff
commit 3f1d9b2c4f
105 changed files with 1955 additions and 12 deletions

View File

@@ -0,0 +1,11 @@
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))
}