Skip to content

Commit ac23330

Browse files
Merge pull request #14471 from smarterclayton/pusher
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.
2 parents fb7ade3 + e04b165 commit ac23330

File tree

28 files changed

+4331
-6
lines changed

28 files changed

+4331
-6
lines changed

Godeps/Godeps.json

+15
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

contrib/completions/bash/oc

+106
Original file line numberDiff line numberDiff line change
@@ -12151,6 +12151,111 @@ _oc_idle()
1215112151
noun_aliases=()
1215212152
}
1215312153

12154+
_oc_image_mirror()
12155+
{
12156+
last_command="oc_image_mirror"
12157+
commands=()
12158+
12159+
flags=()
12160+
two_word_flags=()
12161+
local_nonpersistent_flags=()
12162+
flags_with_completion=()
12163+
flags_completion=()
12164+
12165+
flags+=("--filter-by-os=")
12166+
local_nonpersistent_flags+=("--filter-by-os=")
12167+
flags+=("--force")
12168+
local_nonpersistent_flags+=("--force")
12169+
flags+=("--insecure")
12170+
local_nonpersistent_flags+=("--insecure")
12171+
flags+=("--s3-source-bucket=")
12172+
local_nonpersistent_flags+=("--s3-source-bucket=")
12173+
flags+=("--skip-mount")
12174+
local_nonpersistent_flags+=("--skip-mount")
12175+
flags+=("--as=")
12176+
flags+=("--as-group=")
12177+
flags+=("--certificate-authority=")
12178+
flags_with_completion+=("--certificate-authority")
12179+
flags_completion+=("_filedir")
12180+
flags+=("--client-certificate=")
12181+
flags_with_completion+=("--client-certificate")
12182+
flags_completion+=("_filedir")
12183+
flags+=("--client-key=")
12184+
flags_with_completion+=("--client-key")
12185+
flags_completion+=("_filedir")
12186+
flags+=("--cluster=")
12187+
flags+=("--config=")
12188+
flags_with_completion+=("--config")
12189+
flags_completion+=("_filedir")
12190+
flags+=("--context=")
12191+
flags+=("--insecure-skip-tls-verify")
12192+
flags+=("--loglevel=")
12193+
flags+=("--logspec=")
12194+
flags+=("--match-server-version")
12195+
flags+=("--namespace=")
12196+
flags_with_completion+=("--namespace")
12197+
flags_completion+=("__oc_get_namespaces")
12198+
two_word_flags+=("-n")
12199+
flags_with_completion+=("-n")
12200+
flags_completion+=("__oc_get_namespaces")
12201+
flags+=("--request-timeout=")
12202+
flags+=("--server=")
12203+
flags+=("--token=")
12204+
flags+=("--user=")
12205+
12206+
must_have_one_flag=()
12207+
must_have_one_noun=()
12208+
noun_aliases=()
12209+
}
12210+
12211+
_oc_image()
12212+
{
12213+
last_command="oc_image"
12214+
commands=()
12215+
commands+=("mirror")
12216+
12217+
flags=()
12218+
two_word_flags=()
12219+
local_nonpersistent_flags=()
12220+
flags_with_completion=()
12221+
flags_completion=()
12222+
12223+
flags+=("--as=")
12224+
flags+=("--as-group=")
12225+
flags+=("--certificate-authority=")
12226+
flags_with_completion+=("--certificate-authority")
12227+
flags_completion+=("_filedir")
12228+
flags+=("--client-certificate=")
12229+
flags_with_completion+=("--client-certificate")
12230+
flags_completion+=("_filedir")
12231+
flags+=("--client-key=")
12232+
flags_with_completion+=("--client-key")
12233+
flags_completion+=("_filedir")
12234+
flags+=("--cluster=")
12235+
flags+=("--config=")
12236+
flags_with_completion+=("--config")
12237+
flags_completion+=("_filedir")
12238+
flags+=("--context=")
12239+
flags+=("--insecure-skip-tls-verify")
12240+
flags+=("--loglevel=")
12241+
flags+=("--logspec=")
12242+
flags+=("--match-server-version")
12243+
flags+=("--namespace=")
12244+
flags_with_completion+=("--namespace")
12245+
flags_completion+=("__oc_get_namespaces")
12246+
two_word_flags+=("-n")
12247+
flags_with_completion+=("-n")
12248+
flags_completion+=("__oc_get_namespaces")
12249+
flags+=("--request-timeout=")
12250+
flags+=("--server=")
12251+
flags+=("--token=")
12252+
flags+=("--user=")
12253+
12254+
must_have_one_flag=()
12255+
must_have_one_noun=()
12256+
noun_aliases=()
12257+
}
12258+
1215412259
_oc_import_app.json()
1215512260
{
1215612261
last_command="oc_import_app.json"
@@ -17962,6 +18067,7 @@ _oc()
1796218067
commands+=("extract")
1796318068
commands+=("get")
1796418069
commands+=("idle")
18070+
commands+=("image")
1796518071
commands+=("import")
1796618072
commands+=("import-image")
1796718073
commands+=("label")

contrib/completions/bash/openshift

+106
Original file line numberDiff line numberDiff line change
@@ -17310,6 +17310,111 @@ _openshift_cli_idle()
1731017310
noun_aliases=()
1731117311
}
1731217312

17313+
_openshift_cli_image_mirror()
17314+
{
17315+
last_command="openshift_cli_image_mirror"
17316+
commands=()
17317+
17318+
flags=()
17319+
two_word_flags=()
17320+
local_nonpersistent_flags=()
17321+
flags_with_completion=()
17322+
flags_completion=()
17323+
17324+
flags+=("--filter-by-os=")
17325+
local_nonpersistent_flags+=("--filter-by-os=")
17326+
flags+=("--force")
17327+
local_nonpersistent_flags+=("--force")
17328+
flags+=("--insecure")
17329+
local_nonpersistent_flags+=("--insecure")
17330+
flags+=("--s3-source-bucket=")
17331+
local_nonpersistent_flags+=("--s3-source-bucket=")
17332+
flags+=("--skip-mount")
17333+
local_nonpersistent_flags+=("--skip-mount")
17334+
flags+=("--as=")
17335+
flags+=("--as-group=")
17336+
flags+=("--certificate-authority=")
17337+
flags_with_completion+=("--certificate-authority")
17338+
flags_completion+=("_filedir")
17339+
flags+=("--client-certificate=")
17340+
flags_with_completion+=("--client-certificate")
17341+
flags_completion+=("_filedir")
17342+
flags+=("--client-key=")
17343+
flags_with_completion+=("--client-key")
17344+
flags_completion+=("_filedir")
17345+
flags+=("--cluster=")
17346+
flags+=("--config=")
17347+
flags_with_completion+=("--config")
17348+
flags_completion+=("_filedir")
17349+
flags+=("--context=")
17350+
flags+=("--insecure-skip-tls-verify")
17351+
flags+=("--loglevel=")
17352+
flags+=("--logspec=")
17353+
flags+=("--match-server-version")
17354+
flags+=("--namespace=")
17355+
flags_with_completion+=("--namespace")
17356+
flags_completion+=("__oc_get_namespaces")
17357+
two_word_flags+=("-n")
17358+
flags_with_completion+=("-n")
17359+
flags_completion+=("__oc_get_namespaces")
17360+
flags+=("--request-timeout=")
17361+
flags+=("--server=")
17362+
flags+=("--token=")
17363+
flags+=("--user=")
17364+
17365+
must_have_one_flag=()
17366+
must_have_one_noun=()
17367+
noun_aliases=()
17368+
}
17369+
17370+
_openshift_cli_image()
17371+
{
17372+
last_command="openshift_cli_image"
17373+
commands=()
17374+
commands+=("mirror")
17375+
17376+
flags=()
17377+
two_word_flags=()
17378+
local_nonpersistent_flags=()
17379+
flags_with_completion=()
17380+
flags_completion=()
17381+
17382+
flags+=("--as=")
17383+
flags+=("--as-group=")
17384+
flags+=("--certificate-authority=")
17385+
flags_with_completion+=("--certificate-authority")
17386+
flags_completion+=("_filedir")
17387+
flags+=("--client-certificate=")
17388+
flags_with_completion+=("--client-certificate")
17389+
flags_completion+=("_filedir")
17390+
flags+=("--client-key=")
17391+
flags_with_completion+=("--client-key")
17392+
flags_completion+=("_filedir")
17393+
flags+=("--cluster=")
17394+
flags+=("--config=")
17395+
flags_with_completion+=("--config")
17396+
flags_completion+=("_filedir")
17397+
flags+=("--context=")
17398+
flags+=("--insecure-skip-tls-verify")
17399+
flags+=("--loglevel=")
17400+
flags+=("--logspec=")
17401+
flags+=("--match-server-version")
17402+
flags+=("--namespace=")
17403+
flags_with_completion+=("--namespace")
17404+
flags_completion+=("__oc_get_namespaces")
17405+
two_word_flags+=("-n")
17406+
flags_with_completion+=("-n")
17407+
flags_completion+=("__oc_get_namespaces")
17408+
flags+=("--request-timeout=")
17409+
flags+=("--server=")
17410+
flags+=("--token=")
17411+
flags+=("--user=")
17412+
17413+
must_have_one_flag=()
17414+
must_have_one_noun=()
17415+
noun_aliases=()
17416+
}
17417+
1731317418
_openshift_cli_import_app.json()
1731417419
{
1731517420
last_command="openshift_cli_import_app.json"
@@ -23074,6 +23179,7 @@ _openshift_cli()
2307423179
commands+=("extract")
2307523180
commands+=("get")
2307623181
commands+=("idle")
23182+
commands+=("image")
2307723183
commands+=("import")
2307823184
commands+=("import-image")
2307923185
commands+=("label")

contrib/completions/zsh/oc

+106
Original file line numberDiff line numberDiff line change
@@ -12300,6 +12300,111 @@ _oc_idle()
1230012300
noun_aliases=()
1230112301
}
1230212302

12303+
_oc_image_mirror()
12304+
{
12305+
last_command="oc_image_mirror"
12306+
commands=()
12307+
12308+
flags=()
12309+
two_word_flags=()
12310+
local_nonpersistent_flags=()
12311+
flags_with_completion=()
12312+
flags_completion=()
12313+
12314+
flags+=("--filter-by-os=")
12315+
local_nonpersistent_flags+=("--filter-by-os=")
12316+
flags+=("--force")
12317+
local_nonpersistent_flags+=("--force")
12318+
flags+=("--insecure")
12319+
local_nonpersistent_flags+=("--insecure")
12320+
flags+=("--s3-source-bucket=")
12321+
local_nonpersistent_flags+=("--s3-source-bucket=")
12322+
flags+=("--skip-mount")
12323+
local_nonpersistent_flags+=("--skip-mount")
12324+
flags+=("--as=")
12325+
flags+=("--as-group=")
12326+
flags+=("--certificate-authority=")
12327+
flags_with_completion+=("--certificate-authority")
12328+
flags_completion+=("_filedir")
12329+
flags+=("--client-certificate=")
12330+
flags_with_completion+=("--client-certificate")
12331+
flags_completion+=("_filedir")
12332+
flags+=("--client-key=")
12333+
flags_with_completion+=("--client-key")
12334+
flags_completion+=("_filedir")
12335+
flags+=("--cluster=")
12336+
flags+=("--config=")
12337+
flags_with_completion+=("--config")
12338+
flags_completion+=("_filedir")
12339+
flags+=("--context=")
12340+
flags+=("--insecure-skip-tls-verify")
12341+
flags+=("--loglevel=")
12342+
flags+=("--logspec=")
12343+
flags+=("--match-server-version")
12344+
flags+=("--namespace=")
12345+
flags_with_completion+=("--namespace")
12346+
flags_completion+=("__oc_get_namespaces")
12347+
two_word_flags+=("-n")
12348+
flags_with_completion+=("-n")
12349+
flags_completion+=("__oc_get_namespaces")
12350+
flags+=("--request-timeout=")
12351+
flags+=("--server=")
12352+
flags+=("--token=")
12353+
flags+=("--user=")
12354+
12355+
must_have_one_flag=()
12356+
must_have_one_noun=()
12357+
noun_aliases=()
12358+
}
12359+
12360+
_oc_image()
12361+
{
12362+
last_command="oc_image"
12363+
commands=()
12364+
commands+=("mirror")
12365+
12366+
flags=()
12367+
two_word_flags=()
12368+
local_nonpersistent_flags=()
12369+
flags_with_completion=()
12370+
flags_completion=()
12371+
12372+
flags+=("--as=")
12373+
flags+=("--as-group=")
12374+
flags+=("--certificate-authority=")
12375+
flags_with_completion+=("--certificate-authority")
12376+
flags_completion+=("_filedir")
12377+
flags+=("--client-certificate=")
12378+
flags_with_completion+=("--client-certificate")
12379+
flags_completion+=("_filedir")
12380+
flags+=("--client-key=")
12381+
flags_with_completion+=("--client-key")
12382+
flags_completion+=("_filedir")
12383+
flags+=("--cluster=")
12384+
flags+=("--config=")
12385+
flags_with_completion+=("--config")
12386+
flags_completion+=("_filedir")
12387+
flags+=("--context=")
12388+
flags+=("--insecure-skip-tls-verify")
12389+
flags+=("--loglevel=")
12390+
flags+=("--logspec=")
12391+
flags+=("--match-server-version")
12392+
flags+=("--namespace=")
12393+
flags_with_completion+=("--namespace")
12394+
flags_completion+=("__oc_get_namespaces")
12395+
two_word_flags+=("-n")
12396+
flags_with_completion+=("-n")
12397+
flags_completion+=("__oc_get_namespaces")
12398+
flags+=("--request-timeout=")
12399+
flags+=("--server=")
12400+
flags+=("--token=")
12401+
flags+=("--user=")
12402+
12403+
must_have_one_flag=()
12404+
must_have_one_noun=()
12405+
noun_aliases=()
12406+
}
12407+
1230312408
_oc_import_app.json()
1230412409
{
1230512410
last_command="oc_import_app.json"
@@ -18111,6 +18216,7 @@ _oc()
1811118216
commands+=("extract")
1811218217
commands+=("get")
1811318218
commands+=("idle")
18219+
commands+=("image")
1811418220
commands+=("import")
1811518221
commands+=("import-image")
1811618222
commands+=("label")

0 commit comments

Comments
 (0)