Skip to content

Commit

Permalink
kele-list: Render columns + values server-side (#249)
Browse files Browse the repository at this point in the history
Contributes to #248.
  • Loading branch information
jinnovation authored Jan 12, 2025
1 parent c054b40 commit 1d23e6a
Show file tree
Hide file tree
Showing 5 changed files with 207 additions and 176 deletions.
11 changes: 10 additions & 1 deletion docs/how-tos/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,16 @@ This is bound to `kele-list`.
![](./img/kele-list.png)

This will list all resources of the specified group-version and kind in a
separate buffer in a table. From here, you can:
separate buffer in a table.

!!! info

Kele uses [server-side
printing](https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables),
which means that any resource-specific columns that `kubectl` would print --
for example, the "Status" column for Pods -- will be tabulated here as well.

From here, you can:

- Click any of the header columns to sort the list;
- Click or hit `RET` on any of the entries to display its full manifest in a
Expand Down
Binary file modified docs/img/kele-list.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,18 +41,18 @@ with Kele.

## Screenshots

=== "Overview"
=== "Resource listing"

![](./img/kele-list.png)

=== "Resource-specific actions"

![](./img/overview.png)

=== "Menu bar integration"

![](./img/menu-bar.png)

=== "Resource listing"

![](./img/kele-list.png)

=== "`doom-modeline` integration"

![](./img/doom-modeline.png)
Expand Down
6 changes: 5 additions & 1 deletion docs/references/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ versioning][semver].

- `kele-list` now supports kind-specific columns. For example, listing
Deployments will now show columns `READY`, `UP-TO-DATE`, and `AVAILABLE`,
similar to `kubectl get deployments`
similar to `kubectl get deployments`. This is done via [server-side printing],
meaning that you are guaranteed to see exactly the same thing as you'd get
with `kubectl`
- `kele-resource` now has a keybinding to follow logs for resources that support
it
- `kele-resource` now has a suffix for port-forwarding to resources that support
Expand All @@ -24,6 +26,8 @@ versioning][semver].
created using `kele-port-forward`
- Rename `kele-proxy` to `kele-ports`

[server-side printing]: https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables

### Changed

- Renamed `kele-after-context-switch-hook` to
Expand Down
Loading

0 comments on commit 1d23e6a

Please sign in to comment.