Sign in
cue
/
cue
/
84f47ef8e655d7b589416c92e145e7aca2852135
/
.
/
doc
/
tutorial
/
kubernetes
/
quick
/
services
/
create_tool.cue
blob: 573890e9b1b6cbf5e8c1dc6ce33ed5ff68a394c5 [
file
] [
log
] [
blame
]
package
kube
import
(
"encoding/yaml"
"tool/exec"
"tool/cli"
)
command create
:
{
task kube
:
exec
.
Run
&
{
cmd
:
"kubectl create --dry-run -f -"
stdin
:
yaml
.
MarshalStream
(
objects
)
stdout
:
string
}
task display
:
cli
.
Print
&
{
text
:
task
.
kube
.
stdout
}
}