Skip to content

Commit

Permalink
Merge pull request #6369 from stevekuznetsov/skuznets/promote-group-c…
Browse files Browse the repository at this point in the history
…ommands

Merged by openshift-bot
  • Loading branch information
OpenShift Bot committed Dec 22, 2015
2 parents 83c0e6a + 6eb1b36 commit da443e7
Show file tree
Hide file tree
Showing 33 changed files with 666 additions and 127 deletions.
226 changes: 226 additions & 0 deletions contrib/completions/bash/oadm
Original file line number Diff line number Diff line change
Expand Up @@ -1786,13 +1786,167 @@ _oadm_groups_remove-users()
must_have_one_noun=()
}

_oadm_groups_sync()
{
last_command="oadm_groups_sync"
commands=()

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

flags+=("--blacklist=")
flags+=("--confirm")
flags+=("--no-headers")
flags+=("--output=")
two_word_flags+=("-o")
flags+=("--output-version=")
flags+=("--show-all")
flags+=("-a")
flags+=("--sort-by=")
flags+=("--sync-config=")
flags+=("--template=")
two_word_flags+=("-t")
flags+=("--type=")
flags+=("--whitelist=")
flags+=("--alsologtostderr")
flags+=("--api-version=")
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+=("--cluster=")
flags+=("--config=")
flags_with_completion+=("--config")
flags_completion+=("_filedir")
flags+=("--container-hints=")
flags+=("--context=")
flags+=("--docker=")
flags+=("--docker-only")
flags+=("--docker-root=")
flags+=("--docker-run=")
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-influxdb-host=")
flags+=("--ir-namespace-only")
flags+=("--ir-password=")
flags+=("--ir-percentile=")
flags+=("--ir-user=")
flags+=("--log-backtrace-at=")
flags+=("--log-cadvisor-usage")
flags+=("--log-dir=")
flags+=("--log-flush-frequency=")
flags+=("--logtostderr")
flags+=("--machine-id-file=")
flags+=("--match-server-version")
flags+=("--namespace=")
two_word_flags+=("-n")
flags+=("--server=")
flags+=("--stderrthreshold=")
flags+=("--token=")
flags+=("--user=")
flags+=("--v=")
flags+=("--vmodule=")

must_have_one_flag=()
must_have_one_noun=()
}

_oadm_groups_prune()
{
last_command="oadm_groups_prune"
commands=()

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

flags+=("--blacklist=")
flags+=("--confirm")
flags+=("--sync-config=")
flags+=("--whitelist=")
flags+=("--alsologtostderr")
flags+=("--api-version=")
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+=("--cluster=")
flags+=("--config=")
flags_with_completion+=("--config")
flags_completion+=("_filedir")
flags+=("--container-hints=")
flags+=("--context=")
flags+=("--docker=")
flags+=("--docker-only")
flags+=("--docker-root=")
flags+=("--docker-run=")
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-influxdb-host=")
flags+=("--ir-namespace-only")
flags+=("--ir-password=")
flags+=("--ir-percentile=")
flags+=("--ir-user=")
flags+=("--log-backtrace-at=")
flags+=("--log-cadvisor-usage")
flags+=("--log-dir=")
flags+=("--log-flush-frequency=")
flags+=("--logtostderr")
flags+=("--machine-id-file=")
flags+=("--match-server-version")
flags+=("--namespace=")
two_word_flags+=("-n")
flags+=("--server=")
flags+=("--stderrthreshold=")
flags+=("--token=")
flags+=("--user=")
flags+=("--v=")
flags+=("--vmodule=")

must_have_one_flag=()
must_have_one_noun=()
}

_oadm_groups()
{
last_command="oadm_groups"
commands=()
commands+=("new")
commands+=("add-users")
commands+=("remove-users")
commands+=("sync")
commands+=("prune")

flags=()
two_word_flags=()
Expand Down Expand Up @@ -2512,13 +2666,85 @@ _oadm_prune_images()
must_have_one_noun=()
}

_oadm_prune_prune()
{
last_command="oadm_prune_prune"
commands=()

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

flags+=("--blacklist=")
flags+=("--confirm")
flags+=("--sync-config=")
flags+=("--whitelist=")
flags+=("--alsologtostderr")
flags+=("--api-version=")
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+=("--cluster=")
flags+=("--config=")
flags_with_completion+=("--config")
flags_completion+=("_filedir")
flags+=("--container-hints=")
flags+=("--context=")
flags+=("--docker=")
flags+=("--docker-only")
flags+=("--docker-root=")
flags+=("--docker-run=")
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-influxdb-host=")
flags+=("--ir-namespace-only")
flags+=("--ir-password=")
flags+=("--ir-percentile=")
flags+=("--ir-user=")
flags+=("--log-backtrace-at=")
flags+=("--log-cadvisor-usage")
flags+=("--log-dir=")
flags+=("--log-flush-frequency=")
flags+=("--logtostderr")
flags+=("--machine-id-file=")
flags+=("--match-server-version")
flags+=("--namespace=")
two_word_flags+=("-n")
flags+=("--server=")
flags+=("--stderrthreshold=")
flags+=("--token=")
flags+=("--user=")
flags+=("--v=")
flags+=("--vmodule=")

must_have_one_flag=()
must_have_one_noun=()
}

_oadm_prune()
{
last_command="oadm_prune"
commands=()
commands+=("builds")
commands+=("deployments")
commands+=("images")
commands+=("prune")

flags=()
two_word_flags=()
Expand Down
Loading

0 comments on commit da443e7

Please sign in to comment.