...

Source file src/github.com/Microsoft/hcsshim/pkg/go-runhcs/runhcs_kill.go

Documentation: github.com/Microsoft/hcsshim/pkg/go-runhcs

     1  //go:build windows
     2  
     3  package runhcs
     4  
     5  import (
     6  	"context"
     7  )
     8  
     9  // Kill sends the specified signal (default: SIGTERM) to the container's init
    10  // process.
    11  func (r *Runhcs) Kill(context context.Context, id, signal string) error {
    12  	return r.runOrError(r.command(context, "kill", id, signal))
    13  }
    14  

View as plain text