Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions cmd/unikraft/help_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,8 @@ func instancesHelpTests(t *testing.T, unikraftPath string) {
[]string{"unikraft", "instance", "restart", "--help"},
[]string{"unikraft", "instance", "tunnel", "--help"},
[]string{"unikraft", "instance", "history", "--help"},
[]string{"unikraft", "instance", "shell", "--help"},
[]string{"unikraft", "instance", "exec", "--help"},
)
}

Expand Down
594 changes: 594 additions & 0 deletions cmd/unikraft/integration/sandbox_test.go

Large diffs are not rendered by default.

169 changes: 169 additions & 0 deletions cmd/unikraft/testdata/TestHelp/instances

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions cmd/unikraft/testdata/TestHelp/run

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module unikraft.com/cli

go 1.26.2
go 1.26.4

tool github.com/caarlos0/svu/v3

Expand Down Expand Up @@ -51,6 +51,7 @@ require (
gotest.tools/v3 v3.5.2
mvdan.cc/sh/v3 v3.13.1
sigs.k8s.io/yaml v1.6.0
unikraft.com/cloud/plugins/sandbox v0.0.0-20260814150108-0d07a5aa09c6
unikraft.com/cloud/sdk v0.3.1-0.20260817110643-696a81b27ce2
unikraft.com/x/colors v0.0.0-20260813113709-544c471e0bc9
unikraft.com/x/filters v0.0.0-20260804153219-d1b47a40e047
Expand All @@ -66,6 +67,8 @@ require (
unikraft.com/x/version v0.0.0-20260819081122-82fdef94867a
)

require golang.org/x/term v0.45.0 // indirect

require (
charm.land/fang/v2 v2.0.1 // indirect
dario.cat/mergo v1.0.2 // indirect
Expand Down
4 changes: 4 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ github.com/containerd/typeurl/v2 v2.2.3/go.mod h1:95ljDnPfD3bAbDJRugOiShd/DlAAsx
github.com/cpuguy83/go-md2man/v2 v2.0.6/go.mod h1:oOW0eioCTA6cOiMLiUPZOpcVxMig6NIQQ7OS05n1F4g=
github.com/cpuguy83/go-md2man/v2 v2.0.7 h1:zbFlGlXEAKlwXpmvle3d8Oe3YnkKIK4xSRTd3sHPnBo=
github.com/cpuguy83/go-md2man/v2 v2.0.7/go.mod h1:oOW0eioCTA6cOiMLiUPZOpcVxMig6NIQQ7OS05n1F4g=
github.com/creack/pty v1.1.24 h1:bJrF4RRfyJnbTJqzRLHzcGaZK1NeM5kTC9jGgovnR1s=
github.com/creack/pty v1.1.24/go.mod h1:08sCNb52WyoAwi2QDyzUCTgcvVFhUzewun7wtTfvcwE=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM=
Expand Down Expand Up @@ -491,6 +493,8 @@ sigs.k8s.io/yaml v1.6.0 h1:G8fkbMSAFqgEFgh4b1wmtzDnioxFCUgTZhlbj5P9QYs=
sigs.k8s.io/yaml v1.6.0/go.mod h1:796bPqUfzR/0jLAl6XjHl3Ck7MiyVv8dbTdyT3/pMf4=
tailscale.com v1.94.1 h1:0dAst/ozTuFkgmxZULc3oNwR9+qPIt5ucvzH7kaM0Jw=
tailscale.com v1.94.1/go.mod h1:gLnVrEOP32GWvroaAHHGhjSGMPJ1i4DvqNwEg+Yuov4=
unikraft.com/cloud/plugins/sandbox v0.0.0-20260814150108-0d07a5aa09c6 h1:rFWHvhKdyHZFW3loHhH1ighy7qAs/v51EwePSocV77Q=
unikraft.com/cloud/plugins/sandbox v0.0.0-20260814150108-0d07a5aa09c6/go.mod h1:kyKc/Y88zfqPoz87hl+Bd6lSRqADqpXOnfMsZGkTNoA=
unikraft.com/cloud/sdk v0.3.1-0.20260817110643-696a81b27ce2 h1:o8grUFAGil4kVkW6TzEO74ZxnyAUDVrhHSh2/F+pkgY=
unikraft.com/cloud/sdk v0.3.1-0.20260817110643-696a81b27ce2/go.mod h1:/HDJPy+5ynXjrw+NFm18nAItVzStvGkG/KqYrYH/hgI=
unikraft.com/x/colors v0.0.0-20260813113709-544c471e0bc9 h1:nhrTtS3nztz6r83s1tPPWxKapFaGjQ3rMZKR81XXJRE=
Expand Down
Loading