kubectl/pkg
Arda Güçlü fc1c4dafec Add new flags into alpha events
In order to promote kubectl alpha events to beta,
it should at least support flags which is already
supported by kubectl get events as well as new flags.

This PR adds;

--output: json|yaml support and does essential refactorings to
integrate other printing options easier in the future.

--no-headers: kubectl get events can hide headers when this flag is set for default printing.
Adds this ability to hide headers also for kubectl alpha events.
This flag has no effect when output is json or yaml for both commands.

--types: This will be used to filter certain events to be printed and
discard others(default behavior is same with --event=Normal,Warning).

Kubernetes-commit: 63b8684cd32f96f3a1e5c5a5fd05e8194f2140fc
2022-05-10 13:09:59 +03:00
..
apply Remove `newlineReporter` custom report 2022-06-01 13:09:47 +08:00
apps Remove `newlineReporter` custom report 2022-06-01 13:09:47 +08:00
cmd Add new flags into alpha events 2022-05-10 13:09:59 +03:00
describe Generate and format files 2022-07-19 20:54:13 -04:00
drain Generalize dry run verify to arbitrary query param 2022-03-09 14:51:50 +00:00
explain Fix printing control character in kubectl explain 2022-01-20 15:04:15 +01:00
generate Clean unused generators 2021-03-03 22:47:53 +01:00
metricsutil Added --sum flag to kubectl top pod 2021-09-16 09:28:30 -04:00
polymorphichelpers Generate and format files 2022-07-19 20:54:13 -04:00
proxy kubectl proxy: append context host path to request path 2020-12-16 17:37:44 +01:00
rawhttp Close the used file 2021-06-03 15:36:20 +08:00
scale Support kubectl scale --dry-run=server|client 2020-03-30 17:33:15 -04:00
scheme Promote cronjob to batch/v1: kubectl sparse_test prune 2021-05-26 20:08:36 +08:00
util Generate and format files 2022-07-19 20:54:13 -04:00
validation add server-side validation support to kubectl 2022-03-09 14:52:32 +00:00