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