Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UPSTREAM: 51636: add reconcile command to kubectl auth #16104

Merged
merged 2 commits into from
Sep 2, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
79 changes: 79 additions & 0 deletions contrib/completions/bash/oc
Original file line number Diff line number Diff line change
Expand Up @@ -6498,11 +6498,90 @@ _oc_auth_can-i()
noun_aliases=()
}

_oc_auth_reconcile()
{
last_command="oc_auth_reconcile"
commands=()

flags=()
two_word_flags=()
local_nonpersistent_flags=()
flags_with_completion=()
flags_completion=()

flags+=("--allow-missing-template-keys")
local_nonpersistent_flags+=("--allow-missing-template-keys")
flags+=("--filename=")
flags_with_completion+=("--filename")
flags_completion+=("__handle_filename_extension_flag json|yaml|yml")
two_word_flags+=("-f")
flags_with_completion+=("-f")
flags_completion+=("__handle_filename_extension_flag json|yaml|yml")
local_nonpersistent_flags+=("--filename=")
flags+=("--no-headers")
local_nonpersistent_flags+=("--no-headers")
flags+=("--output=")
two_word_flags+=("-o")
local_nonpersistent_flags+=("--output=")
flags+=("--recursive")
flags+=("-R")
local_nonpersistent_flags+=("--recursive")
flags+=("--show-all")
flags+=("-a")
local_nonpersistent_flags+=("--show-all")
flags+=("--show-labels")
local_nonpersistent_flags+=("--show-labels")
flags+=("--sort-by=")
local_nonpersistent_flags+=("--sort-by=")
flags+=("--template=")
flags_with_completion+=("--template")
flags_completion+=("_filedir")
local_nonpersistent_flags+=("--template=")
flags+=("--as=")
flags+=("--as-group=")
flags+=("--certificate-authority=")
flags_with_completion+=("--certificate-authority")
flags_completion+=("_filedir")
flags+=("--client-certificate=")
flags_with_completion+=("--client-certificate")
flags_completion+=("_filedir")
flags+=("--client-key=")
flags_with_completion+=("--client-key")
flags_completion+=("_filedir")
flags+=("--cluster=")
flags+=("--config=")
flags_with_completion+=("--config")
flags_completion+=("_filedir")
flags+=("--context=")
flags+=("--insecure-skip-tls-verify")
flags+=("--log-flush-frequency=")
flags+=("--loglevel=")
flags+=("--logspec=")
flags+=("--match-server-version")
flags+=("--namespace=")
flags_with_completion+=("--namespace")
flags_completion+=("__oc_get_namespaces")
two_word_flags+=("-n")
flags_with_completion+=("-n")
flags_completion+=("__oc_get_namespaces")
flags+=("--request-timeout=")
flags+=("--server=")
flags+=("--token=")
flags+=("--user=")

must_have_one_flag=()
must_have_one_flag+=("--filename=")
must_have_one_flag+=("-f")
must_have_one_noun=()
noun_aliases=()
}

_oc_auth()
{
last_command="oc_auth"
commands=()
commands+=("can-i")
commands+=("reconcile")

flags=()
two_word_flags=()
Expand Down
213 changes: 213 additions & 0 deletions contrib/completions/bash/openshift
Original file line number Diff line number Diff line change
Expand Up @@ -12140,11 +12140,93 @@ _openshift_cli_auth_can-i()
noun_aliases=()
}

_openshift_cli_auth_reconcile()
{
last_command="openshift_cli_auth_reconcile"
commands=()

flags=()
two_word_flags=()
local_nonpersistent_flags=()
flags_with_completion=()
flags_completion=()

flags+=("--allow-missing-template-keys")
local_nonpersistent_flags+=("--allow-missing-template-keys")
flags+=("--filename=")
flags_with_completion+=("--filename")
flags_completion+=("__handle_filename_extension_flag json|yaml|yml")
two_word_flags+=("-f")
flags_with_completion+=("-f")
flags_completion+=("__handle_filename_extension_flag json|yaml|yml")
local_nonpersistent_flags+=("--filename=")
flags+=("--no-headers")
local_nonpersistent_flags+=("--no-headers")
flags+=("--output=")
two_word_flags+=("-o")
local_nonpersistent_flags+=("--output=")
flags+=("--recursive")
flags+=("-R")
local_nonpersistent_flags+=("--recursive")
flags+=("--show-all")
flags+=("-a")
local_nonpersistent_flags+=("--show-all")
flags+=("--show-labels")
local_nonpersistent_flags+=("--show-labels")
flags+=("--sort-by=")
local_nonpersistent_flags+=("--sort-by=")
flags+=("--template=")
flags_with_completion+=("--template")
flags_completion+=("_filedir")
local_nonpersistent_flags+=("--template=")
flags+=("--as=")
flags+=("--as-group=")
flags+=("--azure-container-registry-config=")
flags+=("--certificate-authority=")
flags_with_completion+=("--certificate-authority")
flags_completion+=("_filedir")
flags+=("--client-certificate=")
flags_with_completion+=("--client-certificate")
flags_completion+=("_filedir")
flags+=("--client-key=")
flags_with_completion+=("--client-key")
flags_completion+=("_filedir")
flags+=("--cluster=")
flags+=("--config=")
flags_with_completion+=("--config")
flags_completion+=("_filedir")
flags+=("--context=")
flags+=("--google-json-key=")
flags+=("--insecure-skip-tls-verify")
flags+=("--log-flush-frequency=")
flags+=("--loglevel=")
flags+=("--logspec=")
flags+=("--match-server-version")
flags+=("--namespace=")
flags_with_completion+=("--namespace")
flags_completion+=("__oc_get_namespaces")
two_word_flags+=("-n")
flags_with_completion+=("-n")
flags_completion+=("__oc_get_namespaces")
flags+=("--request-timeout=")
flags+=("--server=")
flags+=("--token=")
flags+=("--user=")
flags+=("--version")

must_have_one_flag=()
must_have_one_flag+=("--filename=")
must_have_one_flag+=("-f")
must_have_one_noun=()
noun_aliases=()
}

_openshift_cli_auth()
{
last_command="openshift_cli_auth"
commands=()
commands+=("can-i")
commands+=("reconcile")

flags=()
two_word_flags=()
Expand Down Expand Up @@ -26288,11 +26370,142 @@ _openshift_kube_auth_can-i()
noun_aliases=()
}

_openshift_kube_auth_reconcile()
{
last_command="openshift_kube_auth_reconcile"
commands=()

flags=()
two_word_flags=()
local_nonpersistent_flags=()
flags_with_completion=()
flags_completion=()

flags+=("--allow-missing-template-keys")
local_nonpersistent_flags+=("--allow-missing-template-keys")
flags+=("--filename=")
flags_with_completion+=("--filename")
flags_completion+=("__handle_filename_extension_flag json|yaml|yml")
two_word_flags+=("-f")
flags_with_completion+=("-f")
flags_completion+=("__handle_filename_extension_flag json|yaml|yml")
local_nonpersistent_flags+=("--filename=")
flags+=("--no-headers")
local_nonpersistent_flags+=("--no-headers")
flags+=("--output=")
two_word_flags+=("-o")
local_nonpersistent_flags+=("--output=")
flags+=("--recursive")
flags+=("-R")
local_nonpersistent_flags+=("--recursive")
flags+=("--show-all")
flags+=("-a")
local_nonpersistent_flags+=("--show-all")
flags+=("--show-labels")
local_nonpersistent_flags+=("--show-labels")
flags+=("--sort-by=")
local_nonpersistent_flags+=("--sort-by=")
flags+=("--template=")
flags_with_completion+=("--template")
flags_completion+=("_filedir")
local_nonpersistent_flags+=("--template=")
flags+=("--allow-verification-with-non-compliant-keys")
flags+=("--alsologtostderr")
flags+=("--application-metrics-count-limit=")
flags+=("--as=")
flags+=("--as-group=")
flags+=("--azure-container-registry-config=")
flags+=("--boot-id-file=")
flags+=("--certificate-authority=")
flags_with_completion+=("--certificate-authority")
flags_completion+=("_filedir")
flags+=("--client-certificate=")
flags_with_completion+=("--client-certificate")
flags_completion+=("_filedir")
flags+=("--client-key=")
flags_with_completion+=("--client-key")
flags_completion+=("_filedir")
flags+=("--cloud-provider-gce-lb-src-cidrs=")
flags+=("--cluster=")
flags_with_completion+=("--cluster")
flags_completion+=("__kubectl_config_get_clusters")
flags+=("--config=")
flags_with_completion+=("--config")
flags_completion+=("_filedir")
flags+=("--container-hints=")
flags+=("--context=")
flags_with_completion+=("--context")
flags_completion+=("__kubectl_config_get_contexts")
flags+=("--default-not-ready-toleration-seconds=")
flags+=("--default-unreachable-toleration-seconds=")
flags+=("--docker=")
flags+=("--docker-env-metadata-whitelist=")
flags+=("--docker-only")
flags+=("--docker-root=")
flags+=("--enable-load-reader")
flags+=("--event-storage-age-limit=")
flags+=("--event-storage-event-limit=")
flags+=("--global-housekeeping-interval=")
flags+=("--google-json-key=")
flags+=("--housekeeping-interval=")
flags+=("--httptest.serve=")
flags+=("--insecure-skip-tls-verify")
flags+=("--ir-data-source=")
flags+=("--ir-dbname=")
flags+=("--ir-hawkular=")
flags+=("--ir-influxdb-host=")
flags+=("--ir-namespace-only")
flags+=("--ir-password=")
flags+=("--ir-percentile=")
flags+=("--ir-user=")
flags+=("--kubeconfig=")
flags+=("--log-backtrace-at=")
flags+=("--log-cadvisor-usage")
flags+=("--log-dir=")
flags+=("--log-flush-frequency=")
flags+=("--loglevel=")
flags+=("--logspec=")
flags+=("--logtostderr")
flags+=("--machine-id-file=")
flags+=("--match-server-version")
flags+=("--namespace=")
flags_with_completion+=("--namespace")
flags_completion+=("__kubectl_get_namespaces")
two_word_flags+=("-n")
flags_with_completion+=("-n")
flags_completion+=("__kubectl_get_namespaces")
flags+=("--request-timeout=")
flags+=("--server=")
flags+=("--stderrthreshold=")
flags+=("--storage-driver-buffer-duration=")
flags+=("--storage-driver-db=")
flags+=("--storage-driver-host=")
flags+=("--storage-driver-password=")
flags+=("--storage-driver-secure")
flags+=("--storage-driver-table=")
flags+=("--storage-driver-user=")
flags+=("--token=")
flags+=("--user=")
flags_with_completion+=("--user")
flags_completion+=("__kubectl_config_get_users")
flags+=("--v=")
two_word_flags+=("-v")
flags+=("--version")
flags+=("--vmodule=")

must_have_one_flag=()
must_have_one_flag+=("--filename=")
must_have_one_flag+=("-f")
must_have_one_noun=()
noun_aliases=()
}

_openshift_kube_auth()
{
last_command="openshift_kube_auth"
commands=()
commands+=("can-i")
commands+=("reconcile")

flags=()
two_word_flags=()
Expand Down
Loading