kube-dsl 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (763) hide show
  1. checksums.yaml +7 -0
  2. data/CHANGELOG.md +2 -0
  3. data/Gemfile +12 -0
  4. data/Rakefile +52 -0
  5. data/kube-dsl.gemspec +17 -0
  6. data/lib/kube-dsl/builder.rb +215 -0
  7. data/lib/kube-dsl/dsl/admissionregistration/v1/mutating_webhook.rb +30 -0
  8. data/lib/kube-dsl/dsl/admissionregistration/v1/mutating_webhook_configuration.rb +19 -0
  9. data/lib/kube-dsl/dsl/admissionregistration/v1/mutating_webhook_configuration_list.rb +19 -0
  10. data/lib/kube-dsl/dsl/admissionregistration/v1/rule_with_operations.rb +23 -0
  11. data/lib/kube-dsl/dsl/admissionregistration/v1/service_reference.rb +18 -0
  12. data/lib/kube-dsl/dsl/admissionregistration/v1/validating_webhook.rb +29 -0
  13. data/lib/kube-dsl/dsl/admissionregistration/v1/validating_webhook_configuration.rb +19 -0
  14. data/lib/kube-dsl/dsl/admissionregistration/v1/validating_webhook_configuration_list.rb +19 -0
  15. data/lib/kube-dsl/dsl/admissionregistration/v1/webhook_client_config.rb +18 -0
  16. data/lib/kube-dsl/dsl/admissionregistration/v1.rb +11 -0
  17. data/lib/kube-dsl/dsl/admissionregistration/v1beta1/mutating_webhook.rb +30 -0
  18. data/lib/kube-dsl/dsl/admissionregistration/v1beta1/mutating_webhook_configuration.rb +19 -0
  19. data/lib/kube-dsl/dsl/admissionregistration/v1beta1/mutating_webhook_configuration_list.rb +19 -0
  20. data/lib/kube-dsl/dsl/admissionregistration/v1beta1/rule_with_operations.rb +23 -0
  21. data/lib/kube-dsl/dsl/admissionregistration/v1beta1/service_reference.rb +18 -0
  22. data/lib/kube-dsl/dsl/admissionregistration/v1beta1/validating_webhook.rb +29 -0
  23. data/lib/kube-dsl/dsl/admissionregistration/v1beta1/validating_webhook_configuration.rb +19 -0
  24. data/lib/kube-dsl/dsl/admissionregistration/v1beta1/validating_webhook_configuration_list.rb +19 -0
  25. data/lib/kube-dsl/dsl/admissionregistration/v1beta1/webhook_client_config.rb +18 -0
  26. data/lib/kube-dsl/dsl/admissionregistration/v1beta1.rb +11 -0
  27. data/lib/kube-dsl/dsl/admissionregistration.rb +4 -0
  28. data/lib/kube-dsl/dsl/apiextensions/v1/custom_resource_column_definition.rb +20 -0
  29. data/lib/kube-dsl/dsl/apiextensions/v1/custom_resource_conversion.rb +17 -0
  30. data/lib/kube-dsl/dsl/apiextensions/v1/custom_resource_definition.rb +21 -0
  31. data/lib/kube-dsl/dsl/apiextensions/v1/custom_resource_definition_condition.rb +19 -0
  32. data/lib/kube-dsl/dsl/apiextensions/v1/custom_resource_definition_list.rb +19 -0
  33. data/lib/kube-dsl/dsl/apiextensions/v1/custom_resource_definition_names.rb +22 -0
  34. data/lib/kube-dsl/dsl/apiextensions/v1/custom_resource_definition_spec.rb +23 -0
  35. data/lib/kube-dsl/dsl/apiextensions/v1/custom_resource_definition_status.rb +19 -0
  36. data/lib/kube-dsl/dsl/apiextensions/v1/custom_resource_definition_version.rb +23 -0
  37. data/lib/kube-dsl/dsl/apiextensions/v1/custom_resource_subresource_scale.rb +17 -0
  38. data/lib/kube-dsl/dsl/apiextensions/v1/custom_resource_subresources.rb +17 -0
  39. data/lib/kube-dsl/dsl/apiextensions/v1/custom_resource_validation.rb +15 -0
  40. data/lib/kube-dsl/dsl/apiextensions/v1/external_documentation.rb +16 -0
  41. data/lib/kube-dsl/dsl/apiextensions/v1/json_schema_props.rb +69 -0
  42. data/lib/kube-dsl/dsl/apiextensions/v1/service_reference.rb +18 -0
  43. data/lib/kube-dsl/dsl/apiextensions/v1/webhook_client_config.rb +18 -0
  44. data/lib/kube-dsl/dsl/apiextensions/v1/webhook_conversion.rb +17 -0
  45. data/lib/kube-dsl/dsl/apiextensions/v1.rb +19 -0
  46. data/lib/kube-dsl/dsl/apiextensions/v1beta1/custom_resource_column_definition.rb +20 -0
  47. data/lib/kube-dsl/dsl/apiextensions/v1beta1/custom_resource_conversion.rb +19 -0
  48. data/lib/kube-dsl/dsl/apiextensions/v1beta1/custom_resource_definition.rb +21 -0
  49. data/lib/kube-dsl/dsl/apiextensions/v1beta1/custom_resource_definition_condition.rb +19 -0
  50. data/lib/kube-dsl/dsl/apiextensions/v1beta1/custom_resource_definition_list.rb +19 -0
  51. data/lib/kube-dsl/dsl/apiextensions/v1beta1/custom_resource_definition_names.rb +22 -0
  52. data/lib/kube-dsl/dsl/apiextensions/v1beta1/custom_resource_definition_spec.rb +30 -0
  53. data/lib/kube-dsl/dsl/apiextensions/v1beta1/custom_resource_definition_status.rb +19 -0
  54. data/lib/kube-dsl/dsl/apiextensions/v1beta1/custom_resource_definition_version.rb +23 -0
  55. data/lib/kube-dsl/dsl/apiextensions/v1beta1/custom_resource_subresource_scale.rb +17 -0
  56. data/lib/kube-dsl/dsl/apiextensions/v1beta1/custom_resource_subresources.rb +17 -0
  57. data/lib/kube-dsl/dsl/apiextensions/v1beta1/custom_resource_validation.rb +15 -0
  58. data/lib/kube-dsl/dsl/apiextensions/v1beta1/external_documentation.rb +16 -0
  59. data/lib/kube-dsl/dsl/apiextensions/v1beta1/json_schema_props.rb +69 -0
  60. data/lib/kube-dsl/dsl/apiextensions/v1beta1/service_reference.rb +18 -0
  61. data/lib/kube-dsl/dsl/apiextensions/v1beta1/webhook_client_config.rb +18 -0
  62. data/lib/kube-dsl/dsl/apiextensions/v1beta1.rb +18 -0
  63. data/lib/kube-dsl/dsl/apiextensions.rb +4 -0
  64. data/lib/kube-dsl/dsl/apiregistration/v1/api_service.rb +21 -0
  65. data/lib/kube-dsl/dsl/apiregistration/v1/api_service_condition.rb +19 -0
  66. data/lib/kube-dsl/dsl/apiregistration/v1/api_service_list.rb +19 -0
  67. data/lib/kube-dsl/dsl/apiregistration/v1/api_service_spec.rb +22 -0
  68. data/lib/kube-dsl/dsl/apiregistration/v1/api_service_status.rb +15 -0
  69. data/lib/kube-dsl/dsl/apiregistration/v1/service_reference.rb +17 -0
  70. data/lib/kube-dsl/dsl/apiregistration/v1.rb +8 -0
  71. data/lib/kube-dsl/dsl/apiregistration/v1beta1/api_service.rb +21 -0
  72. data/lib/kube-dsl/dsl/apiregistration/v1beta1/api_service_condition.rb +19 -0
  73. data/lib/kube-dsl/dsl/apiregistration/v1beta1/api_service_list.rb +19 -0
  74. data/lib/kube-dsl/dsl/apiregistration/v1beta1/api_service_spec.rb +22 -0
  75. data/lib/kube-dsl/dsl/apiregistration/v1beta1/api_service_status.rb +15 -0
  76. data/lib/kube-dsl/dsl/apiregistration/v1beta1/service_reference.rb +17 -0
  77. data/lib/kube-dsl/dsl/apiregistration/v1beta1.rb +8 -0
  78. data/lib/kube-dsl/dsl/apiregistration.rb +4 -0
  79. data/lib/kube-dsl/dsl/apps/v1/controller_revision.rb +20 -0
  80. data/lib/kube-dsl/dsl/apps/v1/controller_revision_list.rb +19 -0
  81. data/lib/kube-dsl/dsl/apps/v1/daemon_set.rb +21 -0
  82. data/lib/kube-dsl/dsl/apps/v1/daemon_set_condition.rb +19 -0
  83. data/lib/kube-dsl/dsl/apps/v1/daemon_set_list.rb +19 -0
  84. data/lib/kube-dsl/dsl/apps/v1/daemon_set_spec.rb +22 -0
  85. data/lib/kube-dsl/dsl/apps/v1/daemon_set_status.rb +25 -0
  86. data/lib/kube-dsl/dsl/apps/v1/daemon_set_update_strategy.rb +17 -0
  87. data/lib/kube-dsl/dsl/apps/v1/deployment.rb +21 -0
  88. data/lib/kube-dsl/dsl/apps/v1/deployment_condition.rb +20 -0
  89. data/lib/kube-dsl/dsl/apps/v1/deployment_list.rb +19 -0
  90. data/lib/kube-dsl/dsl/apps/v1/deployment_spec.rb +25 -0
  91. data/lib/kube-dsl/dsl/apps/v1/deployment_status.rb +23 -0
  92. data/lib/kube-dsl/dsl/apps/v1/deployment_strategy.rb +17 -0
  93. data/lib/kube-dsl/dsl/apps/v1/replica_set.rb +21 -0
  94. data/lib/kube-dsl/dsl/apps/v1/replica_set_condition.rb +19 -0
  95. data/lib/kube-dsl/dsl/apps/v1/replica_set_list.rb +19 -0
  96. data/lib/kube-dsl/dsl/apps/v1/replica_set_spec.rb +20 -0
  97. data/lib/kube-dsl/dsl/apps/v1/replica_set_status.rb +21 -0
  98. data/lib/kube-dsl/dsl/apps/v1/rolling_update_daemon_set.rb +15 -0
  99. data/lib/kube-dsl/dsl/apps/v1/rolling_update_deployment.rb +16 -0
  100. data/lib/kube-dsl/dsl/apps/v1/rolling_update_stateful_set_strategy.rb +15 -0
  101. data/lib/kube-dsl/dsl/apps/v1/stateful_set.rb +21 -0
  102. data/lib/kube-dsl/dsl/apps/v1/stateful_set_condition.rb +19 -0
  103. data/lib/kube-dsl/dsl/apps/v1/stateful_set_list.rb +19 -0
  104. data/lib/kube-dsl/dsl/apps/v1/stateful_set_spec.rb +26 -0
  105. data/lib/kube-dsl/dsl/apps/v1/stateful_set_status.rb +24 -0
  106. data/lib/kube-dsl/dsl/apps/v1/stateful_set_update_strategy.rb +17 -0
  107. data/lib/kube-dsl/dsl/apps/v1.rb +30 -0
  108. data/lib/kube-dsl/dsl/apps/v1beta1/controller_revision.rb +20 -0
  109. data/lib/kube-dsl/dsl/apps/v1beta1/controller_revision_list.rb +19 -0
  110. data/lib/kube-dsl/dsl/apps/v1beta1/deployment.rb +21 -0
  111. data/lib/kube-dsl/dsl/apps/v1beta1/deployment_condition.rb +20 -0
  112. data/lib/kube-dsl/dsl/apps/v1beta1/deployment_list.rb +19 -0
  113. data/lib/kube-dsl/dsl/apps/v1beta1/deployment_rollback.rb +21 -0
  114. data/lib/kube-dsl/dsl/apps/v1beta1/deployment_spec.rb +27 -0
  115. data/lib/kube-dsl/dsl/apps/v1beta1/deployment_status.rb +23 -0
  116. data/lib/kube-dsl/dsl/apps/v1beta1/deployment_strategy.rb +17 -0
  117. data/lib/kube-dsl/dsl/apps/v1beta1/rollback_config.rb +15 -0
  118. data/lib/kube-dsl/dsl/apps/v1beta1/rolling_update_deployment.rb +16 -0
  119. data/lib/kube-dsl/dsl/apps/v1beta1/rolling_update_stateful_set_strategy.rb +15 -0
  120. data/lib/kube-dsl/dsl/apps/v1beta1/scale.rb +21 -0
  121. data/lib/kube-dsl/dsl/apps/v1beta1/scale_spec.rb +15 -0
  122. data/lib/kube-dsl/dsl/apps/v1beta1/scale_status.rb +18 -0
  123. data/lib/kube-dsl/dsl/apps/v1beta1/stateful_set.rb +21 -0
  124. data/lib/kube-dsl/dsl/apps/v1beta1/stateful_set_condition.rb +19 -0
  125. data/lib/kube-dsl/dsl/apps/v1beta1/stateful_set_list.rb +19 -0
  126. data/lib/kube-dsl/dsl/apps/v1beta1/stateful_set_spec.rb +26 -0
  127. data/lib/kube-dsl/dsl/apps/v1beta1/stateful_set_status.rb +24 -0
  128. data/lib/kube-dsl/dsl/apps/v1beta1/stateful_set_update_strategy.rb +17 -0
  129. data/lib/kube-dsl/dsl/apps/v1beta1.rb +23 -0
  130. data/lib/kube-dsl/dsl/apps/v1beta2/controller_revision.rb +20 -0
  131. data/lib/kube-dsl/dsl/apps/v1beta2/controller_revision_list.rb +19 -0
  132. data/lib/kube-dsl/dsl/apps/v1beta2/daemon_set.rb +21 -0
  133. data/lib/kube-dsl/dsl/apps/v1beta2/daemon_set_condition.rb +19 -0
  134. data/lib/kube-dsl/dsl/apps/v1beta2/daemon_set_list.rb +19 -0
  135. data/lib/kube-dsl/dsl/apps/v1beta2/daemon_set_spec.rb +22 -0
  136. data/lib/kube-dsl/dsl/apps/v1beta2/daemon_set_status.rb +25 -0
  137. data/lib/kube-dsl/dsl/apps/v1beta2/daemon_set_update_strategy.rb +17 -0
  138. data/lib/kube-dsl/dsl/apps/v1beta2/deployment.rb +21 -0
  139. data/lib/kube-dsl/dsl/apps/v1beta2/deployment_condition.rb +20 -0
  140. data/lib/kube-dsl/dsl/apps/v1beta2/deployment_list.rb +19 -0
  141. data/lib/kube-dsl/dsl/apps/v1beta2/deployment_spec.rb +25 -0
  142. data/lib/kube-dsl/dsl/apps/v1beta2/deployment_status.rb +23 -0
  143. data/lib/kube-dsl/dsl/apps/v1beta2/deployment_strategy.rb +17 -0
  144. data/lib/kube-dsl/dsl/apps/v1beta2/replica_set.rb +21 -0
  145. data/lib/kube-dsl/dsl/apps/v1beta2/replica_set_condition.rb +19 -0
  146. data/lib/kube-dsl/dsl/apps/v1beta2/replica_set_list.rb +19 -0
  147. data/lib/kube-dsl/dsl/apps/v1beta2/replica_set_spec.rb +20 -0
  148. data/lib/kube-dsl/dsl/apps/v1beta2/replica_set_status.rb +21 -0
  149. data/lib/kube-dsl/dsl/apps/v1beta2/rolling_update_daemon_set.rb +15 -0
  150. data/lib/kube-dsl/dsl/apps/v1beta2/rolling_update_deployment.rb +16 -0
  151. data/lib/kube-dsl/dsl/apps/v1beta2/rolling_update_stateful_set_strategy.rb +15 -0
  152. data/lib/kube-dsl/dsl/apps/v1beta2/scale.rb +21 -0
  153. data/lib/kube-dsl/dsl/apps/v1beta2/scale_spec.rb +15 -0
  154. data/lib/kube-dsl/dsl/apps/v1beta2/scale_status.rb +18 -0
  155. data/lib/kube-dsl/dsl/apps/v1beta2/stateful_set.rb +21 -0
  156. data/lib/kube-dsl/dsl/apps/v1beta2/stateful_set_condition.rb +19 -0
  157. data/lib/kube-dsl/dsl/apps/v1beta2/stateful_set_list.rb +19 -0
  158. data/lib/kube-dsl/dsl/apps/v1beta2/stateful_set_spec.rb +26 -0
  159. data/lib/kube-dsl/dsl/apps/v1beta2/stateful_set_status.rb +24 -0
  160. data/lib/kube-dsl/dsl/apps/v1beta2/stateful_set_update_strategy.rb +17 -0
  161. data/lib/kube-dsl/dsl/apps/v1beta2.rb +33 -0
  162. data/lib/kube-dsl/dsl/apps.rb +5 -0
  163. data/lib/kube-dsl/dsl/auditregistration/v1alpha1/audit_sink.rb +19 -0
  164. data/lib/kube-dsl/dsl/auditregistration/v1alpha1/audit_sink_list.rb +19 -0
  165. data/lib/kube-dsl/dsl/auditregistration/v1alpha1/audit_sink_spec.rb +17 -0
  166. data/lib/kube-dsl/dsl/auditregistration/v1alpha1/policy.rb +17 -0
  167. data/lib/kube-dsl/dsl/auditregistration/v1alpha1/service_reference.rb +18 -0
  168. data/lib/kube-dsl/dsl/auditregistration/v1alpha1/webhook.rb +17 -0
  169. data/lib/kube-dsl/dsl/auditregistration/v1alpha1/webhook_client_config.rb +18 -0
  170. data/lib/kube-dsl/dsl/auditregistration/v1alpha1/webhook_throttle_config.rb +16 -0
  171. data/lib/kube-dsl/dsl/auditregistration/v1alpha1.rb +10 -0
  172. data/lib/kube-dsl/dsl/auditregistration.rb +3 -0
  173. data/lib/kube-dsl/dsl/authentication/v1/bound_object_reference.rb +18 -0
  174. data/lib/kube-dsl/dsl/authentication/v1/token_request.rb +21 -0
  175. data/lib/kube-dsl/dsl/authentication/v1/token_request_spec.rb +19 -0
  176. data/lib/kube-dsl/dsl/authentication/v1/token_request_status.rb +16 -0
  177. data/lib/kube-dsl/dsl/authentication/v1/token_review.rb +21 -0
  178. data/lib/kube-dsl/dsl/authentication/v1/token_review_spec.rb +17 -0
  179. data/lib/kube-dsl/dsl/authentication/v1/token_review_status.rb +20 -0
  180. data/lib/kube-dsl/dsl/authentication/v1/user_info.rb +20 -0
  181. data/lib/kube-dsl/dsl/authentication/v1.rb +10 -0
  182. data/lib/kube-dsl/dsl/authentication/v1beta1/token_review.rb +21 -0
  183. data/lib/kube-dsl/dsl/authentication/v1beta1/token_review_spec.rb +17 -0
  184. data/lib/kube-dsl/dsl/authentication/v1beta1/token_review_status.rb +20 -0
  185. data/lib/kube-dsl/dsl/authentication/v1beta1/user_info.rb +20 -0
  186. data/lib/kube-dsl/dsl/authentication/v1beta1.rb +6 -0
  187. data/lib/kube-dsl/dsl/authentication.rb +4 -0
  188. data/lib/kube-dsl/dsl/authorization/v1/local_subject_access_review.rb +21 -0
  189. data/lib/kube-dsl/dsl/authorization/v1/non_resource_attributes.rb +16 -0
  190. data/lib/kube-dsl/dsl/authorization/v1/non_resource_rule.rb +17 -0
  191. data/lib/kube-dsl/dsl/authorization/v1/resource_attributes.rb +21 -0
  192. data/lib/kube-dsl/dsl/authorization/v1/resource_rule.rb +21 -0
  193. data/lib/kube-dsl/dsl/authorization/v1/self_subject_access_review.rb +21 -0
  194. data/lib/kube-dsl/dsl/authorization/v1/self_subject_access_review_spec.rb +17 -0
  195. data/lib/kube-dsl/dsl/authorization/v1/self_subject_rules_review.rb +21 -0
  196. data/lib/kube-dsl/dsl/authorization/v1/self_subject_rules_review_spec.rb +15 -0
  197. data/lib/kube-dsl/dsl/authorization/v1/subject_access_review.rb +21 -0
  198. data/lib/kube-dsl/dsl/authorization/v1/subject_access_review_spec.rb +24 -0
  199. data/lib/kube-dsl/dsl/authorization/v1/subject_access_review_status.rb +18 -0
  200. data/lib/kube-dsl/dsl/authorization/v1/subject_rules_review_status.rb +20 -0
  201. data/lib/kube-dsl/dsl/authorization/v1.rb +15 -0
  202. data/lib/kube-dsl/dsl/authorization/v1beta1/local_subject_access_review.rb +21 -0
  203. data/lib/kube-dsl/dsl/authorization/v1beta1/non_resource_attributes.rb +16 -0
  204. data/lib/kube-dsl/dsl/authorization/v1beta1/non_resource_rule.rb +17 -0
  205. data/lib/kube-dsl/dsl/authorization/v1beta1/resource_attributes.rb +21 -0
  206. data/lib/kube-dsl/dsl/authorization/v1beta1/resource_rule.rb +21 -0
  207. data/lib/kube-dsl/dsl/authorization/v1beta1/self_subject_access_review.rb +21 -0
  208. data/lib/kube-dsl/dsl/authorization/v1beta1/self_subject_access_review_spec.rb +17 -0
  209. data/lib/kube-dsl/dsl/authorization/v1beta1/self_subject_rules_review.rb +21 -0
  210. data/lib/kube-dsl/dsl/authorization/v1beta1/self_subject_rules_review_spec.rb +15 -0
  211. data/lib/kube-dsl/dsl/authorization/v1beta1/subject_access_review.rb +21 -0
  212. data/lib/kube-dsl/dsl/authorization/v1beta1/subject_access_review_spec.rb +24 -0
  213. data/lib/kube-dsl/dsl/authorization/v1beta1/subject_access_review_status.rb +18 -0
  214. data/lib/kube-dsl/dsl/authorization/v1beta1/subject_rules_review_status.rb +20 -0
  215. data/lib/kube-dsl/dsl/authorization/v1beta1.rb +15 -0
  216. data/lib/kube-dsl/dsl/authorization.rb +4 -0
  217. data/lib/kube-dsl/dsl/autoscaling/v1/cross_version_object_reference.rb +17 -0
  218. data/lib/kube-dsl/dsl/autoscaling/v1/horizontal_pod_autoscaler.rb +21 -0
  219. data/lib/kube-dsl/dsl/autoscaling/v1/horizontal_pod_autoscaler_list.rb +19 -0
  220. data/lib/kube-dsl/dsl/autoscaling/v1/horizontal_pod_autoscaler_spec.rb +19 -0
  221. data/lib/kube-dsl/dsl/autoscaling/v1/horizontal_pod_autoscaler_status.rb +19 -0
  222. data/lib/kube-dsl/dsl/autoscaling/v1/scale.rb +21 -0
  223. data/lib/kube-dsl/dsl/autoscaling/v1/scale_spec.rb +15 -0
  224. data/lib/kube-dsl/dsl/autoscaling/v1/scale_status.rb +16 -0
  225. data/lib/kube-dsl/dsl/autoscaling/v1.rb +10 -0
  226. data/lib/kube-dsl/dsl/autoscaling/v2beta1/cross_version_object_reference.rb +17 -0
  227. data/lib/kube-dsl/dsl/autoscaling/v2beta1/external_metric_source.rb +19 -0
  228. data/lib/kube-dsl/dsl/autoscaling/v2beta1/external_metric_status.rb +19 -0
  229. data/lib/kube-dsl/dsl/autoscaling/v2beta1/horizontal_pod_autoscaler.rb +21 -0
  230. data/lib/kube-dsl/dsl/autoscaling/v2beta1/horizontal_pod_autoscaler_condition.rb +19 -0
  231. data/lib/kube-dsl/dsl/autoscaling/v2beta1/horizontal_pod_autoscaler_list.rb +19 -0
  232. data/lib/kube-dsl/dsl/autoscaling/v2beta1/horizontal_pod_autoscaler_spec.rb +20 -0
  233. data/lib/kube-dsl/dsl/autoscaling/v2beta1/horizontal_pod_autoscaler_status.rb +22 -0
  234. data/lib/kube-dsl/dsl/autoscaling/v2beta1/metric_spec.rb +23 -0
  235. data/lib/kube-dsl/dsl/autoscaling/v2beta1/metric_status.rb +23 -0
  236. data/lib/kube-dsl/dsl/autoscaling/v2beta1/object_metric_source.rb +21 -0
  237. data/lib/kube-dsl/dsl/autoscaling/v2beta1/object_metric_status.rb +21 -0
  238. data/lib/kube-dsl/dsl/autoscaling/v2beta1/pods_metric_source.rb +18 -0
  239. data/lib/kube-dsl/dsl/autoscaling/v2beta1/pods_metric_status.rb +18 -0
  240. data/lib/kube-dsl/dsl/autoscaling/v2beta1/resource_metric_source.rb +17 -0
  241. data/lib/kube-dsl/dsl/autoscaling/v2beta1/resource_metric_status.rb +17 -0
  242. data/lib/kube-dsl/dsl/autoscaling/v2beta1.rb +18 -0
  243. data/lib/kube-dsl/dsl/autoscaling/v2beta2/cross_version_object_reference.rb +17 -0
  244. data/lib/kube-dsl/dsl/autoscaling/v2beta2/external_metric_source.rb +17 -0
  245. data/lib/kube-dsl/dsl/autoscaling/v2beta2/external_metric_status.rb +17 -0
  246. data/lib/kube-dsl/dsl/autoscaling/v2beta2/horizontal_pod_autoscaler.rb +21 -0
  247. data/lib/kube-dsl/dsl/autoscaling/v2beta2/horizontal_pod_autoscaler_condition.rb +19 -0
  248. data/lib/kube-dsl/dsl/autoscaling/v2beta2/horizontal_pod_autoscaler_list.rb +19 -0
  249. data/lib/kube-dsl/dsl/autoscaling/v2beta2/horizontal_pod_autoscaler_spec.rb +20 -0
  250. data/lib/kube-dsl/dsl/autoscaling/v2beta2/horizontal_pod_autoscaler_status.rb +22 -0
  251. data/lib/kube-dsl/dsl/autoscaling/v2beta2/metric_identifier.rb +17 -0
  252. data/lib/kube-dsl/dsl/autoscaling/v2beta2/metric_spec.rb +23 -0
  253. data/lib/kube-dsl/dsl/autoscaling/v2beta2/metric_status.rb +23 -0
  254. data/lib/kube-dsl/dsl/autoscaling/v2beta2/metric_target.rb +18 -0
  255. data/lib/kube-dsl/dsl/autoscaling/v2beta2/metric_value_status.rb +17 -0
  256. data/lib/kube-dsl/dsl/autoscaling/v2beta2/object_metric_source.rb +19 -0
  257. data/lib/kube-dsl/dsl/autoscaling/v2beta2/object_metric_status.rb +19 -0
  258. data/lib/kube-dsl/dsl/autoscaling/v2beta2/pods_metric_source.rb +17 -0
  259. data/lib/kube-dsl/dsl/autoscaling/v2beta2/pods_metric_status.rb +17 -0
  260. data/lib/kube-dsl/dsl/autoscaling/v2beta2/resource_metric_source.rb +17 -0
  261. data/lib/kube-dsl/dsl/autoscaling/v2beta2/resource_metric_status.rb +17 -0
  262. data/lib/kube-dsl/dsl/autoscaling/v2beta2.rb +21 -0
  263. data/lib/kube-dsl/dsl/autoscaling.rb +5 -0
  264. data/lib/kube-dsl/dsl/batch/v1/job.rb +21 -0
  265. data/lib/kube-dsl/dsl/batch/v1/job_condition.rb +20 -0
  266. data/lib/kube-dsl/dsl/batch/v1/job_list.rb +19 -0
  267. data/lib/kube-dsl/dsl/batch/v1/job_spec.rb +24 -0
  268. data/lib/kube-dsl/dsl/batch/v1/job_status.rb +21 -0
  269. data/lib/kube-dsl/dsl/batch/v1.rb +7 -0
  270. data/lib/kube-dsl/dsl/batch/v1beta1/cron_job.rb +21 -0
  271. data/lib/kube-dsl/dsl/batch/v1beta1/cron_job_list.rb +19 -0
  272. data/lib/kube-dsl/dsl/batch/v1beta1/cron_job_spec.rb +22 -0
  273. data/lib/kube-dsl/dsl/batch/v1beta1/cron_job_status.rb +17 -0
  274. data/lib/kube-dsl/dsl/batch/v1beta1/job_template_spec.rb +17 -0
  275. data/lib/kube-dsl/dsl/batch/v1beta1.rb +7 -0
  276. data/lib/kube-dsl/dsl/batch/v2alpha1/cron_job.rb +21 -0
  277. data/lib/kube-dsl/dsl/batch/v2alpha1/cron_job_list.rb +19 -0
  278. data/lib/kube-dsl/dsl/batch/v2alpha1/cron_job_spec.rb +22 -0
  279. data/lib/kube-dsl/dsl/batch/v2alpha1/cron_job_status.rb +17 -0
  280. data/lib/kube-dsl/dsl/batch/v2alpha1/job_template_spec.rb +17 -0
  281. data/lib/kube-dsl/dsl/batch/v2alpha1.rb +7 -0
  282. data/lib/kube-dsl/dsl/batch.rb +5 -0
  283. data/lib/kube-dsl/dsl/certificates/v1beta1/certificate_signing_request.rb +21 -0
  284. data/lib/kube-dsl/dsl/certificates/v1beta1/certificate_signing_request_condition.rb +18 -0
  285. data/lib/kube-dsl/dsl/certificates/v1beta1/certificate_signing_request_list.rb +19 -0
  286. data/lib/kube-dsl/dsl/certificates/v1beta1/certificate_signing_request_spec.rb +23 -0
  287. data/lib/kube-dsl/dsl/certificates/v1beta1/certificate_signing_request_status.rb +17 -0
  288. data/lib/kube-dsl/dsl/certificates/v1beta1.rb +7 -0
  289. data/lib/kube-dsl/dsl/certificates.rb +3 -0
  290. data/lib/kube-dsl/dsl/coordination/v1/lease.rb +19 -0
  291. data/lib/kube-dsl/dsl/coordination/v1/lease_list.rb +19 -0
  292. data/lib/kube-dsl/dsl/coordination/v1/lease_spec.rb +19 -0
  293. data/lib/kube-dsl/dsl/coordination/v1.rb +5 -0
  294. data/lib/kube-dsl/dsl/coordination/v1beta1/lease.rb +19 -0
  295. data/lib/kube-dsl/dsl/coordination/v1beta1/lease_list.rb +19 -0
  296. data/lib/kube-dsl/dsl/coordination/v1beta1/lease_spec.rb +19 -0
  297. data/lib/kube-dsl/dsl/coordination/v1beta1.rb +5 -0
  298. data/lib/kube-dsl/dsl/coordination.rb +4 -0
  299. data/lib/kube-dsl/dsl/discovery/v1beta1/endpoint.rb +23 -0
  300. data/lib/kube-dsl/dsl/discovery/v1beta1/endpoint_conditions.rb +15 -0
  301. data/lib/kube-dsl/dsl/discovery/v1beta1/endpoint_port.rb +18 -0
  302. data/lib/kube-dsl/dsl/discovery/v1beta1/endpoint_slice.rb +23 -0
  303. data/lib/kube-dsl/dsl/discovery/v1beta1/endpoint_slice_list.rb +19 -0
  304. data/lib/kube-dsl/dsl/discovery/v1beta1.rb +7 -0
  305. data/lib/kube-dsl/dsl/discovery.rb +3 -0
  306. data/lib/kube-dsl/dsl/events/v1beta1/event.rb +36 -0
  307. data/lib/kube-dsl/dsl/events/v1beta1/event_list.rb +19 -0
  308. data/lib/kube-dsl/dsl/events/v1beta1/event_series.rb +17 -0
  309. data/lib/kube-dsl/dsl/events/v1beta1.rb +5 -0
  310. data/lib/kube-dsl/dsl/events.rb +3 -0
  311. data/lib/kube-dsl/dsl/extensions/v1beta1/allowed_csi_driver.rb +15 -0
  312. data/lib/kube-dsl/dsl/extensions/v1beta1/allowed_flex_volume.rb +15 -0
  313. data/lib/kube-dsl/dsl/extensions/v1beta1/allowed_host_path.rb +16 -0
  314. data/lib/kube-dsl/dsl/extensions/v1beta1/daemon_set.rb +21 -0
  315. data/lib/kube-dsl/dsl/extensions/v1beta1/daemon_set_condition.rb +19 -0
  316. data/lib/kube-dsl/dsl/extensions/v1beta1/daemon_set_list.rb +19 -0
  317. data/lib/kube-dsl/dsl/extensions/v1beta1/daemon_set_spec.rb +23 -0
  318. data/lib/kube-dsl/dsl/extensions/v1beta1/daemon_set_status.rb +25 -0
  319. data/lib/kube-dsl/dsl/extensions/v1beta1/daemon_set_update_strategy.rb +17 -0
  320. data/lib/kube-dsl/dsl/extensions/v1beta1/deployment.rb +21 -0
  321. data/lib/kube-dsl/dsl/extensions/v1beta1/deployment_condition.rb +20 -0
  322. data/lib/kube-dsl/dsl/extensions/v1beta1/deployment_list.rb +19 -0
  323. data/lib/kube-dsl/dsl/extensions/v1beta1/deployment_rollback.rb +21 -0
  324. data/lib/kube-dsl/dsl/extensions/v1beta1/deployment_spec.rb +27 -0
  325. data/lib/kube-dsl/dsl/extensions/v1beta1/deployment_status.rb +23 -0
  326. data/lib/kube-dsl/dsl/extensions/v1beta1/deployment_strategy.rb +17 -0
  327. data/lib/kube-dsl/dsl/extensions/v1beta1/fs_group_strategy_options.rb +17 -0
  328. data/lib/kube-dsl/dsl/extensions/v1beta1/host_port_range.rb +16 -0
  329. data/lib/kube-dsl/dsl/extensions/v1beta1/http_ingress_path.rb +17 -0
  330. data/lib/kube-dsl/dsl/extensions/v1beta1/http_ingress_rule_value.rb +15 -0
  331. data/lib/kube-dsl/dsl/extensions/v1beta1/id_range.rb +16 -0
  332. data/lib/kube-dsl/dsl/extensions/v1beta1/ingress.rb +21 -0
  333. data/lib/kube-dsl/dsl/extensions/v1beta1/ingress_backend.rb +16 -0
  334. data/lib/kube-dsl/dsl/extensions/v1beta1/ingress_list.rb +19 -0
  335. data/lib/kube-dsl/dsl/extensions/v1beta1/ingress_rule.rb +17 -0
  336. data/lib/kube-dsl/dsl/extensions/v1beta1/ingress_spec.rb +19 -0
  337. data/lib/kube-dsl/dsl/extensions/v1beta1/ingress_status.rb +15 -0
  338. data/lib/kube-dsl/dsl/extensions/v1beta1/ingress_tls.rb +17 -0
  339. data/lib/kube-dsl/dsl/extensions/v1beta1/ip_block.rb +17 -0
  340. data/lib/kube-dsl/dsl/extensions/v1beta1/network_policy.rb +19 -0
  341. data/lib/kube-dsl/dsl/extensions/v1beta1/network_policy_egress_rule.rb +17 -0
  342. data/lib/kube-dsl/dsl/extensions/v1beta1/network_policy_ingress_rule.rb +17 -0
  343. data/lib/kube-dsl/dsl/extensions/v1beta1/network_policy_list.rb +19 -0
  344. data/lib/kube-dsl/dsl/extensions/v1beta1/network_policy_peer.rb +19 -0
  345. data/lib/kube-dsl/dsl/extensions/v1beta1/network_policy_port.rb +16 -0
  346. data/lib/kube-dsl/dsl/extensions/v1beta1/network_policy_spec.rb +21 -0
  347. data/lib/kube-dsl/dsl/extensions/v1beta1/pod_security_policy.rb +19 -0
  348. data/lib/kube-dsl/dsl/extensions/v1beta1/pod_security_policy_list.rb +19 -0
  349. data/lib/kube-dsl/dsl/extensions/v1beta1/pod_security_policy_spec.rb +55 -0
  350. data/lib/kube-dsl/dsl/extensions/v1beta1/replica_set.rb +21 -0
  351. data/lib/kube-dsl/dsl/extensions/v1beta1/replica_set_condition.rb +19 -0
  352. data/lib/kube-dsl/dsl/extensions/v1beta1/replica_set_list.rb +19 -0
  353. data/lib/kube-dsl/dsl/extensions/v1beta1/replica_set_spec.rb +20 -0
  354. data/lib/kube-dsl/dsl/extensions/v1beta1/replica_set_status.rb +21 -0
  355. data/lib/kube-dsl/dsl/extensions/v1beta1/rollback_config.rb +15 -0
  356. data/lib/kube-dsl/dsl/extensions/v1beta1/rolling_update_daemon_set.rb +15 -0
  357. data/lib/kube-dsl/dsl/extensions/v1beta1/rolling_update_deployment.rb +16 -0
  358. data/lib/kube-dsl/dsl/extensions/v1beta1/run_as_group_strategy_options.rb +17 -0
  359. data/lib/kube-dsl/dsl/extensions/v1beta1/run_as_user_strategy_options.rb +17 -0
  360. data/lib/kube-dsl/dsl/extensions/v1beta1/runtime_class_strategy_options.rb +17 -0
  361. data/lib/kube-dsl/dsl/extensions/v1beta1/scale.rb +21 -0
  362. data/lib/kube-dsl/dsl/extensions/v1beta1/scale_spec.rb +15 -0
  363. data/lib/kube-dsl/dsl/extensions/v1beta1/scale_status.rb +18 -0
  364. data/lib/kube-dsl/dsl/extensions/v1beta1/se_linux_strategy_options.rb +17 -0
  365. data/lib/kube-dsl/dsl/extensions/v1beta1/supplemental_groups_strategy_options.rb +17 -0
  366. data/lib/kube-dsl/dsl/extensions/v1beta1.rb +57 -0
  367. data/lib/kube-dsl/dsl/extensions.rb +3 -0
  368. data/lib/kube-dsl/dsl/flowcontrol/v1alpha1/flow_distinguisher_method.rb +15 -0
  369. data/lib/kube-dsl/dsl/flowcontrol/v1alpha1/flow_schema.rb +21 -0
  370. data/lib/kube-dsl/dsl/flowcontrol/v1alpha1/flow_schema_condition.rb +19 -0
  371. data/lib/kube-dsl/dsl/flowcontrol/v1alpha1/flow_schema_list.rb +19 -0
  372. data/lib/kube-dsl/dsl/flowcontrol/v1alpha1/flow_schema_spec.rb +21 -0
  373. data/lib/kube-dsl/dsl/flowcontrol/v1alpha1/flow_schema_status.rb +15 -0
  374. data/lib/kube-dsl/dsl/flowcontrol/v1alpha1/group_subject.rb +15 -0
  375. data/lib/kube-dsl/dsl/flowcontrol/v1alpha1/limit_response.rb +17 -0
  376. data/lib/kube-dsl/dsl/flowcontrol/v1alpha1/limited_priority_level_configuration.rb +17 -0
  377. data/lib/kube-dsl/dsl/flowcontrol/v1alpha1/non_resource_policy_rule.rb +17 -0
  378. data/lib/kube-dsl/dsl/flowcontrol/v1alpha1/policy_rules_with_subjects.rb +19 -0
  379. data/lib/kube-dsl/dsl/flowcontrol/v1alpha1/priority_level_configuration.rb +21 -0
  380. data/lib/kube-dsl/dsl/flowcontrol/v1alpha1/priority_level_configuration_condition.rb +19 -0
  381. data/lib/kube-dsl/dsl/flowcontrol/v1alpha1/priority_level_configuration_list.rb +19 -0
  382. data/lib/kube-dsl/dsl/flowcontrol/v1alpha1/priority_level_configuration_reference.rb +15 -0
  383. data/lib/kube-dsl/dsl/flowcontrol/v1alpha1/priority_level_configuration_spec.rb +17 -0
  384. data/lib/kube-dsl/dsl/flowcontrol/v1alpha1/priority_level_configuration_status.rb +15 -0
  385. data/lib/kube-dsl/dsl/flowcontrol/v1alpha1/queuing_configuration.rb +17 -0
  386. data/lib/kube-dsl/dsl/flowcontrol/v1alpha1/resource_policy_rule.rb +23 -0
  387. data/lib/kube-dsl/dsl/flowcontrol/v1alpha1/service_account_subject.rb +16 -0
  388. data/lib/kube-dsl/dsl/flowcontrol/v1alpha1/subject.rb +21 -0
  389. data/lib/kube-dsl/dsl/flowcontrol/v1alpha1/user_subject.rb +15 -0
  390. data/lib/kube-dsl/dsl/flowcontrol/v1alpha1.rb +24 -0
  391. data/lib/kube-dsl/dsl/flowcontrol.rb +3 -0
  392. data/lib/kube-dsl/dsl/meta/v1/api_group.rb +23 -0
  393. data/lib/kube-dsl/dsl/meta/v1/api_group_list.rb +17 -0
  394. data/lib/kube-dsl/dsl/meta/v1/api_resource.rb +27 -0
  395. data/lib/kube-dsl/dsl/meta/v1/api_resource_list.rb +19 -0
  396. data/lib/kube-dsl/dsl/meta/v1/api_versions.rb +19 -0
  397. data/lib/kube-dsl/dsl/meta/v1/delete_options.rb +23 -0
  398. data/lib/kube-dsl/dsl/meta/v1/group_version_for_discovery.rb +16 -0
  399. data/lib/kube-dsl/dsl/meta/v1/label_selector.rb +17 -0
  400. data/lib/kube-dsl/dsl/meta/v1/label_selector_requirement.rb +18 -0
  401. data/lib/kube-dsl/dsl/meta/v1/list_meta.rb +18 -0
  402. data/lib/kube-dsl/dsl/meta/v1/managed_fields_entry.rb +20 -0
  403. data/lib/kube-dsl/dsl/meta/v1/object_meta.rb +35 -0
  404. data/lib/kube-dsl/dsl/meta/v1/owner_reference.rb +20 -0
  405. data/lib/kube-dsl/dsl/meta/v1/preconditions.rb +16 -0
  406. data/lib/kube-dsl/dsl/meta/v1/server_address_by_client_cidr.rb +16 -0
  407. data/lib/kube-dsl/dsl/meta/v1/status.rb +24 -0
  408. data/lib/kube-dsl/dsl/meta/v1/status_cause.rb +17 -0
  409. data/lib/kube-dsl/dsl/meta/v1/status_details.rb +21 -0
  410. data/lib/kube-dsl/dsl/meta/v1/watch_event.rb +16 -0
  411. data/lib/kube-dsl/dsl/meta/v1.rb +21 -0
  412. data/lib/kube-dsl/dsl/meta.rb +3 -0
  413. data/lib/kube-dsl/dsl/networking/v1/ip_block.rb +17 -0
  414. data/lib/kube-dsl/dsl/networking/v1/network_policy.rb +19 -0
  415. data/lib/kube-dsl/dsl/networking/v1/network_policy_egress_rule.rb +17 -0
  416. data/lib/kube-dsl/dsl/networking/v1/network_policy_ingress_rule.rb +17 -0
  417. data/lib/kube-dsl/dsl/networking/v1/network_policy_list.rb +19 -0
  418. data/lib/kube-dsl/dsl/networking/v1/network_policy_peer.rb +19 -0
  419. data/lib/kube-dsl/dsl/networking/v1/network_policy_port.rb +16 -0
  420. data/lib/kube-dsl/dsl/networking/v1/network_policy_spec.rb +21 -0
  421. data/lib/kube-dsl/dsl/networking/v1.rb +10 -0
  422. data/lib/kube-dsl/dsl/networking/v1beta1/http_ingress_path.rb +17 -0
  423. data/lib/kube-dsl/dsl/networking/v1beta1/http_ingress_rule_value.rb +15 -0
  424. data/lib/kube-dsl/dsl/networking/v1beta1/ingress.rb +21 -0
  425. data/lib/kube-dsl/dsl/networking/v1beta1/ingress_backend.rb +16 -0
  426. data/lib/kube-dsl/dsl/networking/v1beta1/ingress_list.rb +19 -0
  427. data/lib/kube-dsl/dsl/networking/v1beta1/ingress_rule.rb +17 -0
  428. data/lib/kube-dsl/dsl/networking/v1beta1/ingress_spec.rb +19 -0
  429. data/lib/kube-dsl/dsl/networking/v1beta1/ingress_status.rb +15 -0
  430. data/lib/kube-dsl/dsl/networking/v1beta1/ingress_tls.rb +17 -0
  431. data/lib/kube-dsl/dsl/networking/v1beta1.rb +11 -0
  432. data/lib/kube-dsl/dsl/networking.rb +4 -0
  433. data/lib/kube-dsl/dsl/node/v1alpha1/overhead.rb +15 -0
  434. data/lib/kube-dsl/dsl/node/v1alpha1/runtime_class.rb +19 -0
  435. data/lib/kube-dsl/dsl/node/v1alpha1/runtime_class_list.rb +19 -0
  436. data/lib/kube-dsl/dsl/node/v1alpha1/runtime_class_spec.rb +19 -0
  437. data/lib/kube-dsl/dsl/node/v1alpha1/scheduling.rb +17 -0
  438. data/lib/kube-dsl/dsl/node/v1alpha1.rb +7 -0
  439. data/lib/kube-dsl/dsl/node/v1beta1/overhead.rb +15 -0
  440. data/lib/kube-dsl/dsl/node/v1beta1/runtime_class.rb +23 -0
  441. data/lib/kube-dsl/dsl/node/v1beta1/runtime_class_list.rb +19 -0
  442. data/lib/kube-dsl/dsl/node/v1beta1/scheduling.rb +17 -0
  443. data/lib/kube-dsl/dsl/node/v1beta1.rb +6 -0
  444. data/lib/kube-dsl/dsl/node.rb +4 -0
  445. data/lib/kube-dsl/dsl/pkg/version/info.rb +23 -0
  446. data/lib/kube-dsl/dsl/pkg/version.rb +3 -0
  447. data/lib/kube-dsl/dsl/pkg.rb +3 -0
  448. data/lib/kube-dsl/dsl/policy/v1beta1/allowed_csi_driver.rb +15 -0
  449. data/lib/kube-dsl/dsl/policy/v1beta1/allowed_flex_volume.rb +15 -0
  450. data/lib/kube-dsl/dsl/policy/v1beta1/allowed_host_path.rb +16 -0
  451. data/lib/kube-dsl/dsl/policy/v1beta1/eviction.rb +19 -0
  452. data/lib/kube-dsl/dsl/policy/v1beta1/fs_group_strategy_options.rb +17 -0
  453. data/lib/kube-dsl/dsl/policy/v1beta1/host_port_range.rb +16 -0
  454. data/lib/kube-dsl/dsl/policy/v1beta1/id_range.rb +16 -0
  455. data/lib/kube-dsl/dsl/policy/v1beta1/pod_disruption_budget.rb +21 -0
  456. data/lib/kube-dsl/dsl/policy/v1beta1/pod_disruption_budget_list.rb +19 -0
  457. data/lib/kube-dsl/dsl/policy/v1beta1/pod_disruption_budget_spec.rb +18 -0
  458. data/lib/kube-dsl/dsl/policy/v1beta1/pod_disruption_budget_status.rb +21 -0
  459. data/lib/kube-dsl/dsl/policy/v1beta1/pod_security_policy.rb +19 -0
  460. data/lib/kube-dsl/dsl/policy/v1beta1/pod_security_policy_list.rb +19 -0
  461. data/lib/kube-dsl/dsl/policy/v1beta1/pod_security_policy_spec.rb +55 -0
  462. data/lib/kube-dsl/dsl/policy/v1beta1/run_as_group_strategy_options.rb +17 -0
  463. data/lib/kube-dsl/dsl/policy/v1beta1/run_as_user_strategy_options.rb +17 -0
  464. data/lib/kube-dsl/dsl/policy/v1beta1/runtime_class_strategy_options.rb +17 -0
  465. data/lib/kube-dsl/dsl/policy/v1beta1/se_linux_strategy_options.rb +17 -0
  466. data/lib/kube-dsl/dsl/policy/v1beta1/supplemental_groups_strategy_options.rb +17 -0
  467. data/lib/kube-dsl/dsl/policy/v1beta1.rb +21 -0
  468. data/lib/kube-dsl/dsl/policy.rb +3 -0
  469. data/lib/kube-dsl/dsl/rbac/v1/aggregation_rule.rb +15 -0
  470. data/lib/kube-dsl/dsl/rbac/v1/cluster_role.rb +21 -0
  471. data/lib/kube-dsl/dsl/rbac/v1/cluster_role_binding.rb +21 -0
  472. data/lib/kube-dsl/dsl/rbac/v1/cluster_role_binding_list.rb +19 -0
  473. data/lib/kube-dsl/dsl/rbac/v1/cluster_role_list.rb +19 -0
  474. data/lib/kube-dsl/dsl/rbac/v1/policy_rule.rb +23 -0
  475. data/lib/kube-dsl/dsl/rbac/v1/role.rb +19 -0
  476. data/lib/kube-dsl/dsl/rbac/v1/role_binding.rb +21 -0
  477. data/lib/kube-dsl/dsl/rbac/v1/role_binding_list.rb +19 -0
  478. data/lib/kube-dsl/dsl/rbac/v1/role_list.rb +19 -0
  479. data/lib/kube-dsl/dsl/rbac/v1/role_ref.rb +17 -0
  480. data/lib/kube-dsl/dsl/rbac/v1/subject.rb +18 -0
  481. data/lib/kube-dsl/dsl/rbac/v1.rb +14 -0
  482. data/lib/kube-dsl/dsl/rbac/v1alpha1/aggregation_rule.rb +15 -0
  483. data/lib/kube-dsl/dsl/rbac/v1alpha1/cluster_role.rb +21 -0
  484. data/lib/kube-dsl/dsl/rbac/v1alpha1/cluster_role_binding.rb +21 -0
  485. data/lib/kube-dsl/dsl/rbac/v1alpha1/cluster_role_binding_list.rb +19 -0
  486. data/lib/kube-dsl/dsl/rbac/v1alpha1/cluster_role_list.rb +19 -0
  487. data/lib/kube-dsl/dsl/rbac/v1alpha1/policy_rule.rb +23 -0
  488. data/lib/kube-dsl/dsl/rbac/v1alpha1/role.rb +19 -0
  489. data/lib/kube-dsl/dsl/rbac/v1alpha1/role_binding.rb +21 -0
  490. data/lib/kube-dsl/dsl/rbac/v1alpha1/role_binding_list.rb +19 -0
  491. data/lib/kube-dsl/dsl/rbac/v1alpha1/role_list.rb +19 -0
  492. data/lib/kube-dsl/dsl/rbac/v1alpha1/role_ref.rb +17 -0
  493. data/lib/kube-dsl/dsl/rbac/v1alpha1/subject.rb +18 -0
  494. data/lib/kube-dsl/dsl/rbac/v1alpha1.rb +14 -0
  495. data/lib/kube-dsl/dsl/rbac/v1beta1/aggregation_rule.rb +15 -0
  496. data/lib/kube-dsl/dsl/rbac/v1beta1/cluster_role.rb +21 -0
  497. data/lib/kube-dsl/dsl/rbac/v1beta1/cluster_role_binding.rb +21 -0
  498. data/lib/kube-dsl/dsl/rbac/v1beta1/cluster_role_binding_list.rb +19 -0
  499. data/lib/kube-dsl/dsl/rbac/v1beta1/cluster_role_list.rb +19 -0
  500. data/lib/kube-dsl/dsl/rbac/v1beta1/policy_rule.rb +23 -0
  501. data/lib/kube-dsl/dsl/rbac/v1beta1/role.rb +19 -0
  502. data/lib/kube-dsl/dsl/rbac/v1beta1/role_binding.rb +21 -0
  503. data/lib/kube-dsl/dsl/rbac/v1beta1/role_binding_list.rb +19 -0
  504. data/lib/kube-dsl/dsl/rbac/v1beta1/role_list.rb +19 -0
  505. data/lib/kube-dsl/dsl/rbac/v1beta1/role_ref.rb +17 -0
  506. data/lib/kube-dsl/dsl/rbac/v1beta1/subject.rb +18 -0
  507. data/lib/kube-dsl/dsl/rbac/v1beta1.rb +14 -0
  508. data/lib/kube-dsl/dsl/rbac.rb +5 -0
  509. data/lib/kube-dsl/dsl/scheduling/v1/priority_class.rb +22 -0
  510. data/lib/kube-dsl/dsl/scheduling/v1/priority_class_list.rb +19 -0
  511. data/lib/kube-dsl/dsl/scheduling/v1.rb +4 -0
  512. data/lib/kube-dsl/dsl/scheduling/v1alpha1/priority_class.rb +22 -0
  513. data/lib/kube-dsl/dsl/scheduling/v1alpha1/priority_class_list.rb +19 -0
  514. data/lib/kube-dsl/dsl/scheduling/v1alpha1.rb +4 -0
  515. data/lib/kube-dsl/dsl/scheduling/v1beta1/priority_class.rb +22 -0
  516. data/lib/kube-dsl/dsl/scheduling/v1beta1/priority_class_list.rb +19 -0
  517. data/lib/kube-dsl/dsl/scheduling/v1beta1.rb +4 -0
  518. data/lib/kube-dsl/dsl/scheduling.rb +5 -0
  519. data/lib/kube-dsl/dsl/settings/v1alpha1/pod_preset.rb +19 -0
  520. data/lib/kube-dsl/dsl/settings/v1alpha1/pod_preset_list.rb +19 -0
  521. data/lib/kube-dsl/dsl/settings/v1alpha1/pod_preset_spec.rb +23 -0
  522. data/lib/kube-dsl/dsl/settings/v1alpha1.rb +5 -0
  523. data/lib/kube-dsl/dsl/settings.rb +3 -0
  524. data/lib/kube-dsl/dsl/storage/v1/csi_node.rb +19 -0
  525. data/lib/kube-dsl/dsl/storage/v1/csi_node_driver.rb +20 -0
  526. data/lib/kube-dsl/dsl/storage/v1/csi_node_list.rb +19 -0
  527. data/lib/kube-dsl/dsl/storage/v1/csi_node_spec.rb +15 -0
  528. data/lib/kube-dsl/dsl/storage/v1/storage_class.rb +28 -0
  529. data/lib/kube-dsl/dsl/storage/v1/storage_class_list.rb +19 -0
  530. data/lib/kube-dsl/dsl/storage/v1/volume_attachment.rb +21 -0
  531. data/lib/kube-dsl/dsl/storage/v1/volume_attachment_list.rb +19 -0
  532. data/lib/kube-dsl/dsl/storage/v1/volume_attachment_source.rb +17 -0
  533. data/lib/kube-dsl/dsl/storage/v1/volume_attachment_spec.rb +18 -0
  534. data/lib/kube-dsl/dsl/storage/v1/volume_attachment_status.rb +21 -0
  535. data/lib/kube-dsl/dsl/storage/v1/volume_error.rb +16 -0
  536. data/lib/kube-dsl/dsl/storage/v1/volume_node_resources.rb +15 -0
  537. data/lib/kube-dsl/dsl/storage/v1.rb +15 -0
  538. data/lib/kube-dsl/dsl/storage/v1alpha1/volume_attachment.rb +21 -0
  539. data/lib/kube-dsl/dsl/storage/v1alpha1/volume_attachment_list.rb +19 -0
  540. data/lib/kube-dsl/dsl/storage/v1alpha1/volume_attachment_source.rb +17 -0
  541. data/lib/kube-dsl/dsl/storage/v1alpha1/volume_attachment_spec.rb +18 -0
  542. data/lib/kube-dsl/dsl/storage/v1alpha1/volume_attachment_status.rb +21 -0
  543. data/lib/kube-dsl/dsl/storage/v1alpha1/volume_error.rb +16 -0
  544. data/lib/kube-dsl/dsl/storage/v1alpha1.rb +8 -0
  545. data/lib/kube-dsl/dsl/storage/v1beta1/csi_driver.rb +19 -0
  546. data/lib/kube-dsl/dsl/storage/v1beta1/csi_driver_list.rb +19 -0
  547. data/lib/kube-dsl/dsl/storage/v1beta1/csi_driver_spec.rb +18 -0
  548. data/lib/kube-dsl/dsl/storage/v1beta1/csi_node.rb +19 -0
  549. data/lib/kube-dsl/dsl/storage/v1beta1/csi_node_driver.rb +20 -0
  550. data/lib/kube-dsl/dsl/storage/v1beta1/csi_node_list.rb +19 -0
  551. data/lib/kube-dsl/dsl/storage/v1beta1/csi_node_spec.rb +15 -0
  552. data/lib/kube-dsl/dsl/storage/v1beta1/storage_class.rb +28 -0
  553. data/lib/kube-dsl/dsl/storage/v1beta1/storage_class_list.rb +19 -0
  554. data/lib/kube-dsl/dsl/storage/v1beta1/volume_attachment.rb +21 -0
  555. data/lib/kube-dsl/dsl/storage/v1beta1/volume_attachment_list.rb +19 -0
  556. data/lib/kube-dsl/dsl/storage/v1beta1/volume_attachment_source.rb +17 -0
  557. data/lib/kube-dsl/dsl/storage/v1beta1/volume_attachment_spec.rb +18 -0
  558. data/lib/kube-dsl/dsl/storage/v1beta1/volume_attachment_status.rb +21 -0
  559. data/lib/kube-dsl/dsl/storage/v1beta1/volume_error.rb +16 -0
  560. data/lib/kube-dsl/dsl/storage/v1beta1/volume_node_resources.rb +15 -0
  561. data/lib/kube-dsl/dsl/storage/v1beta1.rb +18 -0
  562. data/lib/kube-dsl/dsl/storage.rb +5 -0
  563. data/lib/kube-dsl/dsl/v1/affinity.rb +19 -0
  564. data/lib/kube-dsl/dsl/v1/attached_volume.rb +16 -0
  565. data/lib/kube-dsl/dsl/v1/aws_elastic_block_store_volume_source.rb +18 -0
  566. data/lib/kube-dsl/dsl/v1/azure_disk_volume_source.rb +20 -0
  567. data/lib/kube-dsl/dsl/v1/azure_file_persistent_volume_source.rb +18 -0
  568. data/lib/kube-dsl/dsl/v1/azure_file_volume_source.rb +17 -0
  569. data/lib/kube-dsl/dsl/v1/binding.rb +19 -0
  570. data/lib/kube-dsl/dsl/v1/capabilities.rb +17 -0
  571. data/lib/kube-dsl/dsl/v1/ceph_fs_persistent_volume_source.rb +22 -0
  572. data/lib/kube-dsl/dsl/v1/ceph_fs_volume_source.rb +22 -0
  573. data/lib/kube-dsl/dsl/v1/cinder_persistent_volume_source.rb +19 -0
  574. data/lib/kube-dsl/dsl/v1/cinder_volume_source.rb +19 -0
  575. data/lib/kube-dsl/dsl/v1/client_ip_config.rb +15 -0
  576. data/lib/kube-dsl/dsl/v1/component_condition.rb +18 -0
  577. data/lib/kube-dsl/dsl/v1/component_status.rb +19 -0
  578. data/lib/kube-dsl/dsl/v1/component_status_list.rb +19 -0
  579. data/lib/kube-dsl/dsl/v1/config_map.rb +21 -0
  580. data/lib/kube-dsl/dsl/v1/config_map_env_source.rb +16 -0
  581. data/lib/kube-dsl/dsl/v1/config_map_key_selector.rb +17 -0
  582. data/lib/kube-dsl/dsl/v1/config_map_list.rb +19 -0
  583. data/lib/kube-dsl/dsl/v1/config_map_node_config_source.rb +19 -0
  584. data/lib/kube-dsl/dsl/v1/config_map_projection.rb +18 -0
  585. data/lib/kube-dsl/dsl/v1/config_map_volume_source.rb +19 -0
  586. data/lib/kube-dsl/dsl/v1/container.rb +49 -0
  587. data/lib/kube-dsl/dsl/v1/container_image.rb +17 -0
  588. data/lib/kube-dsl/dsl/v1/container_port.rb +19 -0
  589. data/lib/kube-dsl/dsl/v1/container_state.rb +19 -0
  590. data/lib/kube-dsl/dsl/v1/container_state_running.rb +15 -0
  591. data/lib/kube-dsl/dsl/v1/container_state_terminated.rb +21 -0
  592. data/lib/kube-dsl/dsl/v1/container_state_waiting.rb +16 -0
  593. data/lib/kube-dsl/dsl/v1/container_status.rb +25 -0
  594. data/lib/kube-dsl/dsl/v1/csi_persistent_volume_source.rb +28 -0
  595. data/lib/kube-dsl/dsl/v1/csi_volume_source.rb +21 -0
  596. data/lib/kube-dsl/dsl/v1/daemon_endpoint.rb +15 -0
  597. data/lib/kube-dsl/dsl/v1/downward_api_projection.rb +15 -0
  598. data/lib/kube-dsl/dsl/v1/downward_api_volume_file.rb +20 -0
  599. data/lib/kube-dsl/dsl/v1/downward_api_volume_source.rb +17 -0
  600. data/lib/kube-dsl/dsl/v1/empty_dir_volume_source.rb +16 -0
  601. data/lib/kube-dsl/dsl/v1/endpoint_address.rb +19 -0
  602. data/lib/kube-dsl/dsl/v1/endpoint_port.rb +17 -0
  603. data/lib/kube-dsl/dsl/v1/endpoint_subset.rb +19 -0
  604. data/lib/kube-dsl/dsl/v1/endpoints.rb +19 -0
  605. data/lib/kube-dsl/dsl/v1/endpoints_list.rb +19 -0
  606. data/lib/kube-dsl/dsl/v1/env_from_source.rb +19 -0
  607. data/lib/kube-dsl/dsl/v1/env_var.rb +18 -0
  608. data/lib/kube-dsl/dsl/v1/env_var_source.rb +21 -0
  609. data/lib/kube-dsl/dsl/v1/ephemeral_container.rb +50 -0
  610. data/lib/kube-dsl/dsl/v1/event.rb +36 -0
  611. data/lib/kube-dsl/dsl/v1/event_list.rb +19 -0
  612. data/lib/kube-dsl/dsl/v1/event_series.rb +17 -0
  613. data/lib/kube-dsl/dsl/v1/event_source.rb +16 -0
  614. data/lib/kube-dsl/dsl/v1/exec_action.rb +15 -0
  615. data/lib/kube-dsl/dsl/v1/fc_volume_source.rb +21 -0
  616. data/lib/kube-dsl/dsl/v1/flex_persistent_volume_source.rb +21 -0
  617. data/lib/kube-dsl/dsl/v1/flex_volume_source.rb +21 -0
  618. data/lib/kube-dsl/dsl/v1/flocker_volume_source.rb +16 -0
  619. data/lib/kube-dsl/dsl/v1/gce_persistent_disk_volume_source.rb +18 -0
  620. data/lib/kube-dsl/dsl/v1/git_repo_volume_source.rb +17 -0
  621. data/lib/kube-dsl/dsl/v1/glusterfs_persistent_volume_source.rb +18 -0
  622. data/lib/kube-dsl/dsl/v1/glusterfs_volume_source.rb +17 -0
  623. data/lib/kube-dsl/dsl/v1/handler.rb +19 -0
  624. data/lib/kube-dsl/dsl/v1/host_alias.rb +17 -0
  625. data/lib/kube-dsl/dsl/v1/host_path_volume_source.rb +16 -0
  626. data/lib/kube-dsl/dsl/v1/http_get_action.rb +20 -0
  627. data/lib/kube-dsl/dsl/v1/http_header.rb +16 -0
  628. data/lib/kube-dsl/dsl/v1/iscsi_persistent_volume_source.rb +27 -0
  629. data/lib/kube-dsl/dsl/v1/iscsi_volume_source.rb +27 -0
  630. data/lib/kube-dsl/dsl/v1/key_to_path.rb +17 -0
  631. data/lib/kube-dsl/dsl/v1/lifecycle.rb +17 -0
  632. data/lib/kube-dsl/dsl/v1/limit_range.rb +19 -0
  633. data/lib/kube-dsl/dsl/v1/limit_range_item.rb +25 -0
  634. data/lib/kube-dsl/dsl/v1/limit_range_list.rb +19 -0
  635. data/lib/kube-dsl/dsl/v1/limit_range_spec.rb +15 -0
  636. data/lib/kube-dsl/dsl/v1/load_balancer_ingress.rb +16 -0
  637. data/lib/kube-dsl/dsl/v1/load_balancer_status.rb +15 -0
  638. data/lib/kube-dsl/dsl/v1/local_object_reference.rb +15 -0
  639. data/lib/kube-dsl/dsl/v1/local_volume_source.rb +16 -0
  640. data/lib/kube-dsl/dsl/v1/namespace.rb +21 -0
  641. data/lib/kube-dsl/dsl/v1/namespace_condition.rb +19 -0
  642. data/lib/kube-dsl/dsl/v1/namespace_list.rb +19 -0
  643. data/lib/kube-dsl/dsl/v1/namespace_spec.rb +15 -0
  644. data/lib/kube-dsl/dsl/v1/namespace_status.rb +17 -0
  645. data/lib/kube-dsl/dsl/v1/nfs_volume_source.rb +17 -0
  646. data/lib/kube-dsl/dsl/v1/node.rb +21 -0
  647. data/lib/kube-dsl/dsl/v1/node_address.rb +16 -0
  648. data/lib/kube-dsl/dsl/v1/node_affinity.rb +17 -0
  649. data/lib/kube-dsl/dsl/v1/node_condition.rb +20 -0
  650. data/lib/kube-dsl/dsl/v1/node_config_source.rb +15 -0
  651. data/lib/kube-dsl/dsl/v1/node_config_status.rb +21 -0
  652. data/lib/kube-dsl/dsl/v1/node_daemon_endpoints.rb +15 -0
  653. data/lib/kube-dsl/dsl/v1/node_list.rb +19 -0
  654. data/lib/kube-dsl/dsl/v1/node_selector.rb +15 -0
  655. data/lib/kube-dsl/dsl/v1/node_selector_requirement.rb +18 -0
  656. data/lib/kube-dsl/dsl/v1/node_selector_term.rb +17 -0
  657. data/lib/kube-dsl/dsl/v1/node_spec.rb +24 -0
  658. data/lib/kube-dsl/dsl/v1/node_status.rb +35 -0
  659. data/lib/kube-dsl/dsl/v1/node_system_info.rb +24 -0
  660. data/lib/kube-dsl/dsl/v1/object_field_selector.rb +16 -0
  661. data/lib/kube-dsl/dsl/v1/object_reference.rb +21 -0
  662. data/lib/kube-dsl/dsl/v1/persistent_volume.rb +21 -0
  663. data/lib/kube-dsl/dsl/v1/persistent_volume_claim.rb +21 -0
  664. data/lib/kube-dsl/dsl/v1/persistent_volume_claim_condition.rb +20 -0
  665. data/lib/kube-dsl/dsl/v1/persistent_volume_claim_list.rb +19 -0
  666. data/lib/kube-dsl/dsl/v1/persistent_volume_claim_spec.rb +25 -0
  667. data/lib/kube-dsl/dsl/v1/persistent_volume_claim_status.rb +21 -0
  668. data/lib/kube-dsl/dsl/v1/persistent_volume_claim_volume_source.rb +16 -0
  669. data/lib/kube-dsl/dsl/v1/persistent_volume_list.rb +19 -0
  670. data/lib/kube-dsl/dsl/v1/persistent_volume_spec.rb +71 -0
  671. data/lib/kube-dsl/dsl/v1/persistent_volume_status.rb +17 -0
  672. data/lib/kube-dsl/dsl/v1/photon_persistent_disk_volume_source.rb +16 -0
  673. data/lib/kube-dsl/dsl/v1/pod.rb +21 -0
  674. data/lib/kube-dsl/dsl/v1/pod_affinity.rb +17 -0
  675. data/lib/kube-dsl/dsl/v1/pod_affinity_term.rb +19 -0
  676. data/lib/kube-dsl/dsl/v1/pod_anti_affinity.rb +17 -0
  677. data/lib/kube-dsl/dsl/v1/pod_condition.rb +20 -0
  678. data/lib/kube-dsl/dsl/v1/pod_dns_config.rb +19 -0
  679. data/lib/kube-dsl/dsl/v1/pod_dns_config_option.rb +16 -0
  680. data/lib/kube-dsl/dsl/v1/pod_ip.rb +15 -0
  681. data/lib/kube-dsl/dsl/v1/pod_list.rb +19 -0
  682. data/lib/kube-dsl/dsl/v1/pod_readiness_gate.rb +15 -0
  683. data/lib/kube-dsl/dsl/v1/pod_security_context.rb +26 -0
  684. data/lib/kube-dsl/dsl/v1/pod_spec.rb +62 -0
  685. data/lib/kube-dsl/dsl/v1/pod_status.rb +32 -0
  686. data/lib/kube-dsl/dsl/v1/pod_template.rb +19 -0
  687. data/lib/kube-dsl/dsl/v1/pod_template_list.rb +19 -0
  688. data/lib/kube-dsl/dsl/v1/pod_template_spec.rb +17 -0
  689. data/lib/kube-dsl/dsl/v1/portworx_volume_source.rb +17 -0
  690. data/lib/kube-dsl/dsl/v1/preferred_scheduling_term.rb +17 -0
  691. data/lib/kube-dsl/dsl/v1/probe.rb +25 -0
  692. data/lib/kube-dsl/dsl/v1/projected_volume_source.rb +17 -0
  693. data/lib/kube-dsl/dsl/v1/quobyte_volume_source.rb +20 -0
  694. data/lib/kube-dsl/dsl/v1/rbd_persistent_volume_source.rb +24 -0
  695. data/lib/kube-dsl/dsl/v1/rbd_volume_source.rb +24 -0
  696. data/lib/kube-dsl/dsl/v1/replication_controller.rb +21 -0
  697. data/lib/kube-dsl/dsl/v1/replication_controller_condition.rb +19 -0
  698. data/lib/kube-dsl/dsl/v1/replication_controller_list.rb +19 -0
  699. data/lib/kube-dsl/dsl/v1/replication_controller_spec.rb +20 -0
  700. data/lib/kube-dsl/dsl/v1/replication_controller_status.rb +21 -0
  701. data/lib/kube-dsl/dsl/v1/resource_field_selector.rb +17 -0
  702. data/lib/kube-dsl/dsl/v1/resource_quota.rb +21 -0
  703. data/lib/kube-dsl/dsl/v1/resource_quota_list.rb +19 -0
  704. data/lib/kube-dsl/dsl/v1/resource_quota_spec.rb +19 -0
  705. data/lib/kube-dsl/dsl/v1/resource_quota_status.rb +17 -0
  706. data/lib/kube-dsl/dsl/v1/resource_requirements.rb +17 -0
  707. data/lib/kube-dsl/dsl/v1/scale_io_persistent_volume_source.rb +25 -0
  708. data/lib/kube-dsl/dsl/v1/scale_io_volume_source.rb +25 -0
  709. data/lib/kube-dsl/dsl/v1/scope_selector.rb +15 -0
  710. data/lib/kube-dsl/dsl/v1/scoped_resource_selector_requirement.rb +18 -0
  711. data/lib/kube-dsl/dsl/v1/se_linux_options.rb +18 -0
  712. data/lib/kube-dsl/dsl/v1/secret.rb +23 -0
  713. data/lib/kube-dsl/dsl/v1/secret_env_source.rb +16 -0
  714. data/lib/kube-dsl/dsl/v1/secret_key_selector.rb +17 -0
  715. data/lib/kube-dsl/dsl/v1/secret_list.rb +19 -0
  716. data/lib/kube-dsl/dsl/v1/secret_projection.rb +18 -0
  717. data/lib/kube-dsl/dsl/v1/secret_reference.rb +16 -0
  718. data/lib/kube-dsl/dsl/v1/secret_volume_source.rb +19 -0
  719. data/lib/kube-dsl/dsl/v1/security_context.rb +27 -0
  720. data/lib/kube-dsl/dsl/v1/service.rb +21 -0
  721. data/lib/kube-dsl/dsl/v1/service_account.rb +23 -0
  722. data/lib/kube-dsl/dsl/v1/service_account_list.rb +19 -0
  723. data/lib/kube-dsl/dsl/v1/service_account_token_projection.rb +17 -0
  724. data/lib/kube-dsl/dsl/v1/service_list.rb +19 -0
  725. data/lib/kube-dsl/dsl/v1/service_port.rb +19 -0
  726. data/lib/kube-dsl/dsl/v1/service_spec.rb +35 -0
  727. data/lib/kube-dsl/dsl/v1/service_status.rb +15 -0
  728. data/lib/kube-dsl/dsl/v1/session_affinity_config.rb +15 -0
  729. data/lib/kube-dsl/dsl/v1/storage_os_persistent_volume_source.rb +20 -0
  730. data/lib/kube-dsl/dsl/v1/storage_os_volume_source.rb +20 -0
  731. data/lib/kube-dsl/dsl/v1/sysctl.rb +16 -0
  732. data/lib/kube-dsl/dsl/v1/taint.rb +18 -0
  733. data/lib/kube-dsl/dsl/v1/tcp_socket_action.rb +16 -0
  734. data/lib/kube-dsl/dsl/v1/toleration.rb +19 -0
  735. data/lib/kube-dsl/dsl/v1/topology_selector_label_requirement.rb +17 -0
  736. data/lib/kube-dsl/dsl/v1/topology_selector_term.rb +15 -0
  737. data/lib/kube-dsl/dsl/v1/topology_spread_constraint.rb +19 -0
  738. data/lib/kube-dsl/dsl/v1/typed_local_object_reference.rb +17 -0
  739. data/lib/kube-dsl/dsl/v1/volume.rb +71 -0
  740. data/lib/kube-dsl/dsl/v1/volume_device.rb +16 -0
  741. data/lib/kube-dsl/dsl/v1/volume_mount.rb +20 -0
  742. data/lib/kube-dsl/dsl/v1/volume_node_affinity.rb +15 -0
  743. data/lib/kube-dsl/dsl/v1/volume_projection.rb +21 -0
  744. data/lib/kube-dsl/dsl/v1/vsphere_virtual_disk_volume_source.rb +18 -0
  745. data/lib/kube-dsl/dsl/v1/weighted_pod_affinity_term.rb +17 -0
  746. data/lib/kube-dsl/dsl/v1/windows_security_context_options.rb +17 -0
  747. data/lib/kube-dsl/dsl/v1.rb +186 -0
  748. data/lib/kube-dsl/dsl.rb +27 -0
  749. data/lib/kube-dsl/dsl_object.rb +13 -0
  750. data/lib/kube-dsl/entrypoint.rb +1345 -0
  751. data/lib/kube-dsl/external_ref.rb +16 -0
  752. data/lib/kube-dsl/external_resource_meta.rb +13 -0
  753. data/lib/kube-dsl/generator.rb +48 -0
  754. data/lib/kube-dsl/inflector.rb +25 -0
  755. data/lib/kube-dsl/key_value_fields.rb +45 -0
  756. data/lib/kube-dsl/ref.rb +84 -0
  757. data/lib/kube-dsl/resource.rb +41 -0
  758. data/lib/kube-dsl/resource_meta.rb +122 -0
  759. data/lib/kube-dsl/string_helpers.rb +17 -0
  760. data/lib/kube-dsl/value_fields.rb +78 -0
  761. data/lib/kube-dsl/version.rb +3 -0
  762. data/lib/kube-dsl.rb +20 -0
  763. metadata +817 -0
@@ -0,0 +1,71 @@
1
+ module KubeDSL::DSL::V1
2
+ class Volume < ::KubeDSL::DSLObject
3
+ value_fields :name
4
+ object_field(:aws_elastic_block_store) { KubeDSL::DSL::V1::AWSElasticBlockStoreVolumeSource.new }
5
+ object_field(:azure_disk) { KubeDSL::DSL::V1::AzureDiskVolumeSource.new }
6
+ object_field(:azure_file) { KubeDSL::DSL::V1::AzureFileVolumeSource.new }
7
+ object_field(:cephfs) { KubeDSL::DSL::V1::CephFSVolumeSource.new }
8
+ object_field(:cinder) { KubeDSL::DSL::V1::CinderVolumeSource.new }
9
+ object_field(:config_map) { KubeDSL::DSL::V1::ConfigMapVolumeSource.new }
10
+ object_field(:csi) { KubeDSL::DSL::V1::CSIVolumeSource.new }
11
+ object_field(:downward_api) { KubeDSL::DSL::V1::DownwardAPIVolumeSource.new }
12
+ object_field(:empty_dir) { KubeDSL::DSL::V1::EmptyDirVolumeSource.new }
13
+ object_field(:fc) { KubeDSL::DSL::V1::FCVolumeSource.new }
14
+ object_field(:flex_volume) { KubeDSL::DSL::V1::FlexVolumeSource.new }
15
+ object_field(:flocker) { KubeDSL::DSL::V1::FlockerVolumeSource.new }
16
+ object_field(:gce_persistent_disk) { KubeDSL::DSL::V1::GCEPersistentDiskVolumeSource.new }
17
+ object_field(:git_repo) { KubeDSL::DSL::V1::GitRepoVolumeSource.new }
18
+ object_field(:glusterfs) { KubeDSL::DSL::V1::GlusterfsVolumeSource.new }
19
+ object_field(:host_path) { KubeDSL::DSL::V1::HostPathVolumeSource.new }
20
+ object_field(:iscsi) { KubeDSL::DSL::V1::ISCSIVolumeSource.new }
21
+ object_field(:nfs) { KubeDSL::DSL::V1::NFSVolumeSource.new }
22
+ object_field(:persistent_volume_claim) { KubeDSL::DSL::V1::PersistentVolumeClaimVolumeSource.new }
23
+ object_field(:photon_persistent_disk) { KubeDSL::DSL::V1::PhotonPersistentDiskVolumeSource.new }
24
+ object_field(:portworx_volume) { KubeDSL::DSL::V1::PortworxVolumeSource.new }
25
+ object_field(:projected) { KubeDSL::DSL::V1::ProjectedVolumeSource.new }
26
+ object_field(:quobyte) { KubeDSL::DSL::V1::QuobyteVolumeSource.new }
27
+ object_field(:rbd) { KubeDSL::DSL::V1::RBDVolumeSource.new }
28
+ object_field(:scale_io) { KubeDSL::DSL::V1::ScaleIOVolumeSource.new }
29
+ object_field(:secret) { KubeDSL::DSL::V1::SecretVolumeSource.new }
30
+ object_field(:storageos) { KubeDSL::DSL::V1::StorageOSVolumeSource.new }
31
+ object_field(:vsphere_volume) { KubeDSL::DSL::V1::VsphereVirtualDiskVolumeSource.new }
32
+
33
+ def serialize
34
+ {}.tap do |result|
35
+ result[:name] = name
36
+ result[:awsElasticBlockStore] = aws_elastic_block_store.serialize
37
+ result[:azureDisk] = azure_disk.serialize
38
+ result[:azureFile] = azure_file.serialize
39
+ result[:cephfs] = cephfs.serialize
40
+ result[:cinder] = cinder.serialize
41
+ result[:configMap] = config_map.serialize
42
+ result[:csi] = csi.serialize
43
+ result[:downwardAPI] = downward_api.serialize
44
+ result[:emptyDir] = empty_dir.serialize
45
+ result[:fc] = fc.serialize
46
+ result[:flexVolume] = flex_volume.serialize
47
+ result[:flocker] = flocker.serialize
48
+ result[:gcePersistentDisk] = gce_persistent_disk.serialize
49
+ result[:gitRepo] = git_repo.serialize
50
+ result[:glusterfs] = glusterfs.serialize
51
+ result[:hostPath] = host_path.serialize
52
+ result[:iscsi] = iscsi.serialize
53
+ result[:nfs] = nfs.serialize
54
+ result[:persistentVolumeClaim] = persistent_volume_claim.serialize
55
+ result[:photonPersistentDisk] = photon_persistent_disk.serialize
56
+ result[:portworxVolume] = portworx_volume.serialize
57
+ result[:projected] = projected.serialize
58
+ result[:quobyte] = quobyte.serialize
59
+ result[:rbd] = rbd.serialize
60
+ result[:scaleIO] = scale_io.serialize
61
+ result[:secret] = secret.serialize
62
+ result[:storageos] = storageos.serialize
63
+ result[:vsphereVolume] = vsphere_volume.serialize
64
+ end
65
+ end
66
+
67
+ def kind_sym
68
+ :volume
69
+ end
70
+ end
71
+ end
@@ -0,0 +1,16 @@
1
+ module KubeDSL::DSL::V1
2
+ class VolumeDevice < ::KubeDSL::DSLObject
3
+ value_fields :device_path, :name
4
+
5
+ def serialize
6
+ {}.tap do |result|
7
+ result[:devicePath] = device_path
8
+ result[:name] = name
9
+ end
10
+ end
11
+
12
+ def kind_sym
13
+ :volume_device
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,20 @@
1
+ module KubeDSL::DSL::V1
2
+ class VolumeMount < ::KubeDSL::DSLObject
3
+ value_fields :mount_path, :mount_propagation, :name, :read_only, :sub_path, :sub_path_expr
4
+
5
+ def serialize
6
+ {}.tap do |result|
7
+ result[:mountPath] = mount_path
8
+ result[:mountPropagation] = mount_propagation
9
+ result[:name] = name
10
+ result[:readOnly] = read_only
11
+ result[:subPath] = sub_path
12
+ result[:subPathExpr] = sub_path_expr
13
+ end
14
+ end
15
+
16
+ def kind_sym
17
+ :volume_mount
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,15 @@
1
+ module KubeDSL::DSL::V1
2
+ class VolumeNodeAffinity < ::KubeDSL::DSLObject
3
+ object_field(:required) { KubeDSL::DSL::V1::NodeSelector.new }
4
+
5
+ def serialize
6
+ {}.tap do |result|
7
+ result[:required] = required.serialize
8
+ end
9
+ end
10
+
11
+ def kind_sym
12
+ :volume_node_affinity
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,21 @@
1
+ module KubeDSL::DSL::V1
2
+ class VolumeProjection < ::KubeDSL::DSLObject
3
+ object_field(:config_map) { KubeDSL::DSL::V1::ConfigMapProjection.new }
4
+ object_field(:downward_api) { KubeDSL::DSL::V1::DownwardAPIProjection.new }
5
+ object_field(:secret) { KubeDSL::DSL::V1::SecretProjection.new }
6
+ object_field(:service_account_token) { KubeDSL::DSL::V1::ServiceAccountTokenProjection.new }
7
+
8
+ def serialize
9
+ {}.tap do |result|
10
+ result[:configMap] = config_map.serialize
11
+ result[:downwardAPI] = downward_api.serialize
12
+ result[:secret] = secret.serialize
13
+ result[:serviceAccountToken] = service_account_token.serialize
14
+ end
15
+ end
16
+
17
+ def kind_sym
18
+ :volume_projection
19
+ end
20
+ end
21
+ end
@@ -0,0 +1,18 @@
1
+ module KubeDSL::DSL::V1
2
+ class VsphereVirtualDiskVolumeSource < ::KubeDSL::DSLObject
3
+ value_fields :fs_type, :storage_policy_id, :storage_policy_name, :volume_path
4
+
5
+ def serialize
6
+ {}.tap do |result|
7
+ result[:fsType] = fs_type
8
+ result[:storagePolicyID] = storage_policy_id
9
+ result[:storagePolicyName] = storage_policy_name
10
+ result[:volumePath] = volume_path
11
+ end
12
+ end
13
+
14
+ def kind_sym
15
+ :vsphere_virtual_disk_volume_source
16
+ end
17
+ end
18
+ end
@@ -0,0 +1,17 @@
1
+ module KubeDSL::DSL::V1
2
+ class WeightedPodAffinityTerm < ::KubeDSL::DSLObject
3
+ value_fields :weight
4
+ object_field(:pod_affinity_term) { KubeDSL::DSL::V1::PodAffinityTerm.new }
5
+
6
+ def serialize
7
+ {}.tap do |result|
8
+ result[:weight] = weight
9
+ result[:podAffinityTerm] = pod_affinity_term.serialize
10
+ end
11
+ end
12
+
13
+ def kind_sym
14
+ :weighted_pod_affinity_term
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,17 @@
1
+ module KubeDSL::DSL::V1
2
+ class WindowsSecurityContextOptions < ::KubeDSL::DSLObject
3
+ value_fields :gmsa_credential_spec, :gmsa_credential_spec_name, :run_as_user_name
4
+
5
+ def serialize
6
+ {}.tap do |result|
7
+ result[:gmsaCredentialSpec] = gmsa_credential_spec
8
+ result[:gmsaCredentialSpecName] = gmsa_credential_spec_name
9
+ result[:runAsUserName] = run_as_user_name
10
+ end
11
+ end
12
+
13
+ def kind_sym
14
+ :windows_security_context_options
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,186 @@
1
+ module KubeDSL::DSL::V1
2
+ autoload :AWSElasticBlockStoreVolumeSource, 'kube-dsl/dsl/v1/aws_elastic_block_store_volume_source'
3
+ autoload :Affinity, 'kube-dsl/dsl/v1/affinity'
4
+ autoload :AttachedVolume, 'kube-dsl/dsl/v1/attached_volume'
5
+ autoload :AzureDiskVolumeSource, 'kube-dsl/dsl/v1/azure_disk_volume_source'
6
+ autoload :AzureFilePersistentVolumeSource, 'kube-dsl/dsl/v1/azure_file_persistent_volume_source'
7
+ autoload :AzureFileVolumeSource, 'kube-dsl/dsl/v1/azure_file_volume_source'
8
+ autoload :Binding, 'kube-dsl/dsl/v1/binding'
9
+ autoload :CSIPersistentVolumeSource, 'kube-dsl/dsl/v1/csi_persistent_volume_source'
10
+ autoload :CSIVolumeSource, 'kube-dsl/dsl/v1/csi_volume_source'
11
+ autoload :Capabilities, 'kube-dsl/dsl/v1/capabilities'
12
+ autoload :CephFSPersistentVolumeSource, 'kube-dsl/dsl/v1/ceph_fs_persistent_volume_source'
13
+ autoload :CephFSVolumeSource, 'kube-dsl/dsl/v1/ceph_fs_volume_source'
14
+ autoload :CinderPersistentVolumeSource, 'kube-dsl/dsl/v1/cinder_persistent_volume_source'
15
+ autoload :CinderVolumeSource, 'kube-dsl/dsl/v1/cinder_volume_source'
16
+ autoload :ClientIPConfig, 'kube-dsl/dsl/v1/client_ip_config'
17
+ autoload :ComponentCondition, 'kube-dsl/dsl/v1/component_condition'
18
+ autoload :ComponentStatus, 'kube-dsl/dsl/v1/component_status'
19
+ autoload :ComponentStatusList, 'kube-dsl/dsl/v1/component_status_list'
20
+ autoload :ConfigMap, 'kube-dsl/dsl/v1/config_map'
21
+ autoload :ConfigMapEnvSource, 'kube-dsl/dsl/v1/config_map_env_source'
22
+ autoload :ConfigMapKeySelector, 'kube-dsl/dsl/v1/config_map_key_selector'
23
+ autoload :ConfigMapList, 'kube-dsl/dsl/v1/config_map_list'
24
+ autoload :ConfigMapNodeConfigSource, 'kube-dsl/dsl/v1/config_map_node_config_source'
25
+ autoload :ConfigMapProjection, 'kube-dsl/dsl/v1/config_map_projection'
26
+ autoload :ConfigMapVolumeSource, 'kube-dsl/dsl/v1/config_map_volume_source'
27
+ autoload :Container, 'kube-dsl/dsl/v1/container'
28
+ autoload :ContainerImage, 'kube-dsl/dsl/v1/container_image'
29
+ autoload :ContainerPort, 'kube-dsl/dsl/v1/container_port'
30
+ autoload :ContainerState, 'kube-dsl/dsl/v1/container_state'
31
+ autoload :ContainerStateRunning, 'kube-dsl/dsl/v1/container_state_running'
32
+ autoload :ContainerStateTerminated, 'kube-dsl/dsl/v1/container_state_terminated'
33
+ autoload :ContainerStateWaiting, 'kube-dsl/dsl/v1/container_state_waiting'
34
+ autoload :ContainerStatus, 'kube-dsl/dsl/v1/container_status'
35
+ autoload :DaemonEndpoint, 'kube-dsl/dsl/v1/daemon_endpoint'
36
+ autoload :DownwardAPIProjection, 'kube-dsl/dsl/v1/downward_api_projection'
37
+ autoload :DownwardAPIVolumeFile, 'kube-dsl/dsl/v1/downward_api_volume_file'
38
+ autoload :DownwardAPIVolumeSource, 'kube-dsl/dsl/v1/downward_api_volume_source'
39
+ autoload :EmptyDirVolumeSource, 'kube-dsl/dsl/v1/empty_dir_volume_source'
40
+ autoload :EndpointAddress, 'kube-dsl/dsl/v1/endpoint_address'
41
+ autoload :EndpointPort, 'kube-dsl/dsl/v1/endpoint_port'
42
+ autoload :EndpointSubset, 'kube-dsl/dsl/v1/endpoint_subset'
43
+ autoload :Endpoints, 'kube-dsl/dsl/v1/endpoints'
44
+ autoload :EndpointsList, 'kube-dsl/dsl/v1/endpoints_list'
45
+ autoload :EnvFromSource, 'kube-dsl/dsl/v1/env_from_source'
46
+ autoload :EnvVar, 'kube-dsl/dsl/v1/env_var'
47
+ autoload :EnvVarSource, 'kube-dsl/dsl/v1/env_var_source'
48
+ autoload :EphemeralContainer, 'kube-dsl/dsl/v1/ephemeral_container'
49
+ autoload :Event, 'kube-dsl/dsl/v1/event'
50
+ autoload :EventList, 'kube-dsl/dsl/v1/event_list'
51
+ autoload :EventSeries, 'kube-dsl/dsl/v1/event_series'
52
+ autoload :EventSource, 'kube-dsl/dsl/v1/event_source'
53
+ autoload :ExecAction, 'kube-dsl/dsl/v1/exec_action'
54
+ autoload :FCVolumeSource, 'kube-dsl/dsl/v1/fc_volume_source'
55
+ autoload :FlexPersistentVolumeSource, 'kube-dsl/dsl/v1/flex_persistent_volume_source'
56
+ autoload :FlexVolumeSource, 'kube-dsl/dsl/v1/flex_volume_source'
57
+ autoload :FlockerVolumeSource, 'kube-dsl/dsl/v1/flocker_volume_source'
58
+ autoload :GCEPersistentDiskVolumeSource, 'kube-dsl/dsl/v1/gce_persistent_disk_volume_source'
59
+ autoload :GitRepoVolumeSource, 'kube-dsl/dsl/v1/git_repo_volume_source'
60
+ autoload :GlusterfsPersistentVolumeSource, 'kube-dsl/dsl/v1/glusterfs_persistent_volume_source'
61
+ autoload :GlusterfsVolumeSource, 'kube-dsl/dsl/v1/glusterfs_volume_source'
62
+ autoload :HTTPGetAction, 'kube-dsl/dsl/v1/http_get_action'
63
+ autoload :HTTPHeader, 'kube-dsl/dsl/v1/http_header'
64
+ autoload :Handler, 'kube-dsl/dsl/v1/handler'
65
+ autoload :HostAlias, 'kube-dsl/dsl/v1/host_alias'
66
+ autoload :HostPathVolumeSource, 'kube-dsl/dsl/v1/host_path_volume_source'
67
+ autoload :ISCSIPersistentVolumeSource, 'kube-dsl/dsl/v1/iscsi_persistent_volume_source'
68
+ autoload :ISCSIVolumeSource, 'kube-dsl/dsl/v1/iscsi_volume_source'
69
+ autoload :KeyToPath, 'kube-dsl/dsl/v1/key_to_path'
70
+ autoload :Lifecycle, 'kube-dsl/dsl/v1/lifecycle'
71
+ autoload :LimitRange, 'kube-dsl/dsl/v1/limit_range'
72
+ autoload :LimitRangeItem, 'kube-dsl/dsl/v1/limit_range_item'
73
+ autoload :LimitRangeList, 'kube-dsl/dsl/v1/limit_range_list'
74
+ autoload :LimitRangeSpec, 'kube-dsl/dsl/v1/limit_range_spec'
75
+ autoload :LoadBalancerIngress, 'kube-dsl/dsl/v1/load_balancer_ingress'
76
+ autoload :LoadBalancerStatus, 'kube-dsl/dsl/v1/load_balancer_status'
77
+ autoload :LocalObjectReference, 'kube-dsl/dsl/v1/local_object_reference'
78
+ autoload :LocalVolumeSource, 'kube-dsl/dsl/v1/local_volume_source'
79
+ autoload :NFSVolumeSource, 'kube-dsl/dsl/v1/nfs_volume_source'
80
+ autoload :Namespace, 'kube-dsl/dsl/v1/namespace'
81
+ autoload :NamespaceCondition, 'kube-dsl/dsl/v1/namespace_condition'
82
+ autoload :NamespaceList, 'kube-dsl/dsl/v1/namespace_list'
83
+ autoload :NamespaceSpec, 'kube-dsl/dsl/v1/namespace_spec'
84
+ autoload :NamespaceStatus, 'kube-dsl/dsl/v1/namespace_status'
85
+ autoload :Node, 'kube-dsl/dsl/v1/node'
86
+ autoload :NodeAddress, 'kube-dsl/dsl/v1/node_address'
87
+ autoload :NodeAffinity, 'kube-dsl/dsl/v1/node_affinity'
88
+ autoload :NodeCondition, 'kube-dsl/dsl/v1/node_condition'
89
+ autoload :NodeConfigSource, 'kube-dsl/dsl/v1/node_config_source'
90
+ autoload :NodeConfigStatus, 'kube-dsl/dsl/v1/node_config_status'
91
+ autoload :NodeDaemonEndpoints, 'kube-dsl/dsl/v1/node_daemon_endpoints'
92
+ autoload :NodeList, 'kube-dsl/dsl/v1/node_list'
93
+ autoload :NodeSelector, 'kube-dsl/dsl/v1/node_selector'
94
+ autoload :NodeSelectorRequirement, 'kube-dsl/dsl/v1/node_selector_requirement'
95
+ autoload :NodeSelectorTerm, 'kube-dsl/dsl/v1/node_selector_term'
96
+ autoload :NodeSpec, 'kube-dsl/dsl/v1/node_spec'
97
+ autoload :NodeStatus, 'kube-dsl/dsl/v1/node_status'
98
+ autoload :NodeSystemInfo, 'kube-dsl/dsl/v1/node_system_info'
99
+ autoload :ObjectFieldSelector, 'kube-dsl/dsl/v1/object_field_selector'
100
+ autoload :ObjectReference, 'kube-dsl/dsl/v1/object_reference'
101
+ autoload :PersistentVolume, 'kube-dsl/dsl/v1/persistent_volume'
102
+ autoload :PersistentVolumeClaim, 'kube-dsl/dsl/v1/persistent_volume_claim'
103
+ autoload :PersistentVolumeClaimCondition, 'kube-dsl/dsl/v1/persistent_volume_claim_condition'
104
+ autoload :PersistentVolumeClaimList, 'kube-dsl/dsl/v1/persistent_volume_claim_list'
105
+ autoload :PersistentVolumeClaimSpec, 'kube-dsl/dsl/v1/persistent_volume_claim_spec'
106
+ autoload :PersistentVolumeClaimStatus, 'kube-dsl/dsl/v1/persistent_volume_claim_status'
107
+ autoload :PersistentVolumeClaimVolumeSource, 'kube-dsl/dsl/v1/persistent_volume_claim_volume_source'
108
+ autoload :PersistentVolumeList, 'kube-dsl/dsl/v1/persistent_volume_list'
109
+ autoload :PersistentVolumeSpec, 'kube-dsl/dsl/v1/persistent_volume_spec'
110
+ autoload :PersistentVolumeStatus, 'kube-dsl/dsl/v1/persistent_volume_status'
111
+ autoload :PhotonPersistentDiskVolumeSource, 'kube-dsl/dsl/v1/photon_persistent_disk_volume_source'
112
+ autoload :Pod, 'kube-dsl/dsl/v1/pod'
113
+ autoload :PodAffinity, 'kube-dsl/dsl/v1/pod_affinity'
114
+ autoload :PodAffinityTerm, 'kube-dsl/dsl/v1/pod_affinity_term'
115
+ autoload :PodAntiAffinity, 'kube-dsl/dsl/v1/pod_anti_affinity'
116
+ autoload :PodCondition, 'kube-dsl/dsl/v1/pod_condition'
117
+ autoload :PodDNSConfig, 'kube-dsl/dsl/v1/pod_dns_config'
118
+ autoload :PodDNSConfigOption, 'kube-dsl/dsl/v1/pod_dns_config_option'
119
+ autoload :PodIP, 'kube-dsl/dsl/v1/pod_ip'
120
+ autoload :PodList, 'kube-dsl/dsl/v1/pod_list'
121
+ autoload :PodReadinessGate, 'kube-dsl/dsl/v1/pod_readiness_gate'
122
+ autoload :PodSecurityContext, 'kube-dsl/dsl/v1/pod_security_context'
123
+ autoload :PodSpec, 'kube-dsl/dsl/v1/pod_spec'
124
+ autoload :PodStatus, 'kube-dsl/dsl/v1/pod_status'
125
+ autoload :PodTemplate, 'kube-dsl/dsl/v1/pod_template'
126
+ autoload :PodTemplateList, 'kube-dsl/dsl/v1/pod_template_list'
127
+ autoload :PodTemplateSpec, 'kube-dsl/dsl/v1/pod_template_spec'
128
+ autoload :PortworxVolumeSource, 'kube-dsl/dsl/v1/portworx_volume_source'
129
+ autoload :PreferredSchedulingTerm, 'kube-dsl/dsl/v1/preferred_scheduling_term'
130
+ autoload :Probe, 'kube-dsl/dsl/v1/probe'
131
+ autoload :ProjectedVolumeSource, 'kube-dsl/dsl/v1/projected_volume_source'
132
+ autoload :QuobyteVolumeSource, 'kube-dsl/dsl/v1/quobyte_volume_source'
133
+ autoload :RBDPersistentVolumeSource, 'kube-dsl/dsl/v1/rbd_persistent_volume_source'
134
+ autoload :RBDVolumeSource, 'kube-dsl/dsl/v1/rbd_volume_source'
135
+ autoload :ReplicationController, 'kube-dsl/dsl/v1/replication_controller'
136
+ autoload :ReplicationControllerCondition, 'kube-dsl/dsl/v1/replication_controller_condition'
137
+ autoload :ReplicationControllerList, 'kube-dsl/dsl/v1/replication_controller_list'
138
+ autoload :ReplicationControllerSpec, 'kube-dsl/dsl/v1/replication_controller_spec'
139
+ autoload :ReplicationControllerStatus, 'kube-dsl/dsl/v1/replication_controller_status'
140
+ autoload :ResourceFieldSelector, 'kube-dsl/dsl/v1/resource_field_selector'
141
+ autoload :ResourceQuota, 'kube-dsl/dsl/v1/resource_quota'
142
+ autoload :ResourceQuotaList, 'kube-dsl/dsl/v1/resource_quota_list'
143
+ autoload :ResourceQuotaSpec, 'kube-dsl/dsl/v1/resource_quota_spec'
144
+ autoload :ResourceQuotaStatus, 'kube-dsl/dsl/v1/resource_quota_status'
145
+ autoload :ResourceRequirements, 'kube-dsl/dsl/v1/resource_requirements'
146
+ autoload :SELinuxOptions, 'kube-dsl/dsl/v1/se_linux_options'
147
+ autoload :ScaleIOPersistentVolumeSource, 'kube-dsl/dsl/v1/scale_io_persistent_volume_source'
148
+ autoload :ScaleIOVolumeSource, 'kube-dsl/dsl/v1/scale_io_volume_source'
149
+ autoload :ScopeSelector, 'kube-dsl/dsl/v1/scope_selector'
150
+ autoload :ScopedResourceSelectorRequirement, 'kube-dsl/dsl/v1/scoped_resource_selector_requirement'
151
+ autoload :Secret, 'kube-dsl/dsl/v1/secret'
152
+ autoload :SecretEnvSource, 'kube-dsl/dsl/v1/secret_env_source'
153
+ autoload :SecretKeySelector, 'kube-dsl/dsl/v1/secret_key_selector'
154
+ autoload :SecretList, 'kube-dsl/dsl/v1/secret_list'
155
+ autoload :SecretProjection, 'kube-dsl/dsl/v1/secret_projection'
156
+ autoload :SecretReference, 'kube-dsl/dsl/v1/secret_reference'
157
+ autoload :SecretVolumeSource, 'kube-dsl/dsl/v1/secret_volume_source'
158
+ autoload :SecurityContext, 'kube-dsl/dsl/v1/security_context'
159
+ autoload :Service, 'kube-dsl/dsl/v1/service'
160
+ autoload :ServiceAccount, 'kube-dsl/dsl/v1/service_account'
161
+ autoload :ServiceAccountList, 'kube-dsl/dsl/v1/service_account_list'
162
+ autoload :ServiceAccountTokenProjection, 'kube-dsl/dsl/v1/service_account_token_projection'
163
+ autoload :ServiceList, 'kube-dsl/dsl/v1/service_list'
164
+ autoload :ServicePort, 'kube-dsl/dsl/v1/service_port'
165
+ autoload :ServiceSpec, 'kube-dsl/dsl/v1/service_spec'
166
+ autoload :ServiceStatus, 'kube-dsl/dsl/v1/service_status'
167
+ autoload :SessionAffinityConfig, 'kube-dsl/dsl/v1/session_affinity_config'
168
+ autoload :StorageOSPersistentVolumeSource, 'kube-dsl/dsl/v1/storage_os_persistent_volume_source'
169
+ autoload :StorageOSVolumeSource, 'kube-dsl/dsl/v1/storage_os_volume_source'
170
+ autoload :Sysctl, 'kube-dsl/dsl/v1/sysctl'
171
+ autoload :TCPSocketAction, 'kube-dsl/dsl/v1/tcp_socket_action'
172
+ autoload :Taint, 'kube-dsl/dsl/v1/taint'
173
+ autoload :Toleration, 'kube-dsl/dsl/v1/toleration'
174
+ autoload :TopologySelectorLabelRequirement, 'kube-dsl/dsl/v1/topology_selector_label_requirement'
175
+ autoload :TopologySelectorTerm, 'kube-dsl/dsl/v1/topology_selector_term'
176
+ autoload :TopologySpreadConstraint, 'kube-dsl/dsl/v1/topology_spread_constraint'
177
+ autoload :TypedLocalObjectReference, 'kube-dsl/dsl/v1/typed_local_object_reference'
178
+ autoload :Volume, 'kube-dsl/dsl/v1/volume'
179
+ autoload :VolumeDevice, 'kube-dsl/dsl/v1/volume_device'
180
+ autoload :VolumeMount, 'kube-dsl/dsl/v1/volume_mount'
181
+ autoload :VolumeNodeAffinity, 'kube-dsl/dsl/v1/volume_node_affinity'
182
+ autoload :VolumeProjection, 'kube-dsl/dsl/v1/volume_projection'
183
+ autoload :VsphereVirtualDiskVolumeSource, 'kube-dsl/dsl/v1/vsphere_virtual_disk_volume_source'
184
+ autoload :WeightedPodAffinityTerm, 'kube-dsl/dsl/v1/weighted_pod_affinity_term'
185
+ autoload :WindowsSecurityContextOptions, 'kube-dsl/dsl/v1/windows_security_context_options'
186
+ end
@@ -0,0 +1,27 @@
1
+ module KubeDSL::DSL
2
+ autoload :Admissionregistration, 'kube-dsl/dsl/admissionregistration'
3
+ autoload :Apps, 'kube-dsl/dsl/apps'
4
+ autoload :Auditregistration, 'kube-dsl/dsl/auditregistration'
5
+ autoload :Authentication, 'kube-dsl/dsl/authentication'
6
+ autoload :Authorization, 'kube-dsl/dsl/authorization'
7
+ autoload :Autoscaling, 'kube-dsl/dsl/autoscaling'
8
+ autoload :Batch, 'kube-dsl/dsl/batch'
9
+ autoload :Certificates, 'kube-dsl/dsl/certificates'
10
+ autoload :Coordination, 'kube-dsl/dsl/coordination'
11
+ autoload :V1, 'kube-dsl/dsl/v1'
12
+ autoload :Discovery, 'kube-dsl/dsl/discovery'
13
+ autoload :Events, 'kube-dsl/dsl/events'
14
+ autoload :Extensions, 'kube-dsl/dsl/extensions'
15
+ autoload :Flowcontrol, 'kube-dsl/dsl/flowcontrol'
16
+ autoload :Networking, 'kube-dsl/dsl/networking'
17
+ autoload :Node, 'kube-dsl/dsl/node'
18
+ autoload :Policy, 'kube-dsl/dsl/policy'
19
+ autoload :Rbac, 'kube-dsl/dsl/rbac'
20
+ autoload :Scheduling, 'kube-dsl/dsl/scheduling'
21
+ autoload :Settings, 'kube-dsl/dsl/settings'
22
+ autoload :Storage, 'kube-dsl/dsl/storage'
23
+ autoload :Apiextensions, 'kube-dsl/dsl/apiextensions'
24
+ autoload :Meta, 'kube-dsl/dsl/meta'
25
+ autoload :Pkg, 'kube-dsl/dsl/pkg'
26
+ autoload :Apiregistration, 'kube-dsl/dsl/apiregistration'
27
+ end
@@ -0,0 +1,13 @@
1
+ module KubeDSL
2
+ class DSLObject
3
+ extend ::KubeDSL::ValueFields
4
+
5
+ def initialize(&block)
6
+ instance_eval(&block) if block
7
+ end
8
+
9
+ def to_resource
10
+ ::KubeDSL::Resource.new(serialize)
11
+ end
12
+ end
13
+ end