Sign in
cue
/
cue
/
97528440d574af3797f89fab902d0d69b4bad3fd
/
.
/
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
}
}