kubectl/pkg/cmd/get
Arda Güçlü 89edfadfa3 Use OpenAPI to determine patch type in kubectl apply patching
Currently `kubectl apply` determines correct patch type for given
GVKs by trying to register schema and if it succeeds, it uses
strategic-merge-patch.

But OpenAPI endpoint already stores which patch types are supported
by GVKs. This PR checks OpenAPI endpoint to retrieve patch type,
if OpenAPI is enabled. If it is not enabled, patch type determination
will be done as conventional registration method.

Kubernetes-commit: cddbb0c56397448ac0489f0473a26601c1feece8
2022-06-08 13:12:16 +03:00
..
customcolumn.go Generate and format files 2022-07-19 20:54:13 -04:00
customcolumn_flags.go sort custom column print flags 2022-03-03 22:31:58 +08:00
customcolumn_flags_test.go Use temporary directory when creating temporary file in tests 2020-07-17 10:41:16 +02:00
customcolumn_test.go Moves kubectl get subcommand to staging 2019-10-29 15:51:00 -07:00
get.go Set validate functions requiring no parameters for all commands 2022-05-17 11:38:20 +03:00
get_flags.go update kubectl doc url 2022-05-05 21:27:52 +08:00
get_test.go Use OpenAPI to determine patch type in kubectl apply patching 2022-06-08 13:12:16 +03:00
humanreadable_flags.go Moves kubectl get subcommand to staging 2019-10-29 15:51:00 -07:00
humanreadable_flags_test.go Moves kubectl get subcommand to staging 2019-10-29 15:51:00 -07:00
skip_printer.go Switch TableGenerator/TableConvertor interfaces to metav1 2019-11-26 13:13:25 -05:00
sorter.go Change reflect.Ptr to reflect.Pointer 2022-06-26 01:23:43 +09:00
sorter_test.go Fixed sort-by not sorting Resources as expected 2021-03-21 17:44:52 -04:00
table_printer.go switch over k/k to use klog v2 2020-04-17 15:25:06 -04:00