kubeclient-rollback-dev 2.3.0

Sign up to get free protection for your applications and to get access to all the features.
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
@@ -0,0 +1,20 @@
1
+ apiVersion: v1
2
+ clusters:
3
+ - cluster:
4
+ certificate-authority-data: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUM2akNDQWRLZ0F3SUJBZ0lCQVRBTkJna3Foa2lHOXcwQkFRc0ZBREFtTVNRd0lnWURWUVFEREJ0dmNHVnUKYzJocFpuUXRjMmxuYm1WeVFERTBOemd3TURFNE1ERXdIaGNOTVRZeE1UQXhNVEl3TXpJd1doY05NakV4TURNeApNVEl3TXpJeFdqQW1NU1F3SWdZRFZRUUREQnR2Y0dWdWMyaHBablF0YzJsbmJtVnlRREUwTnpnd01ERTRNREV3CmdnRWlNQTBHQ1NxR1NJYjNEUUVCQVFVQUE0SUJEd0F3Z2dFS0FvSUJBUUNzNHdCTEFQQnNaU2Q0Q3JBWFV3eFUKczJ1cGdwb1IrWS8vN2hWLzVaUzRBYjdCQnFGYk90ZDVnN3lnY2hSQXBkNTdMcjZhL0JDRTVZOHFGeE56WUVncwpOT05LcVlaWUNSVk9tNnRGUUkrUGxVNEdWM2dTa2sxOUZDTDQySFI2SjRDZTlPaHgxcjlBWDRpRFJPb01EbVhtCnI5MnZ1NDBSNUdJdnhRV3crMkMvcmh3aTB4MjdYODg2VzI2djM4RUtOUWZYRlhLS1BWRnBLOTFySWZISmM3b1AKNTZWVWRXSURKSjlIMW0zeHpENis1Sk96WWVxMFpYVzRzclZVNW41MGZOanU4SEZRNjVKNEZuWG9ZeXcxWjV3MwpqRGVtYW9LbjdITFpxbnJjR0thejY5WDdPTitrWlUxUy9nblRuWFFkSFVvb0VMblpnTTlJWjhMWndabGFQWHJKCkFnTUJBQUdqSXpBaE1BNEdBMVVkRHdFQi93UUVBd0lDcERBUEJnTlZIUk1CQWY4RUJUQURBUUgvTUEwR0NTcUcKU0liM0RRRUJDd1VBQTRJQkFRQlB1N2hkTmNoaWdxN2Y2eWFKcE1FZWRRS1hPOGdDMWJGb0JmTUVZcWZ4WHpjQgpITmpUZjkvdWpqYTlKK2hsRWdlNUJpTElnVDV5a3huOHdOelorNER6N1hkaEFzOEViRmpORUtocXFZd1dBWEo1CnFHa1BJbmdyYy80N3R2YkFFaEJoKzNOV0Z3ZEZkbzZkVFBIRTdXVTQ4MUhtLzQ5Lzg3Q3Z5dnVRSmZGVUJ1bEIKdjcxSFVzMHd2SFZURVBLK3pHdFBYVzdJV2NNdmdiczNOYTFwMkRKTmJGRTFSamEvWUxpZjZJSnZFQ0xkZ1d5YgpRSHZpZFc3Z2l0VktncmJsdEhNOXRhTkYxVVB5b0xlTDF2TWdMaDRoVDc5eFhLL2VOOTVMelB3QTBOUnlKdGxLCmRXb0xJZTVSZkZ4NlRLQlhUcGRDQUNXbWQ5V1JSWksyc0Z2RjROTWMKLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=
5
+ server: https://localhost:8443
6
+ name: localhost:8443
7
+ contexts:
8
+ - context:
9
+ cluster: localhost:8443
10
+ namespace: default
11
+ user: system:admin/localhost:8443
12
+ name: default/localhost:8443/system:admin
13
+ current-context: default/localhost:8443/system:admin
14
+ kind: Config
15
+ preferences: {}
16
+ users:
17
+ - name: system:admin/localhost:8443
18
+ user:
19
+ client-certificate-data: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUREVENDQWZXZ0F3SUJBZ0lCQ0RBTkJna3Foa2lHOXcwQkFRc0ZBREFtTVNRd0lnWURWUVFEREJ0dmNHVnUKYzJocFpuUXRjMmxuYm1WeVFERTBOemd3TURFNE1ERXdIaGNOTVRZeE1UQXhNVEl3TXpJeFdoY05NVGd4TVRBeApNVEl3TXpJeVdqQTNNUjR3SEFZRFZRUUtFeFZ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jOk3bJcRyWm9QdQVEB6S2ZrsHBRzfingDeDK9liT
25
+ RZQQS3tZJGNhqvbhCpuVsmWPJrZ0t4zPYrHMpI0s4veTgJeSAyZIqTgSoHm7KA4q
26
+ gPQT96PBLoYfB0KuKABqNNVG7cz4lBz0wNMyuZ+Utr7GpxWB4ec=
27
+ -----END RSA PRIVATE KEY-----
@@ -0,0 +1,20 @@
1
+ apiVersion: v1
2
+ clusters:
3
+ - cluster:
4
+ certificate-authority: external-ca.pem
5
+ server: https://localhost:8443
6
+ name: localhost:8443
7
+ contexts:
8
+ - context:
9
+ cluster: localhost:8443
10
+ namespace: default
11
+ user: system:admin/localhost:8443
12
+ name: default/localhost:8443/system:admin
13
+ current-context: default/localhost:8443/system:admin
14
+ kind: Config
15
+ preferences: {}
16
+ users:
17
+ - name: system:admin/localhost:8443
18
+ user:
19
+ client-certificate: external-cert.pem
20
+ client-key: external-key.rsa
@@ -0,0 +1,16 @@
1
+ apiVersion: v1
2
+ clusters:
3
+ - cluster:
4
+ server: https://localhost:8443
5
+ insecure-skip-tls-verify: true
6
+ name: localhost:8443
7
+ contexts:
8
+ - context:
9
+ cluster: localhost:8443
10
+ namespace: default
11
+ user: ""
12
+ name: default/localhost:8443/nouser
13
+ current-context: default/localhost:8443/nouser
14
+ kind: Config
15
+ preferences: {}
16
+ users: []
@@ -0,0 +1,28 @@
1
+ apiVersion: v1
2
+ clusters:
3
+ - cluster:
4
+ server: https://localhost:8443
5
+ insecure-skip-tls-verify: true
6
+ name: localhost:8443
7
+ contexts:
8
+ - context:
9
+ cluster: localhost:8443
10
+ namespace: default
11
+ user: system:admin:token
12
+ name: localhost/system:admin:token
13
+ - context:
14
+ cluster: localhost:8443
15
+ namespace: default
16
+ user: system:admin:userpass
17
+ name: localhost/system:admin:userpass
18
+ current-context: localhost/system:admin:token
19
+ kind: Config
20
+ preferences: {}
21
+ users:
22
+ - name: system:admin:token
23
+ user:
24
+ token: 0123456789ABCDEF0123456789ABCDEF
25
+ - name: system:admin:userpass
26
+ user:
27
+ username: admin
28
+ password: pAssw0rd123
@@ -0,0 +1,10 @@
1
+ {
2
+ "kind": "Status",
3
+ "apiVersion": "v1",
4
+ "metadata": {},
5
+ "status": "Failure",
6
+ "message": "the server could not find the requested resource",
7
+ "reason": "NotFound",
8
+ "details": {},
9
+ "code": 404
10
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "kind": "ComponentStatus",
3
+ "apiVersion": "v1",
4
+ "metadata": {
5
+ "name": "etcd-0",
6
+ "selfLink": "/api/v1/namespaces/componentstatuses/etcd-0",
7
+ "creationTimestamp": null
8
+ },
9
+ "conditions": [
10
+ {
11
+ "type": "Healthy",
12
+ "status": "True",
13
+ "message": "{\"health\": \"true\"}",
14
+ "error": "nil"
15
+ }
16
+ ]
17
+ }
@@ -0,0 +1,52 @@
1
+ {
2
+ "kind": "ComponentStatusList",
3
+ "apiVersion": "v1",
4
+ "metadata": {
5
+ "selfLink": "/api/v1/componentstatuses"
6
+ },
7
+ "items": [
8
+ {
9
+ "metadata": {
10
+ "name": "controller-manager",
11
+ "selfLink": "/api/v1/namespaces/componentstatuses/controller-manager",
12
+ "creationTimestamp": null
13
+ },
14
+ "conditions": [
15
+ {
16
+ "type": "Healthy",
17
+ "status": "Unknown",
18
+ "error": "Get http://127.0.0.1:10252/healthz: dial tcp 127.0.0.1:10252: connection refused"
19
+ }
20
+ ]
21
+ },
22
+ {
23
+ "metadata": {
24
+ "name": "scheduler",
25
+ "selfLink": "/api/v1/namespaces/componentstatuses/scheduler",
26
+ "creationTimestamp": null
27
+ },
28
+ "conditions": [
29
+ {
30
+ "type": "Healthy",
31
+ "status": "Unknown",
32
+ "error": "Get http://127.0.0.1:10251/healthz: dial tcp 127.0.0.1:10251: connection refused"
33
+ }
34
+ ]
35
+ },
36
+ {
37
+ "metadata": {
38
+ "name": "etcd-0",
39
+ "selfLink": "/api/v1/namespaces/componentstatuses/etcd-0",
40
+ "creationTimestamp": null
41
+ },
42
+ "conditions": [
43
+ {
44
+ "type": "Healthy",
45
+ "status": "True",
46
+ "message": "{\"health\": \"true\"}",
47
+ "error": "nil"
48
+ }
49
+ ]
50
+ }
51
+ ]
52
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "kind": "ConfigMapList",
3
+ "apiVersion": "v1",
4
+ "metadata": {
5
+ "selfLink": "/api/v1/configmaps",
6
+ "resourceVersion": "665"
7
+ },
8
+ "items": []
9
+ }
@@ -0,0 +1,181 @@
1
+ {
2
+ "kind": "APIResourceList",
3
+ "groupVersion": "v1",
4
+ "resources": [
5
+ {
6
+ "name": "bindings",
7
+ "namespaced": true,
8
+ "kind": "Binding"
9
+ },
10
+ {
11
+ "name": "componentstatuses",
12
+ "namespaced": false,
13
+ "kind": "ComponentStatus"
14
+ },
15
+ {
16
+ "name": "configmaps",
17
+ "namespaced": true,
18
+ "kind": "ConfigMap"
19
+ },
20
+ {
21
+ "name": "endpoints",
22
+ "namespaced": true,
23
+ "kind": "Endpoints"
24
+ },
25
+ {
26
+ "name": "events",
27
+ "namespaced": true,
28
+ "kind": "Event"
29
+ },
30
+ {
31
+ "name": "limitranges",
32
+ "namespaced": true,
33
+ "kind": "LimitRange"
34
+ },
35
+ {
36
+ "name": "namespaces",
37
+ "namespaced": false,
38
+ "kind": "Namespace"
39
+ },
40
+ {
41
+ "name": "namespaces/finalize",
42
+ "namespaced": false,
43
+ "kind": "Namespace"
44
+ },
45
+ {
46
+ "name": "namespaces/status",
47
+ "namespaced": false,
48
+ "kind": "Namespace"
49
+ },
50
+ {
51
+ "name": "nodes",
52
+ "namespaced": false,
53
+ "kind": "Node"
54
+ },
55
+ {
56
+ "name": "nodes/proxy",
57
+ "namespaced": false,
58
+ "kind": "Node"
59
+ },
60
+ {
61
+ "name": "nodes/status",
62
+ "namespaced": false,
63
+ "kind": "Node"
64
+ },
65
+ {
66
+ "name": "persistentvolumeclaims",
67
+ "namespaced": true,
68
+ "kind": "PersistentVolumeClaim"
69
+ },
70
+ {
71
+ "name": "persistentvolumeclaims/status",
72
+ "namespaced": true,
73
+ "kind": "PersistentVolumeClaim"
74
+ },
75
+ {
76
+ "name": "persistentvolumes",
77
+ "namespaced": false,
78
+ "kind": "PersistentVolume"
79
+ },
80
+ {
81
+ "name": "persistentvolumes/status",
82
+ "namespaced": false,
83
+ "kind": "PersistentVolume"
84
+ },
85
+ {
86
+ "name": "pods",
87
+ "namespaced": true,
88
+ "kind": "Pod"
89
+ },
90
+ {
91
+ "name": "pods/attach",
92
+ "namespaced": true,
93
+ "kind": "Pod"
94
+ },
95
+ {
96
+ "name": "pods/binding",
97
+ "namespaced": true,
98
+ "kind": "Binding"
99
+ },
100
+ {
101
+ "name": "pods/exec",
102
+ "namespaced": true,
103
+ "kind": "Pod"
104
+ },
105
+ {
106
+ "name": "pods/log",
107
+ "namespaced": true,
108
+ "kind": "Pod"
109
+ },
110
+ {
111
+ "name": "pods/portforward",
112
+ "namespaced": true,
113
+ "kind": "Pod"
114
+ },
115
+ {
116
+ "name": "pods/proxy",
117
+ "namespaced": true,
118
+ "kind": "Pod"
119
+ },
120
+ {
121
+ "name": "pods/status",
122
+ "namespaced": true,
123
+ "kind": "Pod"
124
+ },
125
+ {
126
+ "name": "podtemplates",
127
+ "namespaced": true,
128
+ "kind": "PodTemplate"
129
+ },
130
+ {
131
+ "name": "replicationcontrollers",
132
+ "namespaced": true,
133
+ "kind": "ReplicationController"
134
+ },
135
+ {
136
+ "name": "replicationcontrollers/scale",
137
+ "namespaced": true,
138
+ "kind": "Scale"
139
+ },
140
+ {
141
+ "name": "replicationcontrollers/status",
142
+ "namespaced": true,
143
+ "kind": "ReplicationController"
144
+ },
145
+ {
146
+ "name": "resourcequotas",
147
+ "namespaced": true,
148
+ "kind": "ResourceQuota"
149
+ },
150
+ {
151
+ "name": "resourcequotas/status",
152
+ "namespaced": true,
153
+ "kind": "ResourceQuota"
154
+ },
155
+ {
156
+ "name": "secrets",
157
+ "namespaced": true,
158
+ "kind": "Secret"
159
+ },
160
+ {
161
+ "name": "serviceaccounts",
162
+ "namespaced": true,
163
+ "kind": "ServiceAccount"
164
+ },
165
+ {
166
+ "name": "services",
167
+ "namespaced": true,
168
+ "kind": "Service"
169
+ },
170
+ {
171
+ "name": "services/proxy",
172
+ "namespaced": true,
173
+ "kind": "Service"
174
+ },
175
+ {
176
+ "name": "services/status",
177
+ "namespaced": true,
178
+ "kind": "Service"
179
+ }
180
+ ]
181
+ }
@@ -0,0 +1,129 @@
1
+ {
2
+ "groupVersion": "v1",
3
+ "resources": [
4
+ {
5
+ "name": "bindings",
6
+ "namespaced": true
7
+ },
8
+ {
9
+ "name": "componentstatuses",
10
+ "namespaced": true
11
+ },
12
+ {
13
+ "name": "endpoints",
14
+ "namespaced": true
15
+ },
16
+ {
17
+ "name": "events",
18
+ "namespaced": true
19
+ },
20
+ {
21
+ "name": "limitranges",
22
+ "namespaced": true
23
+ },
24
+ {
25
+ "name": "namespaces",
26
+ "namespaced": false
27
+ },
28
+ {
29
+ "name": "namespaces/finalize",
30
+ "namespaced": false
31
+ },
32
+ {
33
+ "name": "namespaces/status",
34
+ "namespaced": false
35
+ },
36
+ {
37
+ "name": "nodes",
38
+ "namespaced": false
39
+ },
40
+ {
41
+ "name": "nodes/status",
42
+ "namespaced": false
43
+ },
44
+ {
45
+ "name": "persistentvolumeclaims",
46
+ "namespaced": true
47
+ },
48
+ {
49
+ "name": "persistentvolumeclaims/status",
50
+ "namespaced": true
51
+ },
52
+ {
53
+ "name": "persistentvolumes",
54
+ "namespaced": false
55
+ },
56
+ {
57
+ "name": "persistentvolumes/status",
58
+ "namespaced": false
59
+ },
60
+ {
61
+ "name": "pods",
62
+ "namespaced": true
63
+ },
64
+ {
65
+ "name": "pods/attach",
66
+ "namespaced": true
67
+ },
68
+ {
69
+ "name": "pods/binding",
70
+ "namespaced": true
71
+ },
72
+ {
73
+ "name": "pods/exec",
74
+ "namespaced": true
75
+ },
76
+ {
77
+ "name": "pods/log",
78
+ "namespaced": true
79
+ },
80
+ {
81
+ "name": "pods/portforward",
82
+ "namespaced": true
83
+ },
84
+ {
85
+ "name": "pods/proxy",
86
+ "namespaced": true
87
+ },
88
+ {
89
+ "name": "pods/status",
90
+ "namespaced": true
91
+ },
92
+ {
93
+ "name": "podtemplates",
94
+ "namespaced": true
95
+ },
96
+ {
97
+ "name": "replicationcontrollers",
98
+ "namespaced": true
99
+ },
100
+ {
101
+ "name": "replicationcontrollers/status",
102
+ "namespaced": true
103
+ },
104
+ {
105
+ "name": "resourcequotas",
106
+ "namespaced": true
107
+ },
108
+ {
109
+ "name": "resourcequotas/status",
110
+ "namespaced": true
111
+ },
112
+ {
113
+ "name": "secrets",
114
+ "namespaced": true
115
+ },
116
+ {
117
+ "name": "securitycontextconstraints",
118
+ "namespaced": false
119
+ },
120
+ {
121
+ "name": "serviceaccounts",
122
+ "namespaced": true
123
+ },
124
+ {
125
+ "name": "services",
126
+ "namespaced": true
127
+ }
128
+ ]
129
+ }