Add Network method to Handle interface

Should probably be moved to an Inspect method in the Driver Plugin world
This commit is contained in:
Michael Schurter
2018-07-29 19:27:06 -07:00
parent 76194c7414
commit cea2b879e4
8 changed files with 49 additions and 9 deletions

View File

@@ -408,6 +408,10 @@ func (h *javaHandle) Signal(s os.Signal) error {
return h.executor.Signal(s)
}
func (d *javaHandle) Network() *cstructs.DriverNetwork {
return nil
}
func (h *javaHandle) Kill() error {
if err := h.executor.ShutDown(); err != nil {
if h.pluginClient.Exited() {