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:
1
vendor/github.com/Microsoft/hcsshim/pkg/go-runhcs/doc.go
generated
vendored
Normal file
1
vendor/github.com/Microsoft/hcsshim/pkg/go-runhcs/doc.go
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
package runhcs
|
||||
8
vendor/github.com/Microsoft/hcsshim/pkg/go-runhcs/runhcs.go
generated
vendored
8
vendor/github.com/Microsoft/hcsshim/pkg/go-runhcs/runhcs.go
generated
vendored
@@ -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
|
||||
|
||||
2
vendor/github.com/Microsoft/hcsshim/pkg/go-runhcs/runhcs_create-scratch.go
generated
vendored
2
vendor/github.com/Microsoft/hcsshim/pkg/go-runhcs/runhcs_create-scratch.go
generated
vendored
@@ -1,3 +1,5 @@
|
||||
//go:build windows
|
||||
|
||||
package runhcs
|
||||
|
||||
import (
|
||||
|
||||
4
vendor/github.com/Microsoft/hcsshim/pkg/go-runhcs/runhcs_create.go
generated
vendored
4
vendor/github.com/Microsoft/hcsshim/pkg/go-runhcs/runhcs_create.go
generated
vendored
@@ -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
|
||||
}
|
||||
|
||||
2
vendor/github.com/Microsoft/hcsshim/pkg/go-runhcs/runhcs_delete.go
generated
vendored
2
vendor/github.com/Microsoft/hcsshim/pkg/go-runhcs/runhcs_delete.go
generated
vendored
@@ -1,3 +1,5 @@
|
||||
//go:build windows
|
||||
|
||||
package runhcs
|
||||
|
||||
import (
|
||||
|
||||
4
vendor/github.com/Microsoft/hcsshim/pkg/go-runhcs/runhcs_exec.go
generated
vendored
4
vendor/github.com/Microsoft/hcsshim/pkg/go-runhcs/runhcs_exec.go
generated
vendored
@@ -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
|
||||
}
|
||||
|
||||
2
vendor/github.com/Microsoft/hcsshim/pkg/go-runhcs/runhcs_kill.go
generated
vendored
2
vendor/github.com/Microsoft/hcsshim/pkg/go-runhcs/runhcs_kill.go
generated
vendored
@@ -1,3 +1,5 @@
|
||||
//go:build windows
|
||||
|
||||
package runhcs
|
||||
|
||||
import (
|
||||
|
||||
2
vendor/github.com/Microsoft/hcsshim/pkg/go-runhcs/runhcs_list.go
generated
vendored
2
vendor/github.com/Microsoft/hcsshim/pkg/go-runhcs/runhcs_list.go
generated
vendored
@@ -1,3 +1,5 @@
|
||||
//go:build windows
|
||||
|
||||
package runhcs
|
||||
|
||||
import (
|
||||
|
||||
2
vendor/github.com/Microsoft/hcsshim/pkg/go-runhcs/runhcs_pause.go
generated
vendored
2
vendor/github.com/Microsoft/hcsshim/pkg/go-runhcs/runhcs_pause.go
generated
vendored
@@ -1,3 +1,5 @@
|
||||
//go:build windows
|
||||
|
||||
package runhcs
|
||||
|
||||
import (
|
||||
|
||||
2
vendor/github.com/Microsoft/hcsshim/pkg/go-runhcs/runhcs_ps.go
generated
vendored
2
vendor/github.com/Microsoft/hcsshim/pkg/go-runhcs/runhcs_ps.go
generated
vendored
@@ -1,3 +1,5 @@
|
||||
//go:build windows
|
||||
|
||||
package runhcs
|
||||
|
||||
import (
|
||||
|
||||
2
vendor/github.com/Microsoft/hcsshim/pkg/go-runhcs/runhcs_resize-tty.go
generated
vendored
2
vendor/github.com/Microsoft/hcsshim/pkg/go-runhcs/runhcs_resize-tty.go
generated
vendored
@@ -1,3 +1,5 @@
|
||||
//go:build windows
|
||||
|
||||
package runhcs
|
||||
|
||||
import (
|
||||
|
||||
2
vendor/github.com/Microsoft/hcsshim/pkg/go-runhcs/runhcs_resume.go
generated
vendored
2
vendor/github.com/Microsoft/hcsshim/pkg/go-runhcs/runhcs_resume.go
generated
vendored
@@ -1,3 +1,5 @@
|
||||
//go:build windows
|
||||
|
||||
package runhcs
|
||||
|
||||
import (
|
||||
|
||||
2
vendor/github.com/Microsoft/hcsshim/pkg/go-runhcs/runhcs_start.go
generated
vendored
2
vendor/github.com/Microsoft/hcsshim/pkg/go-runhcs/runhcs_start.go
generated
vendored
@@ -1,3 +1,5 @@
|
||||
//go:build windows
|
||||
|
||||
package runhcs
|
||||
|
||||
import (
|
||||
|
||||
2
vendor/github.com/Microsoft/hcsshim/pkg/go-runhcs/runhcs_state.go
generated
vendored
2
vendor/github.com/Microsoft/hcsshim/pkg/go-runhcs/runhcs_state.go
generated
vendored
@@ -1,3 +1,5 @@
|
||||
//go:build windows
|
||||
|
||||
package runhcs
|
||||
|
||||
import (
|
||||
|
||||
Reference in New Issue
Block a user