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.

Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +19 -11
  3. data/kubeclient.gemspec +1 -0
  4. data/lib/kubeclient.rb +1 -1
  5. data/lib/kubeclient/common.rb +3 -4
  6. data/lib/kubeclient/version.rb +1 -1
  7. data/test/cassettes/kubernetes_guestbook.yml +846 -0
  8. data/test/json/{created_namespace_b3.json → created_namespace.json} +2 -2
  9. data/test/json/{created_service_b3.json → created_service.json} +3 -3
  10. data/test/json/{empty_pod_list_b3.json → empty_pod_list.json} +2 -2
  11. data/test/json/{endpoint_list_b3.json → endpoint_list.json} +5 -5
  12. data/test/json/{entity_list_b3.json → entity_list.json} +6 -6
  13. data/test/json/{event_list_b3.json → event_list.json} +3 -3
  14. data/test/json/{namespace_b3.json → namespace.json} +2 -2
  15. data/test/json/{namespace_exception_b3.json → namespace_exception.json} +1 -1
  16. data/test/json/{namespace_list_b3.json → namespace_list.json} +4 -4
  17. data/test/json/{node_b3.json → node.json} +2 -2
  18. data/test/json/{node_list_b3.json → node_list.json} +3 -3
  19. data/test/json/persistent_volume_claims_nil_items.json +2 -2
  20. data/test/json/{pod_b3.json → pod.json} +2 -2
  21. data/test/json/{pod_list_b3.json → pod_list.json} +9 -5
  22. data/test/json/{replication_controller_b3.json → replication_controller.json} +2 -2
  23. data/test/json/{replication_controller_list_b3.json → replication_controller_list.json} +6 -4
  24. data/test/json/{secret_list_b3.json → secret_list.json} +4 -4
  25. data/test/json/{service_b3.json → service.json} +3 -3
  26. data/test/json/{service_list_b3.json → service_list.json} +8 -8
  27. data/test/json/{service_update_b3.json → service_update.json} +2 -2
  28. data/test/json/watch_stream.json +3 -0
  29. data/test/test_guestbook_go.rb +233 -0
  30. data/test/test_kubeclient.rb +37 -38
  31. data/test/test_limit_range.rb +1 -1
  32. data/test/test_namespace.rb +12 -12
  33. data/test/test_node.rb +5 -5
  34. data/test/test_persistent_volume.rb +1 -1
  35. data/test/test_persistent_volume_claim.rb +1 -1
  36. data/test/test_pod.rb +4 -4
  37. data/test/test_replication_controller.rb +4 -4
  38. data/test/test_resource_quota.rb +1 -1
  39. data/test/test_service.rb +13 -13
  40. data/test/test_watch.rb +3 -3
  41. metadata +61 -43
  42. 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"}}}