kubeclient 0.5.1 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of kubeclient might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +19 -11
- data/kubeclient.gemspec +1 -0
- data/lib/kubeclient.rb +1 -1
- data/lib/kubeclient/common.rb +3 -4
- data/lib/kubeclient/version.rb +1 -1
- data/test/cassettes/kubernetes_guestbook.yml +846 -0
- data/test/json/{created_namespace_b3.json → created_namespace.json} +2 -2
- data/test/json/{created_service_b3.json → created_service.json} +3 -3
- data/test/json/{empty_pod_list_b3.json → empty_pod_list.json} +2 -2
- data/test/json/{endpoint_list_b3.json → endpoint_list.json} +5 -5
- data/test/json/{entity_list_b3.json → entity_list.json} +6 -6
- data/test/json/{event_list_b3.json → event_list.json} +3 -3
- data/test/json/{namespace_b3.json → namespace.json} +2 -2
- data/test/json/{namespace_exception_b3.json → namespace_exception.json} +1 -1
- data/test/json/{namespace_list_b3.json → namespace_list.json} +4 -4
- data/test/json/{node_b3.json → node.json} +2 -2
- data/test/json/{node_list_b3.json → node_list.json} +3 -3
- data/test/json/persistent_volume_claims_nil_items.json +2 -2
- data/test/json/{pod_b3.json → pod.json} +2 -2
- data/test/json/{pod_list_b3.json → pod_list.json} +9 -5
- data/test/json/{replication_controller_b3.json → replication_controller.json} +2 -2
- data/test/json/{replication_controller_list_b3.json → replication_controller_list.json} +6 -4
- data/test/json/{secret_list_b3.json → secret_list.json} +4 -4
- data/test/json/{service_b3.json → service.json} +3 -3
- data/test/json/{service_list_b3.json → service_list.json} +8 -8
- data/test/json/{service_update_b3.json → service_update.json} +2 -2
- data/test/json/watch_stream.json +3 -0
- data/test/test_guestbook_go.rb +233 -0
- data/test/test_kubeclient.rb +37 -38
- data/test/test_limit_range.rb +1 -1
- data/test/test_namespace.rb +12 -12
- data/test/test_node.rb +5 -5
- data/test/test_persistent_volume.rb +1 -1
- data/test/test_persistent_volume_claim.rb +1 -1
- data/test/test_pod.rb +4 -4
- data/test/test_replication_controller.rb +4 -4
- data/test/test_resource_quota.rb +1 -1
- data/test/test_service.rb +13 -13
- data/test/test_watch.rb +3 -3
- metadata +61 -43
- data/test/json/watch_stream_b3.json +0 -3
@@ -1,3 +0,0 @@
|
|
1
|
-
{"type":"ADDED","object":{"kind":"Pod","apiVersion":"v1beta3","metadata":{"name":"php","namespace":"default","selfLink":"/api/v1beta3/pods/php","uid":"e75f2c07-b047-11e4-89e4-525400c903c1","resourceVersion":"1389","creationTimestamp":"2015-02-09T05:39:19-05:00","labels":{"name":"foo"}},"spec":{"volumes":null,"containers":[{"name":"nginx","image":"dockerfile/nginx","ports":[{"hostPort":9090,"containerPort":80,"protocol":"TCP"}],"resources":{},"livenessProbe":{"httpGet":{"path":"/index.html","port":"9090"},"initialDelaySeconds":30},"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"IfNotPresent","capabilities":{}}],"restartPolicy":{"always":{}},"dnsPolicy":"ClusterFirst"},"status":{"phase":"Pending"}}}
|
2
|
-
{"type":"MODIFIED","object":{"kind":"Pod","apiVersion":"v1beta3","metadata":{"name":"php","namespace":"default","selfLink":"/api/v1beta3/pods/php","uid":"e75f2c07-b047-11e4-89e4-525400c903c1","resourceVersion":"1390","creationTimestamp":"2015-02-09T05:39:19-05:00","labels":{"name":"foo"}},"spec":{"volumes":null,"containers":[{"name":"nginx","image":"dockerfile/nginx","ports":[{"hostPort":9090,"containerPort":80,"protocol":"TCP"}],"resources":{},"livenessProbe":{"httpGet":{"path":"/index.html","port":"9090"},"initialDelaySeconds":30},"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"IfNotPresent","capabilities":{}}],"restartPolicy":{"always":{}},"dnsPolicy":"ClusterFirst"},"status":{"phase":"Pending","host":"127.0.0.1"}}}
|
3
|
-
{"type":"DELETED","object":{"kind":"Pod","apiVersion":"v1beta3","metadata":{"name":"php","namespace":"default","selfLink":"/api/v1beta3/pods/php","uid":"e75f2c07-b047-11e4-89e4-525400c903c1","resourceVersion":"1398","creationTimestamp":"2015-02-09T05:39:19-05:00","labels":{"name":"foo"}},"spec":{"volumes":null,"containers":[{"name":"nginx","image":"dockerfile/nginx","ports":[{"hostPort":9090,"containerPort":80,"protocol":"TCP"}],"resources":{},"livenessProbe":{"httpGet":{"path":"/index.html","port":"9090"},"initialDelaySeconds":30},"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"IfNotPresent","capabilities":{}}],"restartPolicy":{"always":{}},"dnsPolicy":"ClusterFirst"},"status":{"phase":"Pending","host":"127.0.0.1"}}}
|