Package io.fabric8.kubernetes.client.dsl
Interface TableListable
-
- All Known Subinterfaces:
AnyNamespaceOperation<T,L,R>,FilterWatchListDeletable<T,L,R>,MixedOperation<T,L,R>,NonNamespaceOperation<T,L,R>,ParameterMixedOperation<T,L,R>
public interface TableListableProvides operations to list resources as a server-rendered Table, returning column definitions and pre-formatted cell values. This is the format used bykubectl get.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TablelistAsTable()List resources as a Table containing server-defined column definitions and row data.TablelistAsTable(ListOptions options)List resources as a Table with the given options.
-
-
-
Method Detail
-
listAsTable
Table listAsTable()
List resources as a Table containing server-defined column definitions and row data. Sends a multi-value Accept header with v1, v1beta1, and plain JSON fallbacks (matching kubectl behavior) so aggregated apiservers fall back gracefully.- Returns:
- a
Tablewith a row per resource
-
listAsTable
Table listAsTable(ListOptions options)
List resources as a Table with the given options. Sends a multi-value Accept header with v1, v1beta1, and plain JSON fallbacks (matching kubectl behavior) so aggregated apiservers fall back gracefully.- Parameters:
options- list options (label selectors, field selectors, pagination, etc.)- Returns:
- a
Tablewith a row per resource
-
-