go.mod: Bump hcsshim to v0.10.0-rc.1

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>
This commit is contained in:
Daniel Canter
2022-08-12 23:43:27 -07:00
parent a04268132e
commit 1f8db2467b
168 changed files with 3532 additions and 1131 deletions

View File

@@ -0,0 +1 @@
package runhcs

View File

@@ -1,3 +1,5 @@
//go:build windows
package runhcs
import (
@@ -20,7 +22,7 @@ type Format string
const (
none Format = ""
// Text is the default text log ouput.
// Text is the default text log output.
Text Format = "text"
// JSON is the JSON formatted log output.
JSON Format = "json"
@@ -140,7 +142,7 @@ func (r *Runhcs) runOrError(cmd *exec.Cmd) error {
}
status, err := runc.Monitor.Wait(cmd, ec)
if err == nil && status != 0 {
err = fmt.Errorf("%s did not terminate sucessfully", cmd.Args[0])
err = fmt.Errorf("%s did not terminate successfully", cmd.Args[0])
}
return err
}
@@ -166,7 +168,7 @@ func cmdOutput(cmd *exec.Cmd, combined bool) ([]byte, error) {
status, err := runc.Monitor.Wait(cmd, ec)
if err == nil && status != 0 {
err = fmt.Errorf("%s did not terminate sucessfully", cmd.Args[0])
err = fmt.Errorf("%s did not terminate successfully", cmd.Args[0])
}
return b.Bytes(), err

View File

@@ -1,3 +1,5 @@
//go:build windows
package runhcs
import (

View File

@@ -1,3 +1,5 @@
//go:build windows
package runhcs
import (
@@ -95,7 +97,7 @@ func (r *Runhcs) Create(context context.Context, id, bundle string, opts *Create
}
status, err := runc.Monitor.Wait(cmd, ec)
if err == nil && status != 0 {
err = fmt.Errorf("%s did not terminate sucessfully", cmd.Args[0])
err = fmt.Errorf("%s did not terminate successfully", cmd.Args[0])
}
return err
}

View File

@@ -1,3 +1,5 @@
//go:build windows
package runhcs
import (

View File

@@ -1,3 +1,5 @@
//go:build windows
package runhcs
import (
@@ -82,7 +84,7 @@ func (r *Runhcs) Exec(context context.Context, id, processFile string, opts *Exe
}
status, err := runc.Monitor.Wait(cmd, ec)
if err == nil && status != 0 {
err = fmt.Errorf("%s did not terminate sucessfully", cmd.Args[0])
err = fmt.Errorf("%s did not terminate successfully", cmd.Args[0])
}
return err
}

View File

@@ -1,3 +1,5 @@
//go:build windows
package runhcs
import (

View File

@@ -1,3 +1,5 @@
//go:build windows
package runhcs
import (

View File

@@ -1,3 +1,5 @@
//go:build windows
package runhcs
import (

View File

@@ -1,3 +1,5 @@
//go:build windows
package runhcs
import (

View File

@@ -1,3 +1,5 @@
//go:build windows
package runhcs
import (

View File

@@ -1,3 +1,5 @@
//go:build windows
package runhcs
import (

View File

@@ -1,3 +1,5 @@
//go:build windows
package runhcs
import (

View File

@@ -1,3 +1,5 @@
//go:build windows
package runhcs
import (