k3s/pkg/kubectl
Kubernetes Submit Queue b5c5b4a494 Merge pull request #50561 from cblecker/zsh-compinit
Automatic merge from submit-queue (batch tested with PRs 51471, 50561, 50435, 51473, 51436)

Allow zsh completion to be autoloaded by compinit

**What this PR does / why we need it**:
Allows the kubectl zsh autocompletion to be auto loaded by compinit. Had to move the the boilerplate down into the specific shell functions as the compdef needs to be the first line in the definition file.

**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #50560

**Special notes for your reviewer**:

**Release note**:

```release-note
kubectl zsh autocompletion will work with compinit
```
2017-08-29 02:22:10 -07:00
..
apps Update with PR comments 2017-08-17 12:18:57 -07:00
cmd Merge pull request #50561 from cblecker/zsh-compinit 2017-08-29 02:22:10 -07:00
metricsutil Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
plugins Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
proxy Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
resource Remove kubectl's dependence on schema file in pkg/api/validation. 2017-08-16 16:38:28 -07:00
testing kubectl: simplify deepcopy calls 2017-08-16 10:58:51 +02:00
util Italian translation 2017-08-23 08:45:26 +02:00
validation Remove kubectl's dependence on schema file in pkg/api/validation. 2017-08-16 16:38:28 -07:00
BUILD Merge pull request #49674 from crimsonfaith91/rollout 2017-08-25 11:07:15 -07:00
OWNERS
apply.go kubectl: simplify code with help of linter 2017-06-23 09:49:30 -07:00
autoscale.go
bash_comp_utils.go
cluster.go run hack/update-all 2017-06-22 11:31:03 -07:00
cluster_test.go run hack/update-all 2017-06-22 11:31:03 -07:00
clusterrolebinding.go
configmap.go fix comment of isDir 2017-06-02 09:26:13 +08:00
configmap_test.go Relax restrictions on environment variable names. 2017-07-28 22:11:26 +02:00
delete.go rename this file to delete.go to avoid confusion 2017-07-29 03:29:14 +00:00
delete_test.go kubectl: simplify deepcopy calls 2017-08-16 10:58:51 +02:00
deployment.go kubectl: deploy generators don't need to impl Generator iface 2017-07-31 12:26:17 -07:00
doc.go kubectl: rewrite docstrings in several files 2017-06-23 09:49:30 -07:00
env_file.go Relax restrictions on environment variable names. 2017-07-28 22:11:26 +02:00
env_file_test.go kubectl: refactor addFromEnvFile, write tests 2017-06-23 09:49:30 -07:00
explain.go cmd/explain: make 'recursive' local var (not global) 2017-08-01 15:25:56 -07:00
generate.go UTs for pkg/kubectl generate_test.go 2017-08-03 21:34:03 +08:00
generate_test.go UTs for pkg/kubectl generate_test.go 2017-08-03 21:34:03 +08:00
history.go statefulSet kubectl rollout command 2017-08-24 16:43:03 -07:00
interfaces.go
kubectl.go kubectl: rewrite docstrings in several files 2017-06-23 09:49:30 -07:00
kubectl_test.go
namespace.go
namespace_test.go Add test case for namespace 2017-06-03 14:35:49 +08:00
pdb.go fix para 2017-07-23 02:12:53 +08:00
quota.go
quota_test.go
resource_filter.go Correctly filter terminated pods in kubectl 2017-07-11 17:32:56 -07:00
resource_filter_test.go Add test for kubectl resource filter. 2017-07-12 11:44:28 -07:00
rolebinding.go
rolebinding_test.go
rollback.go statefulSet kubectl rollout command 2017-08-24 16:43:03 -07:00
rolling_updater.go kubectl: simplify deepcopy calls 2017-08-16 10:58:51 +02:00
rolling_updater_test.go Fix code implicitly casting clientsets to getters 2017-08-06 15:30:13 +02:00
rollout_status.go DS: kubectl changes 2017-07-25 11:47:57 -07:00
rollout_status_test.go Update StatefulSet rollout status for parameterized RollingUpdate 2017-06-12 10:07:07 -07:00
run.go Relax restrictions on environment variable names. 2017-07-28 22:11:26 +02:00
run_test.go Relax restrictions on environment variable names. 2017-07-28 22:11:26 +02:00
scale.go
scale_test.go fix error message for scale 2017-08-09 10:37:03 +08:00
secret.go modify the meassage in kubectl secret command when the envFile path is not an file path 2017-06-26 16:30:43 +08:00
secret_for_docker_registry.go
secret_for_docker_registry_test.go
secret_for_tls.go
secret_for_tls_test.go
secret_test.go Relax restrictions on environment variable names. 2017-07-28 22:11:26 +02:00
service.go
service_basic.go Populate endpoints and allow ports with headless service 2017-06-28 11:15:51 +08:00
service_basic_test.go Populate endpoints and allow ports with headless service 2017-06-28 11:15:51 +08:00
service_test.go Populate endpoints and allow ports with headless service 2017-06-28 11:15:51 +08:00
serviceaccount.go
serviceaccount_test.go
sorting_printer.go Make metav1.(Micro)?Time functions take pointers 2017-08-17 11:24:28 +02:00
sorting_printer_test.go run hack/update-all 2017-06-22 11:31:03 -07:00
versioned_client.go Fix printer hack to get a versioned client 2017-08-06 15:30:13 +02:00