Browse code

oc: generated code for 'set image'

Michail Kargakis authored on 2016/09/16 18:24:52
Showing 11 changed files
... ...
@@ -12837,6 +12837,85 @@ _oc_set_env()
12837 12837
     noun_aliases=()
12838 12838
 }
12839 12839
 
12840
+_oc_set_image()
12841
+{
12842
+    last_command="oc_set_image"
12843
+    commands=()
12844
+
12845
+    flags=()
12846
+    two_word_flags=()
12847
+    local_nonpersistent_flags=()
12848
+    flags_with_completion=()
12849
+    flags_completion=()
12850
+
12851
+    flags+=("--all")
12852
+    local_nonpersistent_flags+=("--all")
12853
+    flags+=("--filename=")
12854
+    flags_with_completion+=("--filename")
12855
+    flags_completion+=("__handle_filename_extension_flag json|yaml|yml")
12856
+    two_word_flags+=("-f")
12857
+    flags_with_completion+=("-f")
12858
+    flags_completion+=("__handle_filename_extension_flag json|yaml|yml")
12859
+    local_nonpersistent_flags+=("--filename=")
12860
+    flags+=("--local")
12861
+    local_nonpersistent_flags+=("--local")
12862
+    flags+=("--no-headers")
12863
+    local_nonpersistent_flags+=("--no-headers")
12864
+    flags+=("--output=")
12865
+    two_word_flags+=("-o")
12866
+    local_nonpersistent_flags+=("--output=")
12867
+    flags+=("--output-version=")
12868
+    local_nonpersistent_flags+=("--output-version=")
12869
+    flags+=("--record")
12870
+    local_nonpersistent_flags+=("--record")
12871
+    flags+=("--recursive")
12872
+    flags+=("-R")
12873
+    local_nonpersistent_flags+=("--recursive")
12874
+    flags+=("--selector=")
12875
+    two_word_flags+=("-l")
12876
+    local_nonpersistent_flags+=("--selector=")
12877
+    flags+=("--show-all")
12878
+    flags+=("-a")
12879
+    local_nonpersistent_flags+=("--show-all")
12880
+    flags+=("--show-labels")
12881
+    local_nonpersistent_flags+=("--show-labels")
12882
+    flags+=("--sort-by=")
12883
+    local_nonpersistent_flags+=("--sort-by=")
12884
+    flags+=("--template=")
12885
+    flags_with_completion+=("--template")
12886
+    flags_completion+=("_filedir")
12887
+    local_nonpersistent_flags+=("--template=")
12888
+    flags+=("--as=")
12889
+    flags+=("--certificate-authority=")
12890
+    flags_with_completion+=("--certificate-authority")
12891
+    flags_completion+=("_filedir")
12892
+    flags+=("--client-certificate=")
12893
+    flags_with_completion+=("--client-certificate")
12894
+    flags_completion+=("_filedir")
12895
+    flags+=("--client-key=")
12896
+    flags_with_completion+=("--client-key")
12897
+    flags_completion+=("_filedir")
12898
+    flags+=("--cluster=")
12899
+    flags+=("--config=")
12900
+    flags_with_completion+=("--config")
12901
+    flags_completion+=("_filedir")
12902
+    flags+=("--context=")
12903
+    flags+=("--insecure-skip-tls-verify")
12904
+    flags+=("--log-flush-frequency=")
12905
+    flags+=("--loglevel=")
12906
+    flags+=("--logspec=")
12907
+    flags+=("--match-server-version")
12908
+    flags+=("--namespace=")
12909
+    two_word_flags+=("-n")
12910
+    flags+=("--server=")
12911
+    flags+=("--token=")
12912
+    flags+=("--user=")
12913
+
12914
+    must_have_one_flag=()
12915
+    must_have_one_noun=()
12916
+    noun_aliases=()
12917
+}
12918
+
12840 12919
 _oc_set_probe()
12841 12920
 {
12842 12921
     last_command="oc_set_probe"
... ...
@@ -13202,6 +13281,7 @@ _oc_set()
13202 13202
     commands+=("build-hook")
13203 13203
     commands+=("deployment-hook")
13204 13204
     commands+=("env")
13205
+    commands+=("image")
13205 13206
     commands+=("probe")
13206 13207
     commands+=("route-backends")
13207 13208
     commands+=("triggers")
... ...
@@ -17402,6 +17402,86 @@ _openshift_cli_set_env()
17402 17402
     noun_aliases=()
17403 17403
 }
17404 17404
 
17405
+_openshift_cli_set_image()
17406
+{
17407
+    last_command="openshift_cli_set_image"
17408
+    commands=()
17409
+
17410
+    flags=()
17411
+    two_word_flags=()
17412
+    local_nonpersistent_flags=()
17413
+    flags_with_completion=()
17414
+    flags_completion=()
17415
+
17416
+    flags+=("--all")
17417
+    local_nonpersistent_flags+=("--all")
17418
+    flags+=("--filename=")
17419
+    flags_with_completion+=("--filename")
17420
+    flags_completion+=("__handle_filename_extension_flag json|yaml|yml")
17421
+    two_word_flags+=("-f")
17422
+    flags_with_completion+=("-f")
17423
+    flags_completion+=("__handle_filename_extension_flag json|yaml|yml")
17424
+    local_nonpersistent_flags+=("--filename=")
17425
+    flags+=("--local")
17426
+    local_nonpersistent_flags+=("--local")
17427
+    flags+=("--no-headers")
17428
+    local_nonpersistent_flags+=("--no-headers")
17429
+    flags+=("--output=")
17430
+    two_word_flags+=("-o")
17431
+    local_nonpersistent_flags+=("--output=")
17432
+    flags+=("--output-version=")
17433
+    local_nonpersistent_flags+=("--output-version=")
17434
+    flags+=("--record")
17435
+    local_nonpersistent_flags+=("--record")
17436
+    flags+=("--recursive")
17437
+    flags+=("-R")
17438
+    local_nonpersistent_flags+=("--recursive")
17439
+    flags+=("--selector=")
17440
+    two_word_flags+=("-l")
17441
+    local_nonpersistent_flags+=("--selector=")
17442
+    flags+=("--show-all")
17443
+    flags+=("-a")
17444
+    local_nonpersistent_flags+=("--show-all")
17445
+    flags+=("--show-labels")
17446
+    local_nonpersistent_flags+=("--show-labels")
17447
+    flags+=("--sort-by=")
17448
+    local_nonpersistent_flags+=("--sort-by=")
17449
+    flags+=("--template=")
17450
+    flags_with_completion+=("--template")
17451
+    flags_completion+=("_filedir")
17452
+    local_nonpersistent_flags+=("--template=")
17453
+    flags+=("--as=")
17454
+    flags+=("--certificate-authority=")
17455
+    flags_with_completion+=("--certificate-authority")
17456
+    flags_completion+=("_filedir")
17457
+    flags+=("--client-certificate=")
17458
+    flags_with_completion+=("--client-certificate")
17459
+    flags_completion+=("_filedir")
17460
+    flags+=("--client-key=")
17461
+    flags_with_completion+=("--client-key")
17462
+    flags_completion+=("_filedir")
17463
+    flags+=("--cluster=")
17464
+    flags+=("--config=")
17465
+    flags_with_completion+=("--config")
17466
+    flags_completion+=("_filedir")
17467
+    flags+=("--context=")
17468
+    flags+=("--google-json-key=")
17469
+    flags+=("--insecure-skip-tls-verify")
17470
+    flags+=("--log-flush-frequency=")
17471
+    flags+=("--loglevel=")
17472
+    flags+=("--logspec=")
17473
+    flags+=("--match-server-version")
17474
+    flags+=("--namespace=")
17475
+    two_word_flags+=("-n")
17476
+    flags+=("--server=")
17477
+    flags+=("--token=")
17478
+    flags+=("--user=")
17479
+
17480
+    must_have_one_flag=()
17481
+    must_have_one_noun=()
17482
+    noun_aliases=()
17483
+}
17484
+
17405 17485
 _openshift_cli_set_probe()
17406 17486
 {
17407 17487
     last_command="openshift_cli_set_probe"
... ...
@@ -17771,6 +17851,7 @@ _openshift_cli_set()
17771 17771
     commands+=("build-hook")
17772 17772
     commands+=("deployment-hook")
17773 17773
     commands+=("env")
17774
+    commands+=("image")
17774 17775
     commands+=("probe")
17775 17776
     commands+=("route-backends")
17776 17777
     commands+=("triggers")
... ...
@@ -12999,6 +12999,85 @@ _oc_set_env()
12999 12999
     noun_aliases=()
13000 13000
 }
13001 13001
 
13002
+_oc_set_image()
13003
+{
13004
+    last_command="oc_set_image"
13005
+    commands=()
13006
+
13007
+    flags=()
13008
+    two_word_flags=()
13009
+    local_nonpersistent_flags=()
13010
+    flags_with_completion=()
13011
+    flags_completion=()
13012
+
13013
+    flags+=("--all")
13014
+    local_nonpersistent_flags+=("--all")
13015
+    flags+=("--filename=")
13016
+    flags_with_completion+=("--filename")
13017
+    flags_completion+=("__handle_filename_extension_flag json|yaml|yml")
13018
+    two_word_flags+=("-f")
13019
+    flags_with_completion+=("-f")
13020
+    flags_completion+=("__handle_filename_extension_flag json|yaml|yml")
13021
+    local_nonpersistent_flags+=("--filename=")
13022
+    flags+=("--local")
13023
+    local_nonpersistent_flags+=("--local")
13024
+    flags+=("--no-headers")
13025
+    local_nonpersistent_flags+=("--no-headers")
13026
+    flags+=("--output=")
13027
+    two_word_flags+=("-o")
13028
+    local_nonpersistent_flags+=("--output=")
13029
+    flags+=("--output-version=")
13030
+    local_nonpersistent_flags+=("--output-version=")
13031
+    flags+=("--record")
13032
+    local_nonpersistent_flags+=("--record")
13033
+    flags+=("--recursive")
13034
+    flags+=("-R")
13035
+    local_nonpersistent_flags+=("--recursive")
13036
+    flags+=("--selector=")
13037
+    two_word_flags+=("-l")
13038
+    local_nonpersistent_flags+=("--selector=")
13039
+    flags+=("--show-all")
13040
+    flags+=("-a")
13041
+    local_nonpersistent_flags+=("--show-all")
13042
+    flags+=("--show-labels")
13043
+    local_nonpersistent_flags+=("--show-labels")
13044
+    flags+=("--sort-by=")
13045
+    local_nonpersistent_flags+=("--sort-by=")
13046
+    flags+=("--template=")
13047
+    flags_with_completion+=("--template")
13048
+    flags_completion+=("_filedir")
13049
+    local_nonpersistent_flags+=("--template=")
13050
+    flags+=("--as=")
13051
+    flags+=("--certificate-authority=")
13052
+    flags_with_completion+=("--certificate-authority")
13053
+    flags_completion+=("_filedir")
13054
+    flags+=("--client-certificate=")
13055
+    flags_with_completion+=("--client-certificate")
13056
+    flags_completion+=("_filedir")
13057
+    flags+=("--client-key=")
13058
+    flags_with_completion+=("--client-key")
13059
+    flags_completion+=("_filedir")
13060
+    flags+=("--cluster=")
13061
+    flags+=("--config=")
13062
+    flags_with_completion+=("--config")
13063
+    flags_completion+=("_filedir")
13064
+    flags+=("--context=")
13065
+    flags+=("--insecure-skip-tls-verify")
13066
+    flags+=("--log-flush-frequency=")
13067
+    flags+=("--loglevel=")
13068
+    flags+=("--logspec=")
13069
+    flags+=("--match-server-version")
13070
+    flags+=("--namespace=")
13071
+    two_word_flags+=("-n")
13072
+    flags+=("--server=")
13073
+    flags+=("--token=")
13074
+    flags+=("--user=")
13075
+
13076
+    must_have_one_flag=()
13077
+    must_have_one_noun=()
13078
+    noun_aliases=()
13079
+}
13080
+
13002 13081
 _oc_set_probe()
13003 13082
 {
13004 13083
     last_command="oc_set_probe"
... ...
@@ -13364,6 +13443,7 @@ _oc_set()
13364 13364
     commands+=("build-hook")
13365 13365
     commands+=("deployment-hook")
13366 13366
     commands+=("env")
13367
+    commands+=("image")
13367 13368
     commands+=("probe")
13368 13369
     commands+=("route-backends")
13369 13370
     commands+=("triggers")
... ...
@@ -17564,6 +17564,86 @@ _openshift_cli_set_env()
17564 17564
     noun_aliases=()
17565 17565
 }
17566 17566
 
17567
+_openshift_cli_set_image()
17568
+{
17569
+    last_command="openshift_cli_set_image"
17570
+    commands=()
17571
+
17572
+    flags=()
17573
+    two_word_flags=()
17574
+    local_nonpersistent_flags=()
17575
+    flags_with_completion=()
17576
+    flags_completion=()
17577
+
17578
+    flags+=("--all")
17579
+    local_nonpersistent_flags+=("--all")
17580
+    flags+=("--filename=")
17581
+    flags_with_completion+=("--filename")
17582
+    flags_completion+=("__handle_filename_extension_flag json|yaml|yml")
17583
+    two_word_flags+=("-f")
17584
+    flags_with_completion+=("-f")
17585
+    flags_completion+=("__handle_filename_extension_flag json|yaml|yml")
17586
+    local_nonpersistent_flags+=("--filename=")
17587
+    flags+=("--local")
17588
+    local_nonpersistent_flags+=("--local")
17589
+    flags+=("--no-headers")
17590
+    local_nonpersistent_flags+=("--no-headers")
17591
+    flags+=("--output=")
17592
+    two_word_flags+=("-o")
17593
+    local_nonpersistent_flags+=("--output=")
17594
+    flags+=("--output-version=")
17595
+    local_nonpersistent_flags+=("--output-version=")
17596
+    flags+=("--record")
17597
+    local_nonpersistent_flags+=("--record")
17598
+    flags+=("--recursive")
17599
+    flags+=("-R")
17600
+    local_nonpersistent_flags+=("--recursive")
17601
+    flags+=("--selector=")
17602
+    two_word_flags+=("-l")
17603
+    local_nonpersistent_flags+=("--selector=")
17604
+    flags+=("--show-all")
17605
+    flags+=("-a")
17606
+    local_nonpersistent_flags+=("--show-all")
17607
+    flags+=("--show-labels")
17608
+    local_nonpersistent_flags+=("--show-labels")
17609
+    flags+=("--sort-by=")
17610
+    local_nonpersistent_flags+=("--sort-by=")
17611
+    flags+=("--template=")
17612
+    flags_with_completion+=("--template")
17613
+    flags_completion+=("_filedir")
17614
+    local_nonpersistent_flags+=("--template=")
17615
+    flags+=("--as=")
17616
+    flags+=("--certificate-authority=")
17617
+    flags_with_completion+=("--certificate-authority")
17618
+    flags_completion+=("_filedir")
17619
+    flags+=("--client-certificate=")
17620
+    flags_with_completion+=("--client-certificate")
17621
+    flags_completion+=("_filedir")
17622
+    flags+=("--client-key=")
17623
+    flags_with_completion+=("--client-key")
17624
+    flags_completion+=("_filedir")
17625
+    flags+=("--cluster=")
17626
+    flags+=("--config=")
17627
+    flags_with_completion+=("--config")
17628
+    flags_completion+=("_filedir")
17629
+    flags+=("--context=")
17630
+    flags+=("--google-json-key=")
17631
+    flags+=("--insecure-skip-tls-verify")
17632
+    flags+=("--log-flush-frequency=")
17633
+    flags+=("--loglevel=")
17634
+    flags+=("--logspec=")
17635
+    flags+=("--match-server-version")
17636
+    flags+=("--namespace=")
17637
+    two_word_flags+=("-n")
17638
+    flags+=("--server=")
17639
+    flags+=("--token=")
17640
+    flags+=("--user=")
17641
+
17642
+    must_have_one_flag=()
17643
+    must_have_one_noun=()
17644
+    noun_aliases=()
17645
+}
17646
+
17567 17647
 _openshift_cli_set_probe()
17568 17648
 {
17569 17649
     last_command="openshift_cli_set_probe"
... ...
@@ -17933,6 +18013,7 @@ _openshift_cli_set()
17933 17933
     commands+=("build-hook")
17934 17934
     commands+=("deployment-hook")
17935 17935
     commands+=("env")
17936
+    commands+=("image")
17936 17937
     commands+=("probe")
17937 17938
     commands+=("route-backends")
17938 17939
     commands+=("triggers")
... ...
@@ -1708,3 +1708,15 @@ toc::[]
1708 1708
 ====
1709 1709
 
1710 1710
 
1711
+== <no value>
1712
+<no value>
1713
+
1714
+====
1715
+
1716
+[options="nowrap"]
1717
+----
1718
+<no value>
1719
+----
1720
+====
1721
+
1722
+
... ...
@@ -204,6 +204,7 @@ oc-serviceaccounts.1
204 204
 oc-set-build-hook.1
205 205
 oc-set-deployment-hook.1
206 206
 oc-set-env.1
207
+oc-set-image.1
207 208
 oc-set-probe.1
208 209
 oc-set-route-backends.1
209 210
 oc-set-triggers.1
... ...
@@ -293,6 +293,7 @@ openshift-cli-serviceaccounts.1
293 293
 openshift-cli-set-build-hook.1
294 294
 openshift-cli-set-deployment-hook.1
295 295
 openshift-cli-set-env.1
296
+openshift-cli-set-image.1
296 297
 openshift-cli-set-probe.1
297 298
 openshift-cli-set-route-backends.1
298 299
 openshift-cli-set-triggers.1
299 300
new file mode 100644
... ...
@@ -0,0 +1,171 @@
0
+.TH "OC SET" "1" " Openshift CLI User Manuals" "Openshift" "June 2016"  ""
1
+
2
+
3
+.SH NAME
4
+.PP
5
+oc set image \- Update image of a pod template
6
+
7
+
8
+.SH SYNOPSIS
9
+.PP
10
+\fBoc set image\fP [OPTIONS]
11
+
12
+
13
+.SH DESCRIPTION
14
+.PP
15
+Update existing container image(s) of resources.
16
+
17
+
18
+.SH OPTIONS
19
+.PP
20
+\fB\-\-all\fP=false
21
+    select all resources in the namespace of the specified resource types
22
+
23
+.PP
24
+\fB\-f\fP, \fB\-\-filename\fP=[]
25
+    Filename, directory, or URL to a file identifying the resource to get from a server.
26
+
27
+.PP
28
+\fB\-\-local\fP=false
29
+    If true, set image will NOT contact api\-server but run locally.
30
+
31
+.PP
32
+\fB\-\-no\-headers\fP=false
33
+    When using the default or custom\-column output format, don't print headers.
34
+
35
+.PP
36
+\fB\-o\fP, \fB\-\-output\fP=""
37
+    Output format. One of: json|yaml|wide|name|custom\-columns=...|custom\-columns\-file=...|go\-template=...|go\-template\-file=...|jsonpath=...|jsonpath\-file=... See custom columns [
38
+\[la]http://kubernetes.io/docs/user-guide/kubectl-overview/#custom-columns\[ra]], golang template [
39
+\[la]http://golang.org/pkg/text/template/#pkg-overview\[ra]] and jsonpath template [
40
+\[la]http://kubernetes.io/docs/user-guide/jsonpath\[ra]].
41
+
42
+.PP
43
+\fB\-\-output\-version\fP=""
44
+    Output the formatted object with the given group version (for ex: 'extensions/v1beta1').
45
+
46
+.PP
47
+\fB\-\-record\fP=false
48
+    Record current kubectl command in the resource annotation. If set to false, do not record the command. If set to true, record the command. If not set, default to updating the existing annotation value only if one already exists.
49
+
50
+.PP
51
+\fB\-R\fP, \fB\-\-recursive\fP=false
52
+    Process the directory used in \-f, \-\-filename recursively. Useful when you want to manage related manifests organized within the same directory.
53
+
54
+.PP
55
+\fB\-l\fP, \fB\-\-selector\fP=""
56
+    Selector (label query) to filter on
57
+
58
+.PP
59
+\fB\-a\fP, \fB\-\-show\-all\fP=true
60
+    When printing, show all resources (false means hide terminated pods.)
61
+
62
+.PP
63
+\fB\-\-show\-labels\fP=false
64
+    When printing, show all labels as the last column (default hide labels column)
65
+
66
+.PP
67
+\fB\-\-sort\-by\fP=""
68
+    If non\-empty, sort list types using this field specification.  The field specification is expressed as a JSONPath expression (e.g. '{.metadata.name}'). The field in the API resource specified by this JSONPath expression must be an integer or a string.
69
+
70
+.PP
71
+\fB\-\-template\fP=""
72
+    Template string or path to template file to use when \-o=go\-template, \-o=go\-template\-file. The template format is golang templates [
73
+\[la]http://golang.org/pkg/text/template/#pkg-overview\[ra]].
74
+
75
+
76
+.SH OPTIONS INHERITED FROM PARENT COMMANDS
77
+.PP
78
+\fB\-\-api\-version\fP=""
79
+    DEPRECATED: The API version to use when talking to the server
80
+
81
+.PP
82
+\fB\-\-as\fP=""
83
+    Username to impersonate for the operation
84
+
85
+.PP
86
+\fB\-\-certificate\-authority\fP=""
87
+    Path to a cert. file for the certificate authority
88
+
89
+.PP
90
+\fB\-\-client\-certificate\fP=""
91
+    Path to a client certificate file for TLS
92
+
93
+.PP
94
+\fB\-\-client\-key\fP=""
95
+    Path to a client key file for TLS
96
+
97
+.PP
98
+\fB\-\-cluster\fP=""
99
+    The name of the kubeconfig cluster to use
100
+
101
+.PP
102
+\fB\-\-config\fP=""
103
+    Path to the config file to use for CLI requests.
104
+
105
+.PP
106
+\fB\-\-context\fP=""
107
+    The name of the kubeconfig context to use
108
+
109
+.PP
110
+\fB\-\-google\-json\-key\fP=""
111
+    The Google Cloud Platform Service Account JSON Key to use for authentication.
112
+
113
+.PP
114
+\fB\-\-insecure\-skip\-tls\-verify\fP=false
115
+    If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure
116
+
117
+.PP
118
+\fB\-\-log\-flush\-frequency\fP=0
119
+    Maximum number of seconds between log flushes
120
+
121
+.PP
122
+\fB\-\-match\-server\-version\fP=false
123
+    Require server version to match client version
124
+
125
+.PP
126
+\fB\-n\fP, \fB\-\-namespace\fP=""
127
+    If present, the namespace scope for this CLI request
128
+
129
+.PP
130
+\fB\-\-server\fP=""
131
+    The address and port of the Kubernetes API server
132
+
133
+.PP
134
+\fB\-\-token\fP=""
135
+    Bearer token for authentication to the API server
136
+
137
+.PP
138
+\fB\-\-user\fP=""
139
+    The name of the kubeconfig user to use
140
+
141
+
142
+.SH EXAMPLE
143
+.PP
144
+.RS
145
+
146
+.nf
147
+  # Set a deployment configs's nginx container image to 'nginx:1.9.1', and its busybox container image to 'busybox'.
148
+  oc set image dc/nginx busybox=busybox nginx=nginx:1.9.1
149
+
150
+  # Update all deployments' and rc's nginx container's image to 'nginx:1.9.1'
151
+  oc set image deployments,rc nginx=nginx:1.9.1 \-\-all
152
+
153
+  # Update image of all containers of daemonset abc to 'nginx:1.9.1'
154
+  oc set image daemonset abc *=nginx:1.9.1
155
+
156
+  # Print result (in yaml format) of updating nginx container image from local file, without hitting the server
157
+  oc set image \-f path/to/file.yaml nginx=nginx:1.9.1 \-\-local \-o yaml
158
+
159
+.fi
160
+.RE
161
+
162
+
163
+.SH SEE ALSO
164
+.PP
165
+\fBoc\-set(1)\fP,
166
+
167
+
168
+.SH HISTORY
169
+.PP
170
+June 2016, Ported from the Kubernetes man\-doc generator
... ...
@@ -87,7 +87,7 @@ These commands help you make changes to existing application resources.
87 87
 
88 88
 .SH SEE ALSO
89 89
 .PP
90
-\fBoc(1)\fP, \fBoc\-set\-build\-hook(1)\fP, \fBoc\-set\-deployment\-hook(1)\fP, \fBoc\-set\-env(1)\fP, \fBoc\-set\-probe(1)\fP, \fBoc\-set\-route\-backends(1)\fP, \fBoc\-set\-triggers(1)\fP, \fBoc\-set\-volumes(1)\fP,
90
+\fBoc(1)\fP, \fBoc\-set\-build\-hook(1)\fP, \fBoc\-set\-deployment\-hook(1)\fP, \fBoc\-set\-env(1)\fP, \fBoc\-set\-image(1)\fP, \fBoc\-set\-probe(1)\fP, \fBoc\-set\-route\-backends(1)\fP, \fBoc\-set\-triggers(1)\fP, \fBoc\-set\-volumes(1)\fP,
91 91
 
92 92
 
93 93
 .SH HISTORY
94 94
new file mode 100644
... ...
@@ -0,0 +1,171 @@
0
+.TH "OPENSHIFT CLI SET" "1" " Openshift CLI User Manuals" "Openshift" "June 2016"  ""
1
+
2
+
3
+.SH NAME
4
+.PP
5
+openshift cli set image \- Update image of a pod template
6
+
7
+
8
+.SH SYNOPSIS
9
+.PP
10
+\fBopenshift cli set image\fP [OPTIONS]
11
+
12
+
13
+.SH DESCRIPTION
14
+.PP
15
+Update existing container image(s) of resources.
16
+
17
+
18
+.SH OPTIONS
19
+.PP
20
+\fB\-\-all\fP=false
21
+    select all resources in the namespace of the specified resource types
22
+
23
+.PP
24
+\fB\-f\fP, \fB\-\-filename\fP=[]
25
+    Filename, directory, or URL to a file identifying the resource to get from a server.
26
+
27
+.PP
28
+\fB\-\-local\fP=false
29
+    If true, set image will NOT contact api\-server but run locally.
30
+
31
+.PP
32
+\fB\-\-no\-headers\fP=false
33
+    When using the default or custom\-column output format, don't print headers.
34
+
35
+.PP
36
+\fB\-o\fP, \fB\-\-output\fP=""
37
+    Output format. One of: json|yaml|wide|name|custom\-columns=...|custom\-columns\-file=...|go\-template=...|go\-template\-file=...|jsonpath=...|jsonpath\-file=... See custom columns [
38
+\[la]http://kubernetes.io/docs/user-guide/kubectl-overview/#custom-columns\[ra]], golang template [
39
+\[la]http://golang.org/pkg/text/template/#pkg-overview\[ra]] and jsonpath template [
40
+\[la]http://kubernetes.io/docs/user-guide/jsonpath\[ra]].
41
+
42
+.PP
43
+\fB\-\-output\-version\fP=""
44
+    Output the formatted object with the given group version (for ex: 'extensions/v1beta1').
45
+
46
+.PP
47
+\fB\-\-record\fP=false
48
+    Record current kubectl command in the resource annotation. If set to false, do not record the command. If set to true, record the command. If not set, default to updating the existing annotation value only if one already exists.
49
+
50
+.PP
51
+\fB\-R\fP, \fB\-\-recursive\fP=false
52
+    Process the directory used in \-f, \-\-filename recursively. Useful when you want to manage related manifests organized within the same directory.
53
+
54
+.PP
55
+\fB\-l\fP, \fB\-\-selector\fP=""
56
+    Selector (label query) to filter on
57
+
58
+.PP
59
+\fB\-a\fP, \fB\-\-show\-all\fP=true
60
+    When printing, show all resources (false means hide terminated pods.)
61
+
62
+.PP
63
+\fB\-\-show\-labels\fP=false
64
+    When printing, show all labels as the last column (default hide labels column)
65
+
66
+.PP
67
+\fB\-\-sort\-by\fP=""
68
+    If non\-empty, sort list types using this field specification.  The field specification is expressed as a JSONPath expression (e.g. '{.metadata.name}'). The field in the API resource specified by this JSONPath expression must be an integer or a string.
69
+
70
+.PP
71
+\fB\-\-template\fP=""
72
+    Template string or path to template file to use when \-o=go\-template, \-o=go\-template\-file. The template format is golang templates [
73
+\[la]http://golang.org/pkg/text/template/#pkg-overview\[ra]].
74
+
75
+
76
+.SH OPTIONS INHERITED FROM PARENT COMMANDS
77
+.PP
78
+\fB\-\-api\-version\fP=""
79
+    DEPRECATED: The API version to use when talking to the server
80
+
81
+.PP
82
+\fB\-\-as\fP=""
83
+    Username to impersonate for the operation
84
+
85
+.PP
86
+\fB\-\-certificate\-authority\fP=""
87
+    Path to a cert. file for the certificate authority
88
+
89
+.PP
90
+\fB\-\-client\-certificate\fP=""
91
+    Path to a client certificate file for TLS
92
+
93
+.PP
94
+\fB\-\-client\-key\fP=""
95
+    Path to a client key file for TLS
96
+
97
+.PP
98
+\fB\-\-cluster\fP=""
99
+    The name of the kubeconfig cluster to use
100
+
101
+.PP
102
+\fB\-\-config\fP=""
103
+    Path to the config file to use for CLI requests.
104
+
105
+.PP
106
+\fB\-\-context\fP=""
107
+    The name of the kubeconfig context to use
108
+
109
+.PP
110
+\fB\-\-google\-json\-key\fP=""
111
+    The Google Cloud Platform Service Account JSON Key to use for authentication.
112
+
113
+.PP
114
+\fB\-\-insecure\-skip\-tls\-verify\fP=false
115
+    If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure
116
+
117
+.PP
118
+\fB\-\-log\-flush\-frequency\fP=0
119
+    Maximum number of seconds between log flushes
120
+
121
+.PP
122
+\fB\-\-match\-server\-version\fP=false
123
+    Require server version to match client version
124
+
125
+.PP
126
+\fB\-n\fP, \fB\-\-namespace\fP=""
127
+    If present, the namespace scope for this CLI request
128
+
129
+.PP
130
+\fB\-\-server\fP=""
131
+    The address and port of the Kubernetes API server
132
+
133
+.PP
134
+\fB\-\-token\fP=""
135
+    Bearer token for authentication to the API server
136
+
137
+.PP
138
+\fB\-\-user\fP=""
139
+    The name of the kubeconfig user to use
140
+
141
+
142
+.SH EXAMPLE
143
+.PP
144
+.RS
145
+
146
+.nf
147
+  # Set a deployment configs's nginx container image to 'nginx:1.9.1', and its busybox container image to 'busybox'.
148
+  openshift cli set image dc/nginx busybox=busybox nginx=nginx:1.9.1
149
+
150
+  # Update all deployments' and rc's nginx container's image to 'nginx:1.9.1'
151
+  openshift cli set image deployments,rc nginx=nginx:1.9.1 \-\-all
152
+
153
+  # Update image of all containers of daemonset abc to 'nginx:1.9.1'
154
+  openshift cli set image daemonset abc *=nginx:1.9.1
155
+
156
+  # Print result (in yaml format) of updating nginx container image from local file, without hitting the server
157
+  openshift cli set image \-f path/to/file.yaml nginx=nginx:1.9.1 \-\-local \-o yaml
158
+
159
+.fi
160
+.RE
161
+
162
+
163
+.SH SEE ALSO
164
+.PP
165
+\fBopenshift\-cli\-set(1)\fP,
166
+
167
+
168
+.SH HISTORY
169
+.PP
170
+June 2016, Ported from the Kubernetes man\-doc generator
... ...
@@ -87,7 +87,7 @@ These commands help you make changes to existing application resources.
87 87
 
88 88
 .SH SEE ALSO
89 89
 .PP
90
-\fBopenshift\-cli(1)\fP, \fBopenshift\-cli\-set\-build\-hook(1)\fP, \fBopenshift\-cli\-set\-deployment\-hook(1)\fP, \fBopenshift\-cli\-set\-env(1)\fP, \fBopenshift\-cli\-set\-probe(1)\fP, \fBopenshift\-cli\-set\-route\-backends(1)\fP, \fBopenshift\-cli\-set\-triggers(1)\fP, \fBopenshift\-cli\-set\-volumes(1)\fP,
90
+\fBopenshift\-cli(1)\fP, \fBopenshift\-cli\-set\-build\-hook(1)\fP, \fBopenshift\-cli\-set\-deployment\-hook(1)\fP, \fBopenshift\-cli\-set\-env(1)\fP, \fBopenshift\-cli\-set\-image(1)\fP, \fBopenshift\-cli\-set\-probe(1)\fP, \fBopenshift\-cli\-set\-route\-backends(1)\fP, \fBopenshift\-cli\-set\-triggers(1)\fP, \fBopenshift\-cli\-set\-volumes(1)\fP,
91 91
 
92 92
 
93 93
 .SH HISTORY