kubectl/pkg/util
Brian Pursley a2ae001d8e cmd/get: Remove cmd argument from Run()
Removes the need to pass cmd as an argument to Run(). This change required reading the --sort-by flag in Complete() in a way similar to other flags.

This change allows the cobra.Command not to need to be passed throughout the completion code, which I updated as part of this commit.

It also is a step in the direction of the TODO comment requesting the removal of arguments passed to Run() and watch().

Kubernetes-commit: aa7a828f20b479a8a943d897224e8e76c3bb6cff
2022-12-23 14:56:59 -05:00
..
certificate Add v1 CSR support to kubectl describe 2020-06-04 12:05:51 -04:00
completion cmd/get: Remove cmd argument from Run() 2022-12-23 14:56:59 -05:00
deployment Generate and format files 2022-07-19 20:54:13 -04:00
event Move pkg/kubectl/util/event into staging 2019-06-19 15:31:51 -07:00
fieldpath Fix quotes that trip up gofmt 2022-07-22 09:19:47 -04:00
hash Immutable field and validation 2019-11-26 13:29:26 +01:00
i18n staging: fix "go vet" issues 2023-02-28 21:22:40 +01:00
interrupt Moved pkg/kubectl/util/term, pkg/kubectl/util/templates, pkg/kubectl/util/interrupt, and pkg/kubectl/util/interrupt to staging 2019-06-19 16:31:38 +02:00
openapi test: fix ginkgolinter issues 2023-02-22 10:35:09 +01:00
podutils Implement kubectl debug profiles: general, baseline, and restricted (#114280) 2023-02-09 11:18:22 -06:00
prune kubectl-apply: add prune test cases for non-namespaced resources 2022-11-09 07:43:43 +08:00
qos small comment the ephemeral containers are not accounted for the QoS calculation 2023-02-02 18:21:39 +00:00
rbac When combining PolicyRules, don't duplicate verbs 2020-05-18 15:20:06 -04:00
resource Downward API hugepages 2020-11-06 14:22:53 -05:00
slice kubectl apply: Deprecate --prune-whitelist in favor of --prune-allowlist 2022-10-30 20:50:19 -04:00
storage add unit test for /staging/src/k8s.io/kubectl/pkg/util/storage 2022-07-29 17:34:00 +08:00
templates add unit test for normalizer rendering markdown 2022-09-27 14:06:40 +08:00
term Generate and format files 2022-07-19 20:54:13 -04:00
apply.go Move pkg/kubectl/apply.go to staging 2019-07-24 20:40:25 -07:00
pod_port.go Move pkg/kubectl/util to staging 2019-07-24 11:59:28 -07:00
pod_port_test.go Move pkg/kubectl/util to staging 2019-07-24 11:59:28 -07:00
service_port.go Move pkg/kubectl/util to staging 2019-07-24 11:59:28 -07:00
service_port_test.go Move pkg/kubectl/util to staging 2019-07-24 11:59:28 -07:00
umask.go generated: Run hack/update-gofmt.sh 2021-08-12 17:13:11 -04:00
umask_windows.go generated: Run hack/update-gofmt.sh 2021-08-12 17:13:11 -04:00
util.go Generate and format files 2022-07-19 20:54:13 -04:00
util_test.go Move pkg/kubectl/util to staging 2019-07-24 11:59:28 -07:00