Sign in
cue
/
cue
/
bb2b651a2babb8e22961f0b8dccd37e82ddaf07e
/
.
/
doc
/
tutorial
/
kubernetes
/
manual
/
services
/
create_tool.cue
blob: 1713fa5f432dcc96370b73c307de4bdfdb4d0868 [
file
] [
log
] [
blame
]
package
kube
import
"encoding/yaml"
command create
:
{
task kube
:
{
kind
:
"exec"
cmd
:
"kubectl create --dry-run -f -"
stdin
:
yaml
.
MarshalStream
(
objects
)
stdout
:
string
}
task display
:
{
kind
:
"print"
text
:
task
.
kube
.
stdout
}
}