k3s/pkg/registry
Clayton Coleman 2f275b72b2
Improve the output of `kubectl get events`
Events have long shown the most data of the core objects in their output, but that data is of varying use
to a user. Following the principle that events are intended for the system to communicate information back
to the user, and that Message is the primary human readable field, this commit alters the default columns
to ensure event is shown with the most width.

1. Events are no longer sorted in the printer (this was a bug and was broken with paging and server side
   rendering)
2. Only the last seen, type, reason, kind, and message fields are shown by default, which makes the
   message prominent
3. Source, subobject, count, and first seen are only shown under `-o wide`
4. The duration fields were changed to be the more precise output introduced for job duration (2-3 sig figs)
2018-07-26 16:12:32 -04:00
..
admissionregistration Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
apps generated 2018-07-13 11:41:09 -04:00
authentication dry-run: Create new options for Update/Create and pass it along 2018-07-12 07:18:37 -07:00
authorization dry-run: Create new options for Update/Create and pass it along 2018-07-12 07:18:37 -07:00
autoscaling dry-run: Create new options for Update/Create and pass it along 2018-07-12 07:18:37 -07:00
batch dry-run: Create new options for Update/Create and pass it along 2018-07-12 07:18:37 -07:00
cachesize Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
certificates generated 2018-07-13 11:41:09 -04:00
coordination Autogenerated stuff 2018-06-27 13:31:10 +02:00
core Improve the output of `kubectl get events` 2018-07-26 16:12:32 -04:00
events Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
extensions generated 2018-07-13 11:41:09 -04:00
networking generated 2018-07-13 11:41:09 -04:00
policy dry-run: Create new options for Update/Create and pass it along 2018-07-12 07:18:37 -07:00
rbac dry-run: Create new options for Update/Create and pass it along 2018-07-12 07:18:37 -07:00
registrytest generated 2018-07-13 11:41:09 -04:00
scheduling generated 2018-07-13 11:41:09 -04:00
settings generated 2018-07-13 11:41:09 -04:00
storage Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
BUILD Autogenerated stuff 2018-06-27 13:31:10 +02:00
OWNERS Add liggitt to registry approvers 2017-09-04 11:20:38 -04:00
doc.go