Skip to content

Commit

Permalink
Merge pull request #14471 from smarterclayton/pusher
Browse files Browse the repository at this point in the history
Automatic merge from submit-queue.

Sync images from one image stream to another registry 

Creates a command that can be used to bulk promote images from one registry to another, and accepts injected pull secrets.
  • Loading branch information
openshift-merge-robot authored Oct 15, 2017
2 parents fb7ade3 + e04b165 commit ac23330
Show file tree
Hide file tree
Showing 28 changed files with 4,331 additions and 6 deletions.
15 changes: 15 additions & 0 deletions Godeps/Godeps.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

106 changes: 106 additions & 0 deletions contrib/completions/bash/oc
Original file line number Diff line number Diff line change
Expand Up @@ -12151,6 +12151,111 @@ _oc_idle()
noun_aliases=()
}

_oc_image_mirror()
{
last_command="oc_image_mirror"
commands=()

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

flags+=("--filter-by-os=")
local_nonpersistent_flags+=("--filter-by-os=")
flags+=("--force")
local_nonpersistent_flags+=("--force")
flags+=("--insecure")
local_nonpersistent_flags+=("--insecure")
flags+=("--s3-source-bucket=")
local_nonpersistent_flags+=("--s3-source-bucket=")
flags+=("--skip-mount")
local_nonpersistent_flags+=("--skip-mount")
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+=("--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_noun=()
noun_aliases=()
}

_oc_image()
{
last_command="oc_image"
commands=()
commands+=("mirror")

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

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+=("--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_noun=()
noun_aliases=()
}

_oc_import_app.json()
{
last_command="oc_import_app.json"
Expand Down Expand Up @@ -17962,6 +18067,7 @@ _oc()
commands+=("extract")
commands+=("get")
commands+=("idle")
commands+=("image")
commands+=("import")
commands+=("import-image")
commands+=("label")
Expand Down
106 changes: 106 additions & 0 deletions contrib/completions/bash/openshift
Original file line number Diff line number Diff line change
Expand Up @@ -17310,6 +17310,111 @@ _openshift_cli_idle()
noun_aliases=()
}

_openshift_cli_image_mirror()
{
last_command="openshift_cli_image_mirror"
commands=()

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

flags+=("--filter-by-os=")
local_nonpersistent_flags+=("--filter-by-os=")
flags+=("--force")
local_nonpersistent_flags+=("--force")
flags+=("--insecure")
local_nonpersistent_flags+=("--insecure")
flags+=("--s3-source-bucket=")
local_nonpersistent_flags+=("--s3-source-bucket=")
flags+=("--skip-mount")
local_nonpersistent_flags+=("--skip-mount")
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+=("--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_noun=()
noun_aliases=()
}

_openshift_cli_image()
{
last_command="openshift_cli_image"
commands=()
commands+=("mirror")

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

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+=("--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_noun=()
noun_aliases=()
}

_openshift_cli_import_app.json()
{
last_command="openshift_cli_import_app.json"
Expand Down Expand Up @@ -23074,6 +23179,7 @@ _openshift_cli()
commands+=("extract")
commands+=("get")
commands+=("idle")
commands+=("image")
commands+=("import")
commands+=("import-image")
commands+=("label")
Expand Down
106 changes: 106 additions & 0 deletions contrib/completions/zsh/oc
Original file line number Diff line number Diff line change
Expand Up @@ -12300,6 +12300,111 @@ _oc_idle()
noun_aliases=()
}

_oc_image_mirror()
{
last_command="oc_image_mirror"
commands=()

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

flags+=("--filter-by-os=")
local_nonpersistent_flags+=("--filter-by-os=")
flags+=("--force")
local_nonpersistent_flags+=("--force")
flags+=("--insecure")
local_nonpersistent_flags+=("--insecure")
flags+=("--s3-source-bucket=")
local_nonpersistent_flags+=("--s3-source-bucket=")
flags+=("--skip-mount")
local_nonpersistent_flags+=("--skip-mount")
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+=("--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_noun=()
noun_aliases=()
}

_oc_image()
{
last_command="oc_image"
commands=()
commands+=("mirror")

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

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+=("--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_noun=()
noun_aliases=()
}

_oc_import_app.json()
{
last_command="oc_import_app.json"
Expand Down Expand Up @@ -18111,6 +18216,7 @@ _oc()
commands+=("extract")
commands+=("get")
commands+=("idle")
commands+=("image")
commands+=("import")
commands+=("import-image")
commands+=("label")
Expand Down
Loading

0 comments on commit ac23330

Please sign in to comment.