kubeclient-rollback-dev 2.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (97) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +15 -0
  3. data/.rubocop.yml +16 -0
  4. data/.travis.yml +12 -0
  5. data/Gemfile +4 -0
  6. data/LICENSE.txt +22 -0
  7. data/README.md +428 -0
  8. data/Rakefile +12 -0
  9. data/kubeclient.gemspec +29 -0
  10. data/lib/kubeclient/common.rb +512 -0
  11. data/lib/kubeclient/config.rb +126 -0
  12. data/lib/kubeclient/entity_list.rb +16 -0
  13. data/lib/kubeclient/kube_exception.rb +14 -0
  14. data/lib/kubeclient/missing_kind_compatibility.rb +68 -0
  15. data/lib/kubeclient/version.rb +4 -0
  16. data/lib/kubeclient/watch_notice.rb +7 -0
  17. data/lib/kubeclient/watch_stream.rb +80 -0
  18. data/lib/kubeclient.rb +32 -0
  19. data/test/cassettes/kubernetes_guestbook.yml +879 -0
  20. data/test/config/allinone.kubeconfig +20 -0
  21. data/test/config/external-ca.pem +18 -0
  22. data/test/config/external-cert.pem +19 -0
  23. data/test/config/external-key.rsa +27 -0
  24. data/test/config/external.kubeconfig +20 -0
  25. data/test/config/nouser.kubeconfig +16 -0
  26. data/test/config/userauth.kubeconfig +28 -0
  27. data/test/json/bindings_list.json +10 -0
  28. data/test/json/component_status.json +17 -0
  29. data/test/json/component_status_list.json +52 -0
  30. data/test/json/config_map_list.json +9 -0
  31. data/test/json/core_api_resource_list.json +181 -0
  32. data/test/json/core_api_resource_list_without_kind.json +129 -0
  33. data/test/json/core_oapi_resource_list_without_kind.json +197 -0
  34. data/test/json/created_endpoint.json +28 -0
  35. data/test/json/created_namespace.json +20 -0
  36. data/test/json/created_secret.json +16 -0
  37. data/test/json/created_service.json +31 -0
  38. data/test/json/empty_pod_list.json +9 -0
  39. data/test/json/endpoint_list.json +48 -0
  40. data/test/json/entity_list.json +56 -0
  41. data/test/json/event_list.json +35 -0
  42. data/test/json/limit_range.json +23 -0
  43. data/test/json/limit_range_list.json +31 -0
  44. data/test/json/namespace.json +13 -0
  45. data/test/json/namespace_exception.json +8 -0
  46. data/test/json/namespace_list.json +32 -0
  47. data/test/json/node.json +29 -0
  48. data/test/json/node_list.json +37 -0
  49. data/test/json/persistent_volume.json +37 -0
  50. data/test/json/persistent_volume_claim.json +32 -0
  51. data/test/json/persistent_volume_claim_list.json +40 -0
  52. data/test/json/persistent_volume_claims_nil_items.json +8 -0
  53. data/test/json/persistent_volume_list.json +45 -0
  54. data/test/json/pod.json +92 -0
  55. data/test/json/pod_list.json +79 -0
  56. data/test/json/pod_template_list.json +9 -0
  57. data/test/json/processed_template.json +27 -0
  58. data/test/json/replication_controller.json +57 -0
  59. data/test/json/replication_controller_list.json +66 -0
  60. data/test/json/resource_quota.json +46 -0
  61. data/test/json/resource_quota_list.json +54 -0
  62. data/test/json/secret_list.json +44 -0
  63. data/test/json/service.json +33 -0
  64. data/test/json/service_account.json +25 -0
  65. data/test/json/service_account_list.json +82 -0
  66. data/test/json/service_illegal_json_404.json +1 -0
  67. data/test/json/service_list.json +97 -0
  68. data/test/json/service_patch.json +25 -0
  69. data/test/json/service_update.json +22 -0
  70. data/test/json/versions_list.json +6 -0
  71. data/test/json/watch_stream.json +3 -0
  72. data/test/test_common.rb +32 -0
  73. data/test/test_component_status.rb +30 -0
  74. data/test/test_config.rb +72 -0
  75. data/test/test_endpoint.rb +35 -0
  76. data/test/test_guestbook_go.rb +238 -0
  77. data/test/test_helper.rb +10 -0
  78. data/test/test_kubeclient.rb +611 -0
  79. data/test/test_limit_range.rb +27 -0
  80. data/test/test_missing_methods.rb +42 -0
  81. data/test/test_namespace.rb +61 -0
  82. data/test/test_node.rb +33 -0
  83. data/test/test_persistent_volume.rb +30 -0
  84. data/test/test_persistent_volume_claim.rb +30 -0
  85. data/test/test_pod.rb +29 -0
  86. data/test/test_pod_log.rb +50 -0
  87. data/test/test_process_template.rb +44 -0
  88. data/test/test_replication_controller.rb +27 -0
  89. data/test/test_resource_list_without_kind.rb +78 -0
  90. data/test/test_resource_quota.rb +25 -0
  91. data/test/test_secret.rb +70 -0
  92. data/test/test_service.rb +293 -0
  93. data/test/test_service_account.rb +28 -0
  94. data/test/test_watch.rb +119 -0
  95. data/test/txt/pod_log.txt +6 -0
  96. data/test/valid_token_file +1 -0
  97. metadata +343 -0
metadata ADDED
@@ -0,0 +1,343 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: kubeclient-rollback-dev
3
+ version: !ruby/object:Gem::Version
4
+ version: 2.3.0
5
+ platform: ruby
6
+ authors:
7
+ - cnosuke
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2017-01-14 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.6'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.6'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: minitest
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: webmock
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: 1.24.2
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: 1.24.2
69
+ - !ruby/object:Gem::Dependency
70
+ name: vcr
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rubocop
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - '='
88
+ - !ruby/object:Gem::Version
89
+ version: 0.46.0
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - '='
95
+ - !ruby/object:Gem::Version
96
+ version: 0.46.0
97
+ - !ruby/object:Gem::Dependency
98
+ name: rest-client
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: recursive-open-struct
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - '='
116
+ - !ruby/object:Gem::Version
117
+ version: 1.0.0
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - '='
123
+ - !ruby/object:Gem::Version
124
+ version: 1.0.0
125
+ - !ruby/object:Gem::Dependency
126
+ name: http
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - '='
130
+ - !ruby/object:Gem::Version
131
+ version: 0.9.8
132
+ type: :runtime
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - '='
137
+ - !ruby/object:Gem::Version
138
+ version: 0.9.8
139
+ description:
140
+ email:
141
+ - shinnosuke@gmail.com
142
+ executables: []
143
+ extensions: []
144
+ extra_rdoc_files: []
145
+ files:
146
+ - ".gitignore"
147
+ - ".rubocop.yml"
148
+ - ".travis.yml"
149
+ - Gemfile
150
+ - LICENSE.txt
151
+ - README.md
152
+ - Rakefile
153
+ - kubeclient.gemspec
154
+ - lib/kubeclient.rb
155
+ - lib/kubeclient/common.rb
156
+ - lib/kubeclient/config.rb
157
+ - lib/kubeclient/entity_list.rb
158
+ - lib/kubeclient/kube_exception.rb
159
+ - lib/kubeclient/missing_kind_compatibility.rb
160
+ - lib/kubeclient/version.rb
161
+ - lib/kubeclient/watch_notice.rb
162
+ - lib/kubeclient/watch_stream.rb
163
+ - test/cassettes/kubernetes_guestbook.yml
164
+ - test/config/allinone.kubeconfig
165
+ - test/config/external-ca.pem
166
+ - test/config/external-cert.pem
167
+ - test/config/external-key.rsa
168
+ - test/config/external.kubeconfig
169
+ - test/config/nouser.kubeconfig
170
+ - test/config/userauth.kubeconfig
171
+ - test/json/bindings_list.json
172
+ - test/json/component_status.json
173
+ - test/json/component_status_list.json
174
+ - test/json/config_map_list.json
175
+ - test/json/core_api_resource_list.json
176
+ - test/json/core_api_resource_list_without_kind.json
177
+ - test/json/core_oapi_resource_list_without_kind.json
178
+ - test/json/created_endpoint.json
179
+ - test/json/created_namespace.json
180
+ - test/json/created_secret.json
181
+ - test/json/created_service.json
182
+ - test/json/empty_pod_list.json
183
+ - test/json/endpoint_list.json
184
+ - test/json/entity_list.json
185
+ - test/json/event_list.json
186
+ - test/json/limit_range.json
187
+ - test/json/limit_range_list.json
188
+ - test/json/namespace.json
189
+ - test/json/namespace_exception.json
190
+ - test/json/namespace_list.json
191
+ - test/json/node.json
192
+ - test/json/node_list.json
193
+ - test/json/persistent_volume.json
194
+ - test/json/persistent_volume_claim.json
195
+ - test/json/persistent_volume_claim_list.json
196
+ - test/json/persistent_volume_claims_nil_items.json
197
+ - test/json/persistent_volume_list.json
198
+ - test/json/pod.json
199
+ - test/json/pod_list.json
200
+ - test/json/pod_template_list.json
201
+ - test/json/processed_template.json
202
+ - test/json/replication_controller.json
203
+ - test/json/replication_controller_list.json
204
+ - test/json/resource_quota.json
205
+ - test/json/resource_quota_list.json
206
+ - test/json/secret_list.json
207
+ - test/json/service.json
208
+ - test/json/service_account.json
209
+ - test/json/service_account_list.json
210
+ - test/json/service_illegal_json_404.json
211
+ - test/json/service_list.json
212
+ - test/json/service_patch.json
213
+ - test/json/service_update.json
214
+ - test/json/versions_list.json
215
+ - test/json/watch_stream.json
216
+ - test/test_common.rb
217
+ - test/test_component_status.rb
218
+ - test/test_config.rb
219
+ - test/test_endpoint.rb
220
+ - test/test_guestbook_go.rb
221
+ - test/test_helper.rb
222
+ - test/test_kubeclient.rb
223
+ - test/test_limit_range.rb
224
+ - test/test_missing_methods.rb
225
+ - test/test_namespace.rb
226
+ - test/test_node.rb
227
+ - test/test_persistent_volume.rb
228
+ - test/test_persistent_volume_claim.rb
229
+ - test/test_pod.rb
230
+ - test/test_pod_log.rb
231
+ - test/test_process_template.rb
232
+ - test/test_replication_controller.rb
233
+ - test/test_resource_list_without_kind.rb
234
+ - test/test_resource_quota.rb
235
+ - test/test_secret.rb
236
+ - test/test_service.rb
237
+ - test/test_service_account.rb
238
+ - test/test_watch.rb
239
+ - test/txt/pod_log.txt
240
+ - test/valid_token_file
241
+ homepage:
242
+ licenses:
243
+ - MIT
244
+ metadata: {}
245
+ post_install_message:
246
+ rdoc_options: []
247
+ require_paths:
248
+ - lib
249
+ required_ruby_version: !ruby/object:Gem::Requirement
250
+ requirements:
251
+ - - ">="
252
+ - !ruby/object:Gem::Version
253
+ version: 2.0.0
254
+ required_rubygems_version: !ruby/object:Gem::Requirement
255
+ requirements:
256
+ - - ">="
257
+ - !ruby/object:Gem::Version
258
+ version: '0'
259
+ requirements: []
260
+ rubyforge_project:
261
+ rubygems_version: 2.5.2
262
+ signing_key:
263
+ specification_version: 4
264
+ summary: 'WARNING: THIS GEM IS NOT PRODUCTION READY.'
265
+ test_files:
266
+ - test/cassettes/kubernetes_guestbook.yml
267
+ - test/config/allinone.kubeconfig
268
+ - test/config/external-ca.pem
269
+ - test/config/external-cert.pem
270
+ - test/config/external-key.rsa
271
+ - test/config/external.kubeconfig
272
+ - test/config/nouser.kubeconfig
273
+ - test/config/userauth.kubeconfig
274
+ - test/json/bindings_list.json
275
+ - test/json/component_status.json
276
+ - test/json/component_status_list.json
277
+ - test/json/config_map_list.json
278
+ - test/json/core_api_resource_list.json
279
+ - test/json/core_api_resource_list_without_kind.json
280
+ - test/json/core_oapi_resource_list_without_kind.json
281
+ - test/json/created_endpoint.json
282
+ - test/json/created_namespace.json
283
+ - test/json/created_secret.json
284
+ - test/json/created_service.json
285
+ - test/json/empty_pod_list.json
286
+ - test/json/endpoint_list.json
287
+ - test/json/entity_list.json
288
+ - test/json/event_list.json
289
+ - test/json/limit_range.json
290
+ - test/json/limit_range_list.json
291
+ - test/json/namespace.json
292
+ - test/json/namespace_exception.json
293
+ - test/json/namespace_list.json
294
+ - test/json/node.json
295
+ - test/json/node_list.json
296
+ - test/json/persistent_volume.json
297
+ - test/json/persistent_volume_claim.json
298
+ - test/json/persistent_volume_claim_list.json
299
+ - test/json/persistent_volume_claims_nil_items.json
300
+ - test/json/persistent_volume_list.json
301
+ - test/json/pod.json
302
+ - test/json/pod_list.json
303
+ - test/json/pod_template_list.json
304
+ - test/json/processed_template.json
305
+ - test/json/replication_controller.json
306
+ - test/json/replication_controller_list.json
307
+ - test/json/resource_quota.json
308
+ - test/json/resource_quota_list.json
309
+ - test/json/secret_list.json
310
+ - test/json/service.json
311
+ - test/json/service_account.json
312
+ - test/json/service_account_list.json
313
+ - test/json/service_illegal_json_404.json
314
+ - test/json/service_list.json
315
+ - test/json/service_patch.json
316
+ - test/json/service_update.json
317
+ - test/json/versions_list.json
318
+ - test/json/watch_stream.json
319
+ - test/test_common.rb
320
+ - test/test_component_status.rb
321
+ - test/test_config.rb
322
+ - test/test_endpoint.rb
323
+ - test/test_guestbook_go.rb
324
+ - test/test_helper.rb
325
+ - test/test_kubeclient.rb
326
+ - test/test_limit_range.rb
327
+ - test/test_missing_methods.rb
328
+ - test/test_namespace.rb
329
+ - test/test_node.rb
330
+ - test/test_persistent_volume.rb
331
+ - test/test_persistent_volume_claim.rb
332
+ - test/test_pod.rb
333
+ - test/test_pod_log.rb
334
+ - test/test_process_template.rb
335
+ - test/test_replication_controller.rb
336
+ - test/test_resource_list_without_kind.rb
337
+ - test/test_resource_quota.rb
338
+ - test/test_secret.rb
339
+ - test/test_service.rb
340
+ - test/test_service_account.rb
341
+ - test/test_watch.rb
342
+ - test/txt/pod_log.txt
343
+ - test/valid_token_file