typeWithoutName function

List<String> typeWithoutName(
  1. String type
)

Implementation

List<String> typeWithoutName(String type) {
  return [
    'kubectl',
    'get',
    type,
    '-o',
    'custom-columns=:.metadata.name',
  ];
}