Sign in
cue
/
cue
/
a83af2937380d6d0ba41b493a7f34cdc20f62469
/
.
/
doc
/
tutorial
/
kubernetes
/
manual
/
services
/
ls_tool.cue
blob: 0bd44990030686a105340e6d960f8ecd9933be2b [
file
] [
log
] [
blame
]
package
kube
import
"strings"
command ls
:
{
task
print
:
{
kind
:
"print"
Lines
=
[
"\(x.kind) \t\(x.metadata.labels.component) \t\(x.metadata.name)"
for
x
in
objects
]
text
:
strings
.
Join
(
Lines
,
"\n"
)
}
}