kubernetes-io 1.0.0.pre.alpha2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1302) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +8 -0
  3. data/Gemfile.lock +89 -0
  4. data/README.md +1515 -0
  5. data/Rakefile +8 -0
  6. data/docs/AdmissionregistrationApi.md +56 -0
  7. data/docs/AdmissionregistrationV1alpha1Api.md +516 -0
  8. data/docs/AdmissionregistrationV1beta1Api.md +976 -0
  9. data/docs/AdmissionregistrationV1beta1ServiceReference.md +10 -0
  10. data/docs/AdmissionregistrationV1beta1WebhookClientConfig.md +10 -0
  11. data/docs/ApiextensionsApi.md +56 -0
  12. data/docs/ApiextensionsV1beta1Api.md +700 -0
  13. data/docs/ApiextensionsV1beta1ServiceReference.md +10 -0
  14. data/docs/ApiextensionsV1beta1WebhookClientConfig.md +10 -0
  15. data/docs/ApiregistrationApi.md +56 -0
  16. data/docs/ApiregistrationV1Api.md +700 -0
  17. data/docs/ApiregistrationV1beta1Api.md +700 -0
  18. data/docs/ApiregistrationV1beta1ServiceReference.md +9 -0
  19. data/docs/ApisApi.md +56 -0
  20. data/docs/AppsApi.md +56 -0
  21. data/docs/AppsV1Api.md +4167 -0
  22. data/docs/AppsV1beta1Api.md +2552 -0
  23. data/docs/AppsV1beta1Deployment.md +12 -0
  24. data/docs/AppsV1beta1DeploymentCondition.md +13 -0
  25. data/docs/AppsV1beta1DeploymentList.md +11 -0
  26. data/docs/AppsV1beta1DeploymentRollback.md +12 -0
  27. data/docs/AppsV1beta1DeploymentSpec.md +16 -0
  28. data/docs/AppsV1beta1DeploymentStatus.md +15 -0
  29. data/docs/AppsV1beta1DeploymentStrategy.md +9 -0
  30. data/docs/AppsV1beta1RollbackConfig.md +8 -0
  31. data/docs/AppsV1beta1RollingUpdateDeployment.md +9 -0
  32. data/docs/AppsV1beta1Scale.md +12 -0
  33. data/docs/AppsV1beta1ScaleSpec.md +8 -0
  34. data/docs/AppsV1beta1ScaleStatus.md +10 -0
  35. data/docs/AppsV1beta2Api.md +4167 -0
  36. data/docs/AuditregistrationApi.md +56 -0
  37. data/docs/AuditregistrationV1alpha1Api.md +516 -0
  38. data/docs/AuthenticationApi.md +56 -0
  39. data/docs/AuthenticationV1Api.md +118 -0
  40. data/docs/AuthenticationV1beta1Api.md +118 -0
  41. data/docs/AuthorizationApi.md +56 -0
  42. data/docs/AuthorizationV1Api.md +307 -0
  43. data/docs/AuthorizationV1beta1Api.md +307 -0
  44. data/docs/AutoscalingApi.md +56 -0
  45. data/docs/AutoscalingV1Api.md +801 -0
  46. data/docs/AutoscalingV2beta1Api.md +801 -0
  47. data/docs/AutoscalingV2beta2Api.md +801 -0
  48. data/docs/BatchApi.md +56 -0
  49. data/docs/BatchV1Api.md +801 -0
  50. data/docs/BatchV1beta1Api.md +801 -0
  51. data/docs/BatchV2alpha1Api.md +801 -0
  52. data/docs/CertificatesApi.md +56 -0
  53. data/docs/CertificatesV1beta1Api.md +763 -0
  54. data/docs/CoordinationApi.md +56 -0
  55. data/docs/CoordinationV1beta1Api.md +608 -0
  56. data/docs/CoreApi.md +56 -0
  57. data/docs/CoreV1Api.md +13078 -0
  58. data/docs/CustomObjectsApi.md +1640 -0
  59. data/docs/EventsApi.md +56 -0
  60. data/docs/EventsV1beta1Api.md +608 -0
  61. data/docs/ExtensionsApi.md +56 -0
  62. data/docs/ExtensionsV1beta1AllowedFlexVolume.md +8 -0
  63. data/docs/ExtensionsV1beta1AllowedHostPath.md +9 -0
  64. data/docs/ExtensionsV1beta1Api.md +4695 -0
  65. data/docs/ExtensionsV1beta1Deployment.md +12 -0
  66. data/docs/ExtensionsV1beta1DeploymentCondition.md +13 -0
  67. data/docs/ExtensionsV1beta1DeploymentList.md +11 -0
  68. data/docs/ExtensionsV1beta1DeploymentRollback.md +12 -0
  69. data/docs/ExtensionsV1beta1DeploymentSpec.md +16 -0
  70. data/docs/ExtensionsV1beta1DeploymentStatus.md +15 -0
  71. data/docs/ExtensionsV1beta1DeploymentStrategy.md +9 -0
  72. data/docs/ExtensionsV1beta1FSGroupStrategyOptions.md +9 -0
  73. data/docs/ExtensionsV1beta1HostPortRange.md +9 -0
  74. data/docs/ExtensionsV1beta1IDRange.md +9 -0
  75. data/docs/ExtensionsV1beta1PodSecurityPolicy.md +11 -0
  76. data/docs/ExtensionsV1beta1PodSecurityPolicyList.md +11 -0
  77. data/docs/ExtensionsV1beta1PodSecurityPolicySpec.md +29 -0
  78. data/docs/ExtensionsV1beta1RollbackConfig.md +8 -0
  79. data/docs/ExtensionsV1beta1RollingUpdateDeployment.md +9 -0
  80. data/docs/ExtensionsV1beta1RunAsGroupStrategyOptions.md +9 -0
  81. data/docs/ExtensionsV1beta1RunAsUserStrategyOptions.md +9 -0
  82. data/docs/ExtensionsV1beta1SELinuxStrategyOptions.md +9 -0
  83. data/docs/ExtensionsV1beta1Scale.md +12 -0
  84. data/docs/ExtensionsV1beta1ScaleSpec.md +8 -0
  85. data/docs/ExtensionsV1beta1ScaleStatus.md +10 -0
  86. data/docs/ExtensionsV1beta1SupplementalGroupsStrategyOptions.md +9 -0
  87. data/docs/LogsApi.md +104 -0
  88. data/docs/NetworkingApi.md +56 -0
  89. data/docs/NetworkingV1Api.md +608 -0
  90. data/docs/PolicyApi.md +56 -0
  91. data/docs/PolicyV1beta1AllowedFlexVolume.md +8 -0
  92. data/docs/PolicyV1beta1AllowedHostPath.md +9 -0
  93. data/docs/PolicyV1beta1Api.md +1261 -0
  94. data/docs/PolicyV1beta1FSGroupStrategyOptions.md +9 -0
  95. data/docs/PolicyV1beta1HostPortRange.md +9 -0
  96. data/docs/PolicyV1beta1IDRange.md +9 -0
  97. data/docs/PolicyV1beta1PodSecurityPolicy.md +11 -0
  98. data/docs/PolicyV1beta1PodSecurityPolicyList.md +11 -0
  99. data/docs/PolicyV1beta1PodSecurityPolicySpec.md +29 -0
  100. data/docs/PolicyV1beta1RunAsGroupStrategyOptions.md +9 -0
  101. data/docs/PolicyV1beta1RunAsUserStrategyOptions.md +9 -0
  102. data/docs/PolicyV1beta1SELinuxStrategyOptions.md +9 -0
  103. data/docs/PolicyV1beta1SupplementalGroupsStrategyOptions.md +9 -0
  104. data/docs/RbacAuthorizationApi.md +56 -0
  105. data/docs/RbacAuthorizationV1Api.md +2064 -0
  106. data/docs/RbacAuthorizationV1alpha1Api.md +2064 -0
  107. data/docs/RbacAuthorizationV1beta1Api.md +2064 -0
  108. data/docs/RuntimeRawExtension.md +8 -0
  109. data/docs/SchedulingApi.md +56 -0
  110. data/docs/SchedulingV1alpha1Api.md +516 -0
  111. data/docs/SchedulingV1beta1Api.md +516 -0
  112. data/docs/SettingsApi.md +56 -0
  113. data/docs/SettingsV1alpha1Api.md +608 -0
  114. data/docs/StorageApi.md +56 -0
  115. data/docs/StorageV1Api.md +1160 -0
  116. data/docs/StorageV1alpha1Api.md +516 -0
  117. data/docs/StorageV1beta1Api.md +976 -0
  118. data/docs/V1APIGroup.md +13 -0
  119. data/docs/V1APIGroupList.md +10 -0
  120. data/docs/V1APIResource.md +16 -0
  121. data/docs/V1APIResourceList.md +11 -0
  122. data/docs/V1APIService.md +12 -0
  123. data/docs/V1APIServiceCondition.md +12 -0
  124. data/docs/V1APIServiceList.md +11 -0
  125. data/docs/V1APIServiceSpec.md +14 -0
  126. data/docs/V1APIServiceStatus.md +8 -0
  127. data/docs/V1APIVersions.md +11 -0
  128. data/docs/V1AWSElasticBlockStoreVolumeSource.md +11 -0
  129. data/docs/V1Affinity.md +10 -0
  130. data/docs/V1AggregationRule.md +8 -0
  131. data/docs/V1AttachedVolume.md +9 -0
  132. data/docs/V1AzureDiskVolumeSource.md +13 -0
  133. data/docs/V1AzureFilePersistentVolumeSource.md +11 -0
  134. data/docs/V1AzureFileVolumeSource.md +10 -0
  135. data/docs/V1Binding.md +11 -0
  136. data/docs/V1CSIPersistentVolumeSource.md +15 -0
  137. data/docs/V1Capabilities.md +9 -0
  138. data/docs/V1CephFSPersistentVolumeSource.md +13 -0
  139. data/docs/V1CephFSVolumeSource.md +13 -0
  140. data/docs/V1CinderPersistentVolumeSource.md +11 -0
  141. data/docs/V1CinderVolumeSource.md +11 -0
  142. data/docs/V1ClientIPConfig.md +8 -0
  143. data/docs/V1ClusterRole.md +12 -0
  144. data/docs/V1ClusterRoleBinding.md +12 -0
  145. data/docs/V1ClusterRoleBindingList.md +11 -0
  146. data/docs/V1ClusterRoleList.md +11 -0
  147. data/docs/V1ComponentCondition.md +11 -0
  148. data/docs/V1ComponentStatus.md +11 -0
  149. data/docs/V1ComponentStatusList.md +11 -0
  150. data/docs/V1ConfigMap.md +12 -0
  151. data/docs/V1ConfigMapEnvSource.md +9 -0
  152. data/docs/V1ConfigMapKeySelector.md +10 -0
  153. data/docs/V1ConfigMapList.md +11 -0
  154. data/docs/V1ConfigMapNodeConfigSource.md +12 -0
  155. data/docs/V1ConfigMapProjection.md +10 -0
  156. data/docs/V1ConfigMapVolumeSource.md +11 -0
  157. data/docs/V1Container.md +28 -0
  158. data/docs/V1ContainerImage.md +9 -0
  159. data/docs/V1ContainerPort.md +12 -0
  160. data/docs/V1ContainerState.md +10 -0
  161. data/docs/V1ContainerStateRunning.md +8 -0
  162. data/docs/V1ContainerStateTerminated.md +14 -0
  163. data/docs/V1ContainerStateWaiting.md +9 -0
  164. data/docs/V1ContainerStatus.md +15 -0
  165. data/docs/V1ControllerRevision.md +12 -0
  166. data/docs/V1ControllerRevisionList.md +11 -0
  167. data/docs/V1CrossVersionObjectReference.md +10 -0
  168. data/docs/V1DaemonEndpoint.md +8 -0
  169. data/docs/V1DaemonSet.md +12 -0
  170. data/docs/V1DaemonSetCondition.md +12 -0
  171. data/docs/V1DaemonSetList.md +11 -0
  172. data/docs/V1DaemonSetSpec.md +12 -0
  173. data/docs/V1DaemonSetStatus.md +17 -0
  174. data/docs/V1DaemonSetUpdateStrategy.md +9 -0
  175. data/docs/V1DeleteOptions.md +14 -0
  176. data/docs/V1Deployment.md +12 -0
  177. data/docs/V1DeploymentCondition.md +13 -0
  178. data/docs/V1DeploymentList.md +11 -0
  179. data/docs/V1DeploymentSpec.md +15 -0
  180. data/docs/V1DeploymentStatus.md +15 -0
  181. data/docs/V1DeploymentStrategy.md +9 -0
  182. data/docs/V1DownwardAPIProjection.md +8 -0
  183. data/docs/V1DownwardAPIVolumeFile.md +11 -0
  184. data/docs/V1DownwardAPIVolumeSource.md +9 -0
  185. data/docs/V1EmptyDirVolumeSource.md +9 -0
  186. data/docs/V1EndpointAddress.md +11 -0
  187. data/docs/V1EndpointPort.md +10 -0
  188. data/docs/V1EndpointSubset.md +10 -0
  189. data/docs/V1Endpoints.md +11 -0
  190. data/docs/V1EndpointsList.md +11 -0
  191. data/docs/V1EnvFromSource.md +10 -0
  192. data/docs/V1EnvVar.md +10 -0
  193. data/docs/V1EnvVarSource.md +11 -0
  194. data/docs/V1Event.md +24 -0
  195. data/docs/V1EventList.md +11 -0
  196. data/docs/V1EventSeries.md +10 -0
  197. data/docs/V1EventSource.md +9 -0
  198. data/docs/V1ExecAction.md +8 -0
  199. data/docs/V1FCVolumeSource.md +12 -0
  200. data/docs/V1FlexPersistentVolumeSource.md +12 -0
  201. data/docs/V1FlexVolumeSource.md +12 -0
  202. data/docs/V1FlockerVolumeSource.md +9 -0
  203. data/docs/V1GCEPersistentDiskVolumeSource.md +11 -0
  204. data/docs/V1GitRepoVolumeSource.md +10 -0
  205. data/docs/V1GlusterfsPersistentVolumeSource.md +11 -0
  206. data/docs/V1GlusterfsVolumeSource.md +10 -0
  207. data/docs/V1GroupVersionForDiscovery.md +9 -0
  208. data/docs/V1HTTPGetAction.md +12 -0
  209. data/docs/V1HTTPHeader.md +9 -0
  210. data/docs/V1Handler.md +10 -0
  211. data/docs/V1HorizontalPodAutoscaler.md +12 -0
  212. data/docs/V1HorizontalPodAutoscalerList.md +11 -0
  213. data/docs/V1HorizontalPodAutoscalerSpec.md +11 -0
  214. data/docs/V1HorizontalPodAutoscalerStatus.md +12 -0
  215. data/docs/V1HostAlias.md +9 -0
  216. data/docs/V1HostPathVolumeSource.md +9 -0
  217. data/docs/V1IPBlock.md +9 -0
  218. data/docs/V1ISCSIPersistentVolumeSource.md +18 -0
  219. data/docs/V1ISCSIVolumeSource.md +18 -0
  220. data/docs/V1Initializer.md +8 -0
  221. data/docs/V1Initializers.md +9 -0
  222. data/docs/V1Job.md +12 -0
  223. data/docs/V1JobCondition.md +13 -0
  224. data/docs/V1JobList.md +11 -0
  225. data/docs/V1JobSpec.md +15 -0
  226. data/docs/V1JobStatus.md +13 -0
  227. data/docs/V1KeyToPath.md +10 -0
  228. data/docs/V1LabelSelector.md +9 -0
  229. data/docs/V1LabelSelectorRequirement.md +10 -0
  230. data/docs/V1Lifecycle.md +9 -0
  231. data/docs/V1LimitRange.md +11 -0
  232. data/docs/V1LimitRangeItem.md +13 -0
  233. data/docs/V1LimitRangeList.md +11 -0
  234. data/docs/V1LimitRangeSpec.md +8 -0
  235. data/docs/V1ListMeta.md +10 -0
  236. data/docs/V1LoadBalancerIngress.md +9 -0
  237. data/docs/V1LoadBalancerStatus.md +8 -0
  238. data/docs/V1LocalObjectReference.md +8 -0
  239. data/docs/V1LocalSubjectAccessReview.md +12 -0
  240. data/docs/V1LocalVolumeSource.md +9 -0
  241. data/docs/V1NFSVolumeSource.md +10 -0
  242. data/docs/V1Namespace.md +12 -0
  243. data/docs/V1NamespaceList.md +11 -0
  244. data/docs/V1NamespaceSpec.md +8 -0
  245. data/docs/V1NamespaceStatus.md +8 -0
  246. data/docs/V1NetworkPolicy.md +11 -0
  247. data/docs/V1NetworkPolicyEgressRule.md +9 -0
  248. data/docs/V1NetworkPolicyIngressRule.md +9 -0
  249. data/docs/V1NetworkPolicyList.md +11 -0
  250. data/docs/V1NetworkPolicyPeer.md +10 -0
  251. data/docs/V1NetworkPolicyPort.md +9 -0
  252. data/docs/V1NetworkPolicySpec.md +11 -0
  253. data/docs/V1Node.md +12 -0
  254. data/docs/V1NodeAddress.md +9 -0
  255. data/docs/V1NodeAffinity.md +9 -0
  256. data/docs/V1NodeCondition.md +13 -0
  257. data/docs/V1NodeConfigSource.md +8 -0
  258. data/docs/V1NodeConfigStatus.md +11 -0
  259. data/docs/V1NodeDaemonEndpoints.md +8 -0
  260. data/docs/V1NodeList.md +11 -0
  261. data/docs/V1NodeSelector.md +8 -0
  262. data/docs/V1NodeSelectorRequirement.md +10 -0
  263. data/docs/V1NodeSelectorTerm.md +9 -0
  264. data/docs/V1NodeSpec.md +13 -0
  265. data/docs/V1NodeStatus.md +18 -0
  266. data/docs/V1NodeSystemInfo.md +17 -0
  267. data/docs/V1NonResourceAttributes.md +9 -0
  268. data/docs/V1NonResourceRule.md +9 -0
  269. data/docs/V1ObjectFieldSelector.md +9 -0
  270. data/docs/V1ObjectMeta.md +23 -0
  271. data/docs/V1ObjectReference.md +14 -0
  272. data/docs/V1OwnerReference.md +13 -0
  273. data/docs/V1PersistentVolume.md +12 -0
  274. data/docs/V1PersistentVolumeClaim.md +12 -0
  275. data/docs/V1PersistentVolumeClaimCondition.md +13 -0
  276. data/docs/V1PersistentVolumeClaimList.md +11 -0
  277. data/docs/V1PersistentVolumeClaimSpec.md +14 -0
  278. data/docs/V1PersistentVolumeClaimStatus.md +11 -0
  279. data/docs/V1PersistentVolumeClaimVolumeSource.md +9 -0
  280. data/docs/V1PersistentVolumeList.md +11 -0
  281. data/docs/V1PersistentVolumeSpec.md +37 -0
  282. data/docs/V1PersistentVolumeStatus.md +10 -0
  283. data/docs/V1PhotonPersistentDiskVolumeSource.md +9 -0
  284. data/docs/V1Pod.md +12 -0
  285. data/docs/V1PodAffinity.md +9 -0
  286. data/docs/V1PodAffinityTerm.md +10 -0
  287. data/docs/V1PodAntiAffinity.md +9 -0
  288. data/docs/V1PodCondition.md +13 -0
  289. data/docs/V1PodDNSConfig.md +10 -0
  290. data/docs/V1PodDNSConfigOption.md +9 -0
  291. data/docs/V1PodList.md +11 -0
  292. data/docs/V1PodReadinessGate.md +8 -0
  293. data/docs/V1PodSecurityContext.md +14 -0
  294. data/docs/V1PodSpec.md +37 -0
  295. data/docs/V1PodStatus.md +18 -0
  296. data/docs/V1PodTemplate.md +11 -0
  297. data/docs/V1PodTemplateList.md +11 -0
  298. data/docs/V1PodTemplateSpec.md +9 -0
  299. data/docs/V1PolicyRule.md +12 -0
  300. data/docs/V1PortworxVolumeSource.md +10 -0
  301. data/docs/V1Preconditions.md +8 -0
  302. data/docs/V1PreferredSchedulingTerm.md +9 -0
  303. data/docs/V1Probe.md +15 -0
  304. data/docs/V1ProjectedVolumeSource.md +9 -0
  305. data/docs/V1QuobyteVolumeSource.md +12 -0
  306. data/docs/V1RBDPersistentVolumeSource.md +15 -0
  307. data/docs/V1RBDVolumeSource.md +15 -0
  308. data/docs/V1ReplicaSet.md +12 -0
  309. data/docs/V1ReplicaSetCondition.md +12 -0
  310. data/docs/V1ReplicaSetList.md +11 -0
  311. data/docs/V1ReplicaSetSpec.md +11 -0
  312. data/docs/V1ReplicaSetStatus.md +13 -0
  313. data/docs/V1ReplicationController.md +12 -0
  314. data/docs/V1ReplicationControllerCondition.md +12 -0
  315. data/docs/V1ReplicationControllerList.md +11 -0
  316. data/docs/V1ReplicationControllerSpec.md +11 -0
  317. data/docs/V1ReplicationControllerStatus.md +13 -0
  318. data/docs/V1ResourceAttributes.md +14 -0
  319. data/docs/V1ResourceFieldSelector.md +10 -0
  320. data/docs/V1ResourceQuota.md +12 -0
  321. data/docs/V1ResourceQuotaList.md +11 -0
  322. data/docs/V1ResourceQuotaSpec.md +10 -0
  323. data/docs/V1ResourceQuotaStatus.md +9 -0
  324. data/docs/V1ResourceRequirements.md +9 -0
  325. data/docs/V1ResourceRule.md +11 -0
  326. data/docs/V1Role.md +11 -0
  327. data/docs/V1RoleBinding.md +12 -0
  328. data/docs/V1RoleBindingList.md +11 -0
  329. data/docs/V1RoleList.md +11 -0
  330. data/docs/V1RoleRef.md +10 -0
  331. data/docs/V1RollingUpdateDaemonSet.md +8 -0
  332. data/docs/V1RollingUpdateDeployment.md +9 -0
  333. data/docs/V1RollingUpdateStatefulSetStrategy.md +8 -0
  334. data/docs/V1SELinuxOptions.md +11 -0
  335. data/docs/V1Scale.md +12 -0
  336. data/docs/V1ScaleIOPersistentVolumeSource.md +17 -0
  337. data/docs/V1ScaleIOVolumeSource.md +17 -0
  338. data/docs/V1ScaleSpec.md +8 -0
  339. data/docs/V1ScaleStatus.md +9 -0
  340. data/docs/V1ScopeSelector.md +8 -0
  341. data/docs/V1ScopedResourceSelectorRequirement.md +10 -0
  342. data/docs/V1Secret.md +13 -0
  343. data/docs/V1SecretEnvSource.md +9 -0
  344. data/docs/V1SecretKeySelector.md +10 -0
  345. data/docs/V1SecretList.md +11 -0
  346. data/docs/V1SecretProjection.md +10 -0
  347. data/docs/V1SecretReference.md +9 -0
  348. data/docs/V1SecretVolumeSource.md +11 -0
  349. data/docs/V1SecurityContext.md +16 -0
  350. data/docs/V1SelfSubjectAccessReview.md +12 -0
  351. data/docs/V1SelfSubjectAccessReviewSpec.md +9 -0
  352. data/docs/V1SelfSubjectRulesReview.md +12 -0
  353. data/docs/V1SelfSubjectRulesReviewSpec.md +8 -0
  354. data/docs/V1ServerAddressByClientCIDR.md +9 -0
  355. data/docs/V1Service.md +12 -0
  356. data/docs/V1ServiceAccount.md +13 -0
  357. data/docs/V1ServiceAccountList.md +11 -0
  358. data/docs/V1ServiceAccountTokenProjection.md +10 -0
  359. data/docs/V1ServiceList.md +11 -0
  360. data/docs/V1ServicePort.md +12 -0
  361. data/docs/V1ServiceReference.md +9 -0
  362. data/docs/V1ServiceSpec.md +20 -0
  363. data/docs/V1ServiceStatus.md +8 -0
  364. data/docs/V1SessionAffinityConfig.md +8 -0
  365. data/docs/V1StatefulSet.md +12 -0
  366. data/docs/V1StatefulSetCondition.md +12 -0
  367. data/docs/V1StatefulSetList.md +11 -0
  368. data/docs/V1StatefulSetSpec.md +15 -0
  369. data/docs/V1StatefulSetStatus.md +16 -0
  370. data/docs/V1StatefulSetUpdateStrategy.md +9 -0
  371. data/docs/V1Status.md +15 -0
  372. data/docs/V1StatusCause.md +10 -0
  373. data/docs/V1StatusDetails.md +13 -0
  374. data/docs/V1StorageClass.md +17 -0
  375. data/docs/V1StorageClassList.md +11 -0
  376. data/docs/V1StorageOSPersistentVolumeSource.md +12 -0
  377. data/docs/V1StorageOSVolumeSource.md +12 -0
  378. data/docs/V1Subject.md +11 -0
  379. data/docs/V1SubjectAccessReview.md +12 -0
  380. data/docs/V1SubjectAccessReviewSpec.md +13 -0
  381. data/docs/V1SubjectAccessReviewStatus.md +11 -0
  382. data/docs/V1SubjectRulesReviewStatus.md +11 -0
  383. data/docs/V1Sysctl.md +9 -0
  384. data/docs/V1TCPSocketAction.md +9 -0
  385. data/docs/V1Taint.md +11 -0
  386. data/docs/V1TokenReview.md +12 -0
  387. data/docs/V1TokenReviewSpec.md +9 -0
  388. data/docs/V1TokenReviewStatus.md +11 -0
  389. data/docs/V1Toleration.md +12 -0
  390. data/docs/V1TopologySelectorLabelRequirement.md +9 -0
  391. data/docs/V1TopologySelectorTerm.md +8 -0
  392. data/docs/V1TypedLocalObjectReference.md +10 -0
  393. data/docs/V1UserInfo.md +11 -0
  394. data/docs/V1Volume.md +35 -0
  395. data/docs/V1VolumeAttachment.md +12 -0
  396. data/docs/V1VolumeAttachmentList.md +11 -0
  397. data/docs/V1VolumeAttachmentSource.md +8 -0
  398. data/docs/V1VolumeAttachmentSpec.md +10 -0
  399. data/docs/V1VolumeAttachmentStatus.md +11 -0
  400. data/docs/V1VolumeDevice.md +9 -0
  401. data/docs/V1VolumeError.md +9 -0
  402. data/docs/V1VolumeMount.md +12 -0
  403. data/docs/V1VolumeNodeAffinity.md +8 -0
  404. data/docs/V1VolumeProjection.md +11 -0
  405. data/docs/V1VsphereVirtualDiskVolumeSource.md +11 -0
  406. data/docs/V1WatchEvent.md +9 -0
  407. data/docs/V1WeightedPodAffinityTerm.md +9 -0
  408. data/docs/V1alpha1AggregationRule.md +8 -0
  409. data/docs/V1alpha1AuditSink.md +11 -0
  410. data/docs/V1alpha1AuditSinkList.md +11 -0
  411. data/docs/V1alpha1AuditSinkSpec.md +9 -0
  412. data/docs/V1alpha1ClusterRole.md +12 -0
  413. data/docs/V1alpha1ClusterRoleBinding.md +12 -0
  414. data/docs/V1alpha1ClusterRoleBindingList.md +11 -0
  415. data/docs/V1alpha1ClusterRoleList.md +11 -0
  416. data/docs/V1alpha1Initializer.md +9 -0
  417. data/docs/V1alpha1InitializerConfiguration.md +11 -0
  418. data/docs/V1alpha1InitializerConfigurationList.md +11 -0
  419. data/docs/V1alpha1PodPreset.md +11 -0
  420. data/docs/V1alpha1PodPresetList.md +11 -0
  421. data/docs/V1alpha1PodPresetSpec.md +12 -0
  422. data/docs/V1alpha1Policy.md +9 -0
  423. data/docs/V1alpha1PolicyRule.md +12 -0
  424. data/docs/V1alpha1PriorityClass.md +13 -0
  425. data/docs/V1alpha1PriorityClassList.md +11 -0
  426. data/docs/V1alpha1Role.md +11 -0
  427. data/docs/V1alpha1RoleBinding.md +12 -0
  428. data/docs/V1alpha1RoleBindingList.md +11 -0
  429. data/docs/V1alpha1RoleList.md +11 -0
  430. data/docs/V1alpha1RoleRef.md +10 -0
  431. data/docs/V1alpha1Rule.md +10 -0
  432. data/docs/V1alpha1ServiceReference.md +10 -0
  433. data/docs/V1alpha1Subject.md +11 -0
  434. data/docs/V1alpha1VolumeAttachment.md +12 -0
  435. data/docs/V1alpha1VolumeAttachmentList.md +11 -0
  436. data/docs/V1alpha1VolumeAttachmentSource.md +8 -0
  437. data/docs/V1alpha1VolumeAttachmentSpec.md +10 -0
  438. data/docs/V1alpha1VolumeAttachmentStatus.md +11 -0
  439. data/docs/V1alpha1VolumeError.md +9 -0
  440. data/docs/V1alpha1Webhook.md +9 -0
  441. data/docs/V1alpha1WebhookClientConfig.md +10 -0
  442. data/docs/V1alpha1WebhookThrottleConfig.md +9 -0
  443. data/docs/V1beta1APIService.md +12 -0
  444. data/docs/V1beta1APIServiceCondition.md +12 -0
  445. data/docs/V1beta1APIServiceList.md +11 -0
  446. data/docs/V1beta1APIServiceSpec.md +14 -0
  447. data/docs/V1beta1APIServiceStatus.md +8 -0
  448. data/docs/V1beta1AggregationRule.md +8 -0
  449. data/docs/V1beta1CertificateSigningRequest.md +12 -0
  450. data/docs/V1beta1CertificateSigningRequestCondition.md +11 -0
  451. data/docs/V1beta1CertificateSigningRequestList.md +11 -0
  452. data/docs/V1beta1CertificateSigningRequestSpec.md +13 -0
  453. data/docs/V1beta1CertificateSigningRequestStatus.md +9 -0
  454. data/docs/V1beta1ClusterRole.md +12 -0
  455. data/docs/V1beta1ClusterRoleBinding.md +12 -0
  456. data/docs/V1beta1ClusterRoleBindingList.md +11 -0
  457. data/docs/V1beta1ClusterRoleList.md +11 -0
  458. data/docs/V1beta1ControllerRevision.md +12 -0
  459. data/docs/V1beta1ControllerRevisionList.md +11 -0
  460. data/docs/V1beta1CronJob.md +12 -0
  461. data/docs/V1beta1CronJobList.md +11 -0
  462. data/docs/V1beta1CronJobSpec.md +14 -0
  463. data/docs/V1beta1CronJobStatus.md +9 -0
  464. data/docs/V1beta1CustomResourceColumnDefinition.md +13 -0
  465. data/docs/V1beta1CustomResourceConversion.md +9 -0
  466. data/docs/V1beta1CustomResourceDefinition.md +12 -0
  467. data/docs/V1beta1CustomResourceDefinitionCondition.md +12 -0
  468. data/docs/V1beta1CustomResourceDefinitionList.md +11 -0
  469. data/docs/V1beta1CustomResourceDefinitionNames.md +13 -0
  470. data/docs/V1beta1CustomResourceDefinitionSpec.md +16 -0
  471. data/docs/V1beta1CustomResourceDefinitionStatus.md +10 -0
  472. data/docs/V1beta1CustomResourceDefinitionVersion.md +13 -0
  473. data/docs/V1beta1CustomResourceSubresourceScale.md +10 -0
  474. data/docs/V1beta1CustomResourceSubresources.md +9 -0
  475. data/docs/V1beta1CustomResourceValidation.md +8 -0
  476. data/docs/V1beta1DaemonSet.md +12 -0
  477. data/docs/V1beta1DaemonSetCondition.md +12 -0
  478. data/docs/V1beta1DaemonSetList.md +11 -0
  479. data/docs/V1beta1DaemonSetSpec.md +13 -0
  480. data/docs/V1beta1DaemonSetStatus.md +17 -0
  481. data/docs/V1beta1DaemonSetUpdateStrategy.md +9 -0
  482. data/docs/V1beta1Event.md +24 -0
  483. data/docs/V1beta1EventList.md +11 -0
  484. data/docs/V1beta1EventSeries.md +10 -0
  485. data/docs/V1beta1Eviction.md +11 -0
  486. data/docs/V1beta1ExternalDocumentation.md +9 -0
  487. data/docs/V1beta1HTTPIngressPath.md +9 -0
  488. data/docs/V1beta1HTTPIngressRuleValue.md +8 -0
  489. data/docs/V1beta1IPBlock.md +9 -0
  490. data/docs/V1beta1Ingress.md +12 -0
  491. data/docs/V1beta1IngressBackend.md +9 -0
  492. data/docs/V1beta1IngressList.md +11 -0
  493. data/docs/V1beta1IngressRule.md +9 -0
  494. data/docs/V1beta1IngressSpec.md +10 -0
  495. data/docs/V1beta1IngressStatus.md +8 -0
  496. data/docs/V1beta1IngressTLS.md +9 -0
  497. data/docs/V1beta1JSONSchemaProps.md +43 -0
  498. data/docs/V1beta1JobTemplateSpec.md +9 -0
  499. data/docs/V1beta1Lease.md +11 -0
  500. data/docs/V1beta1LeaseList.md +11 -0
  501. data/docs/V1beta1LeaseSpec.md +12 -0
  502. data/docs/V1beta1LocalSubjectAccessReview.md +12 -0
  503. data/docs/V1beta1MutatingWebhookConfiguration.md +11 -0
  504. data/docs/V1beta1MutatingWebhookConfigurationList.md +11 -0
  505. data/docs/V1beta1NetworkPolicy.md +11 -0
  506. data/docs/V1beta1NetworkPolicyEgressRule.md +9 -0
  507. data/docs/V1beta1NetworkPolicyIngressRule.md +9 -0
  508. data/docs/V1beta1NetworkPolicyList.md +11 -0
  509. data/docs/V1beta1NetworkPolicyPeer.md +10 -0
  510. data/docs/V1beta1NetworkPolicyPort.md +9 -0
  511. data/docs/V1beta1NetworkPolicySpec.md +11 -0
  512. data/docs/V1beta1NonResourceAttributes.md +9 -0
  513. data/docs/V1beta1NonResourceRule.md +9 -0
  514. data/docs/V1beta1PodDisruptionBudget.md +12 -0
  515. data/docs/V1beta1PodDisruptionBudgetList.md +11 -0
  516. data/docs/V1beta1PodDisruptionBudgetSpec.md +10 -0
  517. data/docs/V1beta1PodDisruptionBudgetStatus.md +13 -0
  518. data/docs/V1beta1PolicyRule.md +12 -0
  519. data/docs/V1beta1PriorityClass.md +13 -0
  520. data/docs/V1beta1PriorityClassList.md +11 -0
  521. data/docs/V1beta1ReplicaSet.md +12 -0
  522. data/docs/V1beta1ReplicaSetCondition.md +12 -0
  523. data/docs/V1beta1ReplicaSetList.md +11 -0
  524. data/docs/V1beta1ReplicaSetSpec.md +11 -0
  525. data/docs/V1beta1ReplicaSetStatus.md +13 -0
  526. data/docs/V1beta1ResourceAttributes.md +14 -0
  527. data/docs/V1beta1ResourceRule.md +11 -0
  528. data/docs/V1beta1Role.md +11 -0
  529. data/docs/V1beta1RoleBinding.md +12 -0
  530. data/docs/V1beta1RoleBindingList.md +11 -0
  531. data/docs/V1beta1RoleList.md +11 -0
  532. data/docs/V1beta1RoleRef.md +10 -0
  533. data/docs/V1beta1RollingUpdateDaemonSet.md +8 -0
  534. data/docs/V1beta1RollingUpdateStatefulSetStrategy.md +8 -0
  535. data/docs/V1beta1RuleWithOperations.md +11 -0
  536. data/docs/V1beta1SelfSubjectAccessReview.md +12 -0
  537. data/docs/V1beta1SelfSubjectAccessReviewSpec.md +9 -0
  538. data/docs/V1beta1SelfSubjectRulesReview.md +12 -0
  539. data/docs/V1beta1SelfSubjectRulesReviewSpec.md +8 -0
  540. data/docs/V1beta1StatefulSet.md +12 -0
  541. data/docs/V1beta1StatefulSetCondition.md +12 -0
  542. data/docs/V1beta1StatefulSetList.md +11 -0
  543. data/docs/V1beta1StatefulSetSpec.md +15 -0
  544. data/docs/V1beta1StatefulSetStatus.md +16 -0
  545. data/docs/V1beta1StatefulSetUpdateStrategy.md +9 -0
  546. data/docs/V1beta1StorageClass.md +17 -0
  547. data/docs/V1beta1StorageClassList.md +11 -0
  548. data/docs/V1beta1Subject.md +11 -0
  549. data/docs/V1beta1SubjectAccessReview.md +12 -0
  550. data/docs/V1beta1SubjectAccessReviewSpec.md +13 -0
  551. data/docs/V1beta1SubjectAccessReviewStatus.md +11 -0
  552. data/docs/V1beta1SubjectRulesReviewStatus.md +11 -0
  553. data/docs/V1beta1TokenReview.md +12 -0
  554. data/docs/V1beta1TokenReviewSpec.md +9 -0
  555. data/docs/V1beta1TokenReviewStatus.md +11 -0
  556. data/docs/V1beta1UserInfo.md +11 -0
  557. data/docs/V1beta1ValidatingWebhookConfiguration.md +11 -0
  558. data/docs/V1beta1ValidatingWebhookConfigurationList.md +11 -0
  559. data/docs/V1beta1VolumeAttachment.md +12 -0
  560. data/docs/V1beta1VolumeAttachmentList.md +11 -0
  561. data/docs/V1beta1VolumeAttachmentSource.md +8 -0
  562. data/docs/V1beta1VolumeAttachmentSpec.md +10 -0
  563. data/docs/V1beta1VolumeAttachmentStatus.md +11 -0
  564. data/docs/V1beta1VolumeError.md +9 -0
  565. data/docs/V1beta1Webhook.md +13 -0
  566. data/docs/V1beta2ControllerRevision.md +12 -0
  567. data/docs/V1beta2ControllerRevisionList.md +11 -0
  568. data/docs/V1beta2DaemonSet.md +12 -0
  569. data/docs/V1beta2DaemonSetCondition.md +12 -0
  570. data/docs/V1beta2DaemonSetList.md +11 -0
  571. data/docs/V1beta2DaemonSetSpec.md +12 -0
  572. data/docs/V1beta2DaemonSetStatus.md +17 -0
  573. data/docs/V1beta2DaemonSetUpdateStrategy.md +9 -0
  574. data/docs/V1beta2Deployment.md +12 -0
  575. data/docs/V1beta2DeploymentCondition.md +13 -0
  576. data/docs/V1beta2DeploymentList.md +11 -0
  577. data/docs/V1beta2DeploymentSpec.md +15 -0
  578. data/docs/V1beta2DeploymentStatus.md +15 -0
  579. data/docs/V1beta2DeploymentStrategy.md +9 -0
  580. data/docs/V1beta2ReplicaSet.md +12 -0
  581. data/docs/V1beta2ReplicaSetCondition.md +12 -0
  582. data/docs/V1beta2ReplicaSetList.md +11 -0
  583. data/docs/V1beta2ReplicaSetSpec.md +11 -0
  584. data/docs/V1beta2ReplicaSetStatus.md +13 -0
  585. data/docs/V1beta2RollingUpdateDaemonSet.md +8 -0
  586. data/docs/V1beta2RollingUpdateDeployment.md +9 -0
  587. data/docs/V1beta2RollingUpdateStatefulSetStrategy.md +8 -0
  588. data/docs/V1beta2Scale.md +12 -0
  589. data/docs/V1beta2ScaleSpec.md +8 -0
  590. data/docs/V1beta2ScaleStatus.md +10 -0
  591. data/docs/V1beta2StatefulSet.md +12 -0
  592. data/docs/V1beta2StatefulSetCondition.md +12 -0
  593. data/docs/V1beta2StatefulSetList.md +11 -0
  594. data/docs/V1beta2StatefulSetSpec.md +15 -0
  595. data/docs/V1beta2StatefulSetStatus.md +16 -0
  596. data/docs/V1beta2StatefulSetUpdateStrategy.md +9 -0
  597. data/docs/V2alpha1CronJob.md +12 -0
  598. data/docs/V2alpha1CronJobList.md +11 -0
  599. data/docs/V2alpha1CronJobSpec.md +14 -0
  600. data/docs/V2alpha1CronJobStatus.md +9 -0
  601. data/docs/V2alpha1JobTemplateSpec.md +9 -0
  602. data/docs/V2beta1CrossVersionObjectReference.md +10 -0
  603. data/docs/V2beta1ExternalMetricSource.md +11 -0
  604. data/docs/V2beta1ExternalMetricStatus.md +11 -0
  605. data/docs/V2beta1HorizontalPodAutoscaler.md +12 -0
  606. data/docs/V2beta1HorizontalPodAutoscalerCondition.md +12 -0
  607. data/docs/V2beta1HorizontalPodAutoscalerList.md +11 -0
  608. data/docs/V2beta1HorizontalPodAutoscalerSpec.md +11 -0
  609. data/docs/V2beta1HorizontalPodAutoscalerStatus.md +13 -0
  610. data/docs/V2beta1MetricSpec.md +12 -0
  611. data/docs/V2beta1MetricStatus.md +12 -0
  612. data/docs/V2beta1ObjectMetricSource.md +12 -0
  613. data/docs/V2beta1ObjectMetricStatus.md +12 -0
  614. data/docs/V2beta1PodsMetricSource.md +10 -0
  615. data/docs/V2beta1PodsMetricStatus.md +10 -0
  616. data/docs/V2beta1ResourceMetricSource.md +10 -0
  617. data/docs/V2beta1ResourceMetricStatus.md +10 -0
  618. data/docs/V2beta2CrossVersionObjectReference.md +10 -0
  619. data/docs/V2beta2ExternalMetricSource.md +9 -0
  620. data/docs/V2beta2ExternalMetricStatus.md +9 -0
  621. data/docs/V2beta2HorizontalPodAutoscaler.md +12 -0
  622. data/docs/V2beta2HorizontalPodAutoscalerCondition.md +12 -0
  623. data/docs/V2beta2HorizontalPodAutoscalerList.md +11 -0
  624. data/docs/V2beta2HorizontalPodAutoscalerSpec.md +11 -0
  625. data/docs/V2beta2HorizontalPodAutoscalerStatus.md +13 -0
  626. data/docs/V2beta2MetricIdentifier.md +9 -0
  627. data/docs/V2beta2MetricSpec.md +12 -0
  628. data/docs/V2beta2MetricStatus.md +12 -0
  629. data/docs/V2beta2MetricTarget.md +11 -0
  630. data/docs/V2beta2MetricValueStatus.md +10 -0
  631. data/docs/V2beta2ObjectMetricSource.md +10 -0
  632. data/docs/V2beta2ObjectMetricStatus.md +10 -0
  633. data/docs/V2beta2PodsMetricSource.md +9 -0
  634. data/docs/V2beta2PodsMetricStatus.md +9 -0
  635. data/docs/V2beta2ResourceMetricSource.md +9 -0
  636. data/docs/V2beta2ResourceMetricStatus.md +9 -0
  637. data/docs/VersionApi.md +56 -0
  638. data/docs/VersionInfo.md +16 -0
  639. data/git_push.sh +55 -0
  640. data/kubernetes.gemspec +45 -0
  641. data/lib/kubernetes.rb +679 -0
  642. data/lib/kubernetes/api/admissionregistration_api.rb +72 -0
  643. data/lib/kubernetes/api/admissionregistration_v1alpha1_api.rb +558 -0
  644. data/lib/kubernetes/api/admissionregistration_v1beta1_api.rb +1044 -0
  645. data/lib/kubernetes/api/apiextensions_api.rb +72 -0
  646. data/lib/kubernetes/api/apiextensions_v1beta1_api.rb +750 -0
  647. data/lib/kubernetes/api/apiregistration_api.rb +72 -0
  648. data/lib/kubernetes/api/apiregistration_v1_api.rb +750 -0
  649. data/lib/kubernetes/api/apiregistration_v1beta1_api.rb +750 -0
  650. data/lib/kubernetes/api/apis_api.rb +72 -0
  651. data/lib/kubernetes/api/apps_api.rb +72 -0
  652. data/lib/kubernetes/api/apps_v1_api.rb +4562 -0
  653. data/lib/kubernetes/api/apps_v1beta1_api.rb +2800 -0
  654. data/lib/kubernetes/api/apps_v1beta2_api.rb +4562 -0
  655. data/lib/kubernetes/api/auditregistration_api.rb +72 -0
  656. data/lib/kubernetes/api/auditregistration_v1alpha1_api.rb +558 -0
  657. data/lib/kubernetes/api/authentication_api.rb +72 -0
  658. data/lib/kubernetes/api/authentication_v1_api.rb +136 -0
  659. data/lib/kubernetes/api/authentication_v1beta1_api.rb +136 -0
  660. data/lib/kubernetes/api/authorization_api.rb +72 -0
  661. data/lib/kubernetes/api/authorization_v1_api.rb +334 -0
  662. data/lib/kubernetes/api/authorization_v1beta1_api.rb +334 -0
  663. data/lib/kubernetes/api/autoscaling_api.rb +72 -0
  664. data/lib/kubernetes/api/autoscaling_v1_api.rb +886 -0
  665. data/lib/kubernetes/api/autoscaling_v2beta1_api.rb +886 -0
  666. data/lib/kubernetes/api/autoscaling_v2beta2_api.rb +886 -0
  667. data/lib/kubernetes/api/batch_api.rb +72 -0
  668. data/lib/kubernetes/api/batch_v1_api.rb +886 -0
  669. data/lib/kubernetes/api/batch_v1beta1_api.rb +886 -0
  670. data/lib/kubernetes/api/batch_v2alpha1_api.rb +886 -0
  671. data/lib/kubernetes/api/certificates_api.rb +72 -0
  672. data/lib/kubernetes/api/certificates_v1beta1_api.rb +817 -0
  673. data/lib/kubernetes/api/coordination_api.rb +72 -0
  674. data/lib/kubernetes/api/coordination_v1beta1_api.rb +676 -0
  675. data/lib/kubernetes/api/core_api.rb +72 -0
  676. data/lib/kubernetes/api/core_v1_api.rb +14132 -0
  677. data/lib/kubernetes/api/custom_objects_api.rb +1969 -0
  678. data/lib/kubernetes/api/events_api.rb +72 -0
  679. data/lib/kubernetes/api/events_v1beta1_api.rb +676 -0
  680. data/lib/kubernetes/api/extensions_api.rb +72 -0
  681. data/lib/kubernetes/api/extensions_v1beta1_api.rb +5124 -0
  682. data/lib/kubernetes/api/logs_api.rb +117 -0
  683. data/lib/kubernetes/api/networking_api.rb +72 -0
  684. data/lib/kubernetes/api/networking_v1_api.rb +676 -0
  685. data/lib/kubernetes/api/policy_api.rb +72 -0
  686. data/lib/kubernetes/api/policy_v1beta1_api.rb +1372 -0
  687. data/lib/kubernetes/api/rbac_authorization_api.rb +72 -0
  688. data/lib/kubernetes/api/rbac_authorization_v1_api.rb +2228 -0
  689. data/lib/kubernetes/api/rbac_authorization_v1alpha1_api.rb +2228 -0
  690. data/lib/kubernetes/api/rbac_authorization_v1beta1_api.rb +2228 -0
  691. data/lib/kubernetes/api/scheduling_api.rb +72 -0
  692. data/lib/kubernetes/api/scheduling_v1alpha1_api.rb +558 -0
  693. data/lib/kubernetes/api/scheduling_v1beta1_api.rb +558 -0
  694. data/lib/kubernetes/api/settings_api.rb +72 -0
  695. data/lib/kubernetes/api/settings_v1alpha1_api.rb +676 -0
  696. data/lib/kubernetes/api/storage_api.rb +72 -0
  697. data/lib/kubernetes/api/storage_v1_api.rb +1236 -0
  698. data/lib/kubernetes/api/storage_v1alpha1_api.rb +558 -0
  699. data/lib/kubernetes/api/storage_v1beta1_api.rb +1044 -0
  700. data/lib/kubernetes/api/version_api.rb +72 -0
  701. data/lib/kubernetes/api_client.rb +389 -0
  702. data/lib/kubernetes/api_error.rb +38 -0
  703. data/lib/kubernetes/configuration.rb +209 -0
  704. data/lib/kubernetes/models/admissionregistration_v1beta1_service_reference.rb +219 -0
  705. data/lib/kubernetes/models/admissionregistration_v1beta1_webhook_client_config.rb +225 -0
  706. data/lib/kubernetes/models/apiextensions_v1beta1_service_reference.rb +219 -0
  707. data/lib/kubernetes/models/apiextensions_v1beta1_webhook_client_config.rb +225 -0
  708. data/lib/kubernetes/models/apiregistration_v1beta1_service_reference.rb +199 -0
  709. data/lib/kubernetes/models/apps_v1beta1_deployment.rb +229 -0
  710. data/lib/kubernetes/models/apps_v1beta1_deployment_condition.rb +249 -0
  711. data/lib/kubernetes/models/apps_v1beta1_deployment_list.rb +226 -0
  712. data/lib/kubernetes/models/apps_v1beta1_deployment_rollback.rb +241 -0
  713. data/lib/kubernetes/models/apps_v1beta1_deployment_spec.rb +274 -0
  714. data/lib/kubernetes/models/apps_v1beta1_deployment_status.rb +261 -0
  715. data/lib/kubernetes/models/apps_v1beta1_deployment_strategy.rb +199 -0
  716. data/lib/kubernetes/models/apps_v1beta1_rollback_config.rb +189 -0
  717. data/lib/kubernetes/models/apps_v1beta1_rolling_update_deployment.rb +199 -0
  718. data/lib/kubernetes/models/apps_v1beta1_scale.rb +229 -0
  719. data/lib/kubernetes/models/apps_v1beta1_scale_spec.rb +189 -0
  720. data/lib/kubernetes/models/apps_v1beta1_scale_status.rb +216 -0
  721. data/lib/kubernetes/models/extensions_v1beta1_allowed_flex_volume.rb +194 -0
  722. data/lib/kubernetes/models/extensions_v1beta1_allowed_host_path.rb +199 -0
  723. data/lib/kubernetes/models/extensions_v1beta1_deployment.rb +229 -0
  724. data/lib/kubernetes/models/extensions_v1beta1_deployment_condition.rb +249 -0
  725. data/lib/kubernetes/models/extensions_v1beta1_deployment_list.rb +226 -0
  726. data/lib/kubernetes/models/extensions_v1beta1_deployment_rollback.rb +241 -0
  727. data/lib/kubernetes/models/extensions_v1beta1_deployment_spec.rb +274 -0
  728. data/lib/kubernetes/models/extensions_v1beta1_deployment_status.rb +261 -0
  729. data/lib/kubernetes/models/extensions_v1beta1_deployment_strategy.rb +199 -0
  730. data/lib/kubernetes/models/extensions_v1beta1_fs_group_strategy_options.rb +201 -0
  731. data/lib/kubernetes/models/extensions_v1beta1_host_port_range.rb +209 -0
  732. data/lib/kubernetes/models/extensions_v1beta1_id_range.rb +209 -0
  733. data/lib/kubernetes/models/extensions_v1beta1_pod_security_policy.rb +219 -0
  734. data/lib/kubernetes/models/extensions_v1beta1_pod_security_policy_list.rb +226 -0
  735. data/lib/kubernetes/models/extensions_v1beta1_pod_security_policy_spec.rb +439 -0
  736. data/lib/kubernetes/models/extensions_v1beta1_rollback_config.rb +189 -0
  737. data/lib/kubernetes/models/extensions_v1beta1_rolling_update_deployment.rb +199 -0
  738. data/lib/kubernetes/models/extensions_v1beta1_run_as_group_strategy_options.rb +206 -0
  739. data/lib/kubernetes/models/extensions_v1beta1_run_as_user_strategy_options.rb +206 -0
  740. data/lib/kubernetes/models/extensions_v1beta1_scale.rb +229 -0
  741. data/lib/kubernetes/models/extensions_v1beta1_scale_spec.rb +189 -0
  742. data/lib/kubernetes/models/extensions_v1beta1_scale_status.rb +216 -0
  743. data/lib/kubernetes/models/extensions_v1beta1_se_linux_strategy_options.rb +204 -0
  744. data/lib/kubernetes/models/extensions_v1beta1_supplemental_groups_strategy_options.rb +201 -0
  745. data/lib/kubernetes/models/policy_v1beta1_allowed_flex_volume.rb +194 -0
  746. data/lib/kubernetes/models/policy_v1beta1_allowed_host_path.rb +199 -0
  747. data/lib/kubernetes/models/policy_v1beta1_fs_group_strategy_options.rb +201 -0
  748. data/lib/kubernetes/models/policy_v1beta1_host_port_range.rb +209 -0
  749. data/lib/kubernetes/models/policy_v1beta1_id_range.rb +209 -0
  750. data/lib/kubernetes/models/policy_v1beta1_pod_security_policy.rb +219 -0
  751. data/lib/kubernetes/models/policy_v1beta1_pod_security_policy_list.rb +226 -0
  752. data/lib/kubernetes/models/policy_v1beta1_pod_security_policy_spec.rb +439 -0
  753. data/lib/kubernetes/models/policy_v1beta1_run_as_group_strategy_options.rb +206 -0
  754. data/lib/kubernetes/models/policy_v1beta1_run_as_user_strategy_options.rb +206 -0
  755. data/lib/kubernetes/models/policy_v1beta1_se_linux_strategy_options.rb +204 -0
  756. data/lib/kubernetes/models/policy_v1beta1_supplemental_groups_strategy_options.rb +201 -0
  757. data/lib/kubernetes/models/runtime_raw_extension.rb +213 -0
  758. data/lib/kubernetes/models/v1_affinity.rb +209 -0
  759. data/lib/kubernetes/models/v1_aggregation_rule.rb +191 -0
  760. data/lib/kubernetes/models/v1_api_group.rb +253 -0
  761. data/lib/kubernetes/models/v1_api_group_list.rb +216 -0
  762. data/lib/kubernetes/models/v1_api_resource.rb +300 -0
  763. data/lib/kubernetes/models/v1_api_resource_list.rb +231 -0
  764. data/lib/kubernetes/models/v1_api_service.rb +228 -0
  765. data/lib/kubernetes/models/v1_api_service_condition.rb +239 -0
  766. data/lib/kubernetes/models/v1_api_service_list.rb +224 -0
  767. data/lib/kubernetes/models/v1_api_service_spec.rb +280 -0
  768. data/lib/kubernetes/models/v1_api_service_status.rb +191 -0
  769. data/lib/kubernetes/models/v1_api_versions.rb +233 -0
  770. data/lib/kubernetes/models/v1_attached_volume.rb +209 -0
  771. data/lib/kubernetes/models/v1_aws_elastic_block_store_volume_source.rb +224 -0
  772. data/lib/kubernetes/models/v1_azure_disk_volume_source.rb +249 -0
  773. data/lib/kubernetes/models/v1_azure_file_persistent_volume_source.rb +229 -0
  774. data/lib/kubernetes/models/v1_azure_file_volume_source.rb +219 -0
  775. data/lib/kubernetes/models/v1_binding.rb +224 -0
  776. data/lib/kubernetes/models/v1_capabilities.rb +203 -0
  777. data/lib/kubernetes/models/v1_ceph_fs_persistent_volume_source.rb +246 -0
  778. data/lib/kubernetes/models/v1_ceph_fs_volume_source.rb +246 -0
  779. data/lib/kubernetes/models/v1_cinder_persistent_volume_source.rb +224 -0
  780. data/lib/kubernetes/models/v1_cinder_volume_source.rb +224 -0
  781. data/lib/kubernetes/models/v1_client_ip_config.rb +189 -0
  782. data/lib/kubernetes/models/v1_cluster_role.rb +236 -0
  783. data/lib/kubernetes/models/v1_cluster_role_binding.rb +236 -0
  784. data/lib/kubernetes/models/v1_cluster_role_binding_list.rb +226 -0
  785. data/lib/kubernetes/models/v1_cluster_role_list.rb +226 -0
  786. data/lib/kubernetes/models/v1_component_condition.rb +229 -0
  787. data/lib/kubernetes/models/v1_component_status.rb +221 -0
  788. data/lib/kubernetes/models/v1_component_status_list.rb +226 -0
  789. data/lib/kubernetes/models/v1_config_map.rb +233 -0
  790. data/lib/kubernetes/models/v1_config_map_env_source.rb +199 -0
  791. data/lib/kubernetes/models/v1_config_map_key_selector.rb +214 -0
  792. data/lib/kubernetes/models/v1_config_map_list.rb +226 -0
  793. data/lib/kubernetes/models/v1_config_map_node_config_source.rb +244 -0
  794. data/lib/kubernetes/models/v1_config_map_projection.rb +211 -0
  795. data/lib/kubernetes/models/v1_config_map_volume_source.rb +221 -0
  796. data/lib/kubernetes/models/v1_container.rb +408 -0
  797. data/lib/kubernetes/models/v1_container_image.rb +206 -0
  798. data/lib/kubernetes/models/v1_container_port.rb +234 -0
  799. data/lib/kubernetes/models/v1_container_state.rb +209 -0
  800. data/lib/kubernetes/models/v1_container_state_running.rb +189 -0
  801. data/lib/kubernetes/models/v1_container_state_terminated.rb +254 -0
  802. data/lib/kubernetes/models/v1_container_state_waiting.rb +199 -0
  803. data/lib/kubernetes/models/v1_container_status.rb +284 -0
  804. data/lib/kubernetes/models/v1_controller_revision.rb +234 -0
  805. data/lib/kubernetes/models/v1_controller_revision_list.rb +226 -0
  806. data/lib/kubernetes/models/v1_cross_version_object_reference.rb +219 -0
  807. data/lib/kubernetes/models/v1_csi_persistent_volume_source.rb +271 -0
  808. data/lib/kubernetes/models/v1_daemon_endpoint.rb +194 -0
  809. data/lib/kubernetes/models/v1_daemon_set.rb +229 -0
  810. data/lib/kubernetes/models/v1_daemon_set_condition.rb +239 -0
  811. data/lib/kubernetes/models/v1_daemon_set_list.rb +226 -0
  812. data/lib/kubernetes/models/v1_daemon_set_spec.rb +239 -0
  813. data/lib/kubernetes/models/v1_daemon_set_status.rb +301 -0
  814. data/lib/kubernetes/models/v1_daemon_set_update_strategy.rb +199 -0
  815. data/lib/kubernetes/models/v1_delete_options.rb +251 -0
  816. data/lib/kubernetes/models/v1_deployment.rb +229 -0
  817. data/lib/kubernetes/models/v1_deployment_condition.rb +249 -0
  818. data/lib/kubernetes/models/v1_deployment_list.rb +226 -0
  819. data/lib/kubernetes/models/v1_deployment_spec.rb +269 -0
  820. data/lib/kubernetes/models/v1_deployment_status.rb +261 -0
  821. data/lib/kubernetes/models/v1_deployment_strategy.rb +199 -0
  822. data/lib/kubernetes/models/v1_downward_api_projection.rb +191 -0
  823. data/lib/kubernetes/models/v1_downward_api_volume_file.rb +224 -0
  824. data/lib/kubernetes/models/v1_downward_api_volume_source.rb +201 -0
  825. data/lib/kubernetes/models/v1_empty_dir_volume_source.rb +199 -0
  826. data/lib/kubernetes/models/v1_endpoint_address.rb +224 -0
  827. data/lib/kubernetes/models/v1_endpoint_port.rb +214 -0
  828. data/lib/kubernetes/models/v1_endpoint_subset.rb +215 -0
  829. data/lib/kubernetes/models/v1_endpoints.rb +221 -0
  830. data/lib/kubernetes/models/v1_endpoints_list.rb +226 -0
  831. data/lib/kubernetes/models/v1_env_from_source.rb +209 -0
  832. data/lib/kubernetes/models/v1_env_var.rb +214 -0
  833. data/lib/kubernetes/models/v1_env_var_source.rb +219 -0
  834. data/lib/kubernetes/models/v1_event.rb +359 -0
  835. data/lib/kubernetes/models/v1_event_list.rb +226 -0
  836. data/lib/kubernetes/models/v1_event_series.rb +209 -0
  837. data/lib/kubernetes/models/v1_event_source.rb +199 -0
  838. data/lib/kubernetes/models/v1_exec_action.rb +191 -0
  839. data/lib/kubernetes/models/v1_fc_volume_source.rb +233 -0
  840. data/lib/kubernetes/models/v1_flex_persistent_volume_source.rb +236 -0
  841. data/lib/kubernetes/models/v1_flex_volume_source.rb +236 -0
  842. data/lib/kubernetes/models/v1_flocker_volume_source.rb +199 -0
  843. data/lib/kubernetes/models/v1_gce_persistent_disk_volume_source.rb +224 -0
  844. data/lib/kubernetes/models/v1_git_repo_volume_source.rb +214 -0
  845. data/lib/kubernetes/models/v1_glusterfs_persistent_volume_source.rb +229 -0
  846. data/lib/kubernetes/models/v1_glusterfs_volume_source.rb +219 -0
  847. data/lib/kubernetes/models/v1_group_version_for_discovery.rb +209 -0
  848. data/lib/kubernetes/models/v1_handler.rb +209 -0
  849. data/lib/kubernetes/models/v1_horizontal_pod_autoscaler.rb +229 -0
  850. data/lib/kubernetes/models/v1_horizontal_pod_autoscaler_list.rb +226 -0
  851. data/lib/kubernetes/models/v1_horizontal_pod_autoscaler_spec.rb +229 -0
  852. data/lib/kubernetes/models/v1_horizontal_pod_autoscaler_status.rb +239 -0
  853. data/lib/kubernetes/models/v1_host_alias.rb +201 -0
  854. data/lib/kubernetes/models/v1_host_path_volume_source.rb +204 -0
  855. data/lib/kubernetes/models/v1_http_get_action.rb +236 -0
  856. data/lib/kubernetes/models/v1_http_header.rb +209 -0
  857. data/lib/kubernetes/models/v1_initializer.rb +194 -0
  858. data/lib/kubernetes/models/v1_initializers.rb +206 -0
  859. data/lib/kubernetes/models/v1_ip_block.rb +206 -0
  860. data/lib/kubernetes/models/v1_iscsi_persistent_volume_source.rb +306 -0
  861. data/lib/kubernetes/models/v1_iscsi_volume_source.rb +306 -0
  862. data/lib/kubernetes/models/v1_job.rb +229 -0
  863. data/lib/kubernetes/models/v1_job_condition.rb +249 -0
  864. data/lib/kubernetes/models/v1_job_list.rb +226 -0
  865. data/lib/kubernetes/models/v1_job_spec.rb +264 -0
  866. data/lib/kubernetes/models/v1_job_status.rb +241 -0
  867. data/lib/kubernetes/models/v1_key_to_path.rb +219 -0
  868. data/lib/kubernetes/models/v1_label_selector.rb +203 -0
  869. data/lib/kubernetes/models/v1_label_selector_requirement.rb +221 -0
  870. data/lib/kubernetes/models/v1_lifecycle.rb +199 -0
  871. data/lib/kubernetes/models/v1_limit_range.rb +219 -0
  872. data/lib/kubernetes/models/v1_limit_range_item.rb +249 -0
  873. data/lib/kubernetes/models/v1_limit_range_list.rb +226 -0
  874. data/lib/kubernetes/models/v1_limit_range_spec.rb +196 -0
  875. data/lib/kubernetes/models/v1_list_meta.rb +209 -0
  876. data/lib/kubernetes/models/v1_load_balancer_ingress.rb +199 -0
  877. data/lib/kubernetes/models/v1_load_balancer_status.rb +191 -0
  878. data/lib/kubernetes/models/v1_local_object_reference.rb +189 -0
  879. data/lib/kubernetes/models/v1_local_subject_access_review.rb +233 -0
  880. data/lib/kubernetes/models/v1_local_volume_source.rb +204 -0
  881. data/lib/kubernetes/models/v1_namespace.rb +229 -0
  882. data/lib/kubernetes/models/v1_namespace_list.rb +226 -0
  883. data/lib/kubernetes/models/v1_namespace_spec.rb +191 -0
  884. data/lib/kubernetes/models/v1_namespace_status.rb +189 -0
  885. data/lib/kubernetes/models/v1_network_policy.rb +219 -0
  886. data/lib/kubernetes/models/v1_network_policy_egress_rule.rb +203 -0
  887. data/lib/kubernetes/models/v1_network_policy_ingress_rule.rb +203 -0
  888. data/lib/kubernetes/models/v1_network_policy_list.rb +226 -0
  889. data/lib/kubernetes/models/v1_network_policy_peer.rb +209 -0
  890. data/lib/kubernetes/models/v1_network_policy_port.rb +199 -0
  891. data/lib/kubernetes/models/v1_network_policy_spec.rb +230 -0
  892. data/lib/kubernetes/models/v1_nfs_volume_source.rb +219 -0
  893. data/lib/kubernetes/models/v1_node.rb +229 -0
  894. data/lib/kubernetes/models/v1_node_address.rb +209 -0
  895. data/lib/kubernetes/models/v1_node_affinity.rb +201 -0
  896. data/lib/kubernetes/models/v1_node_condition.rb +249 -0
  897. data/lib/kubernetes/models/v1_node_config_source.rb +189 -0
  898. data/lib/kubernetes/models/v1_node_config_status.rb +219 -0
  899. data/lib/kubernetes/models/v1_node_daemon_endpoints.rb +189 -0
  900. data/lib/kubernetes/models/v1_node_list.rb +226 -0
  901. data/lib/kubernetes/models/v1_node_selector.rb +196 -0
  902. data/lib/kubernetes/models/v1_node_selector_requirement.rb +221 -0
  903. data/lib/kubernetes/models/v1_node_selector_term.rb +203 -0
  904. data/lib/kubernetes/models/v1_node_spec.rb +241 -0
  905. data/lib/kubernetes/models/v1_node_status.rb +303 -0
  906. data/lib/kubernetes/models/v1_node_system_info.rb +329 -0
  907. data/lib/kubernetes/models/v1_non_resource_attributes.rb +199 -0
  908. data/lib/kubernetes/models/v1_non_resource_rule.rb +208 -0
  909. data/lib/kubernetes/models/v1_object_field_selector.rb +204 -0
  910. data/lib/kubernetes/models/v1_object_meta.rb +347 -0
  911. data/lib/kubernetes/models/v1_object_reference.rb +249 -0
  912. data/lib/kubernetes/models/v1_owner_reference.rb +259 -0
  913. data/lib/kubernetes/models/v1_persistent_volume.rb +229 -0
  914. data/lib/kubernetes/models/v1_persistent_volume_claim.rb +229 -0
  915. data/lib/kubernetes/models/v1_persistent_volume_claim_condition.rb +247 -0
  916. data/lib/kubernetes/models/v1_persistent_volume_claim_list.rb +226 -0
  917. data/lib/kubernetes/models/v1_persistent_volume_claim_spec.rb +251 -0
  918. data/lib/kubernetes/models/v1_persistent_volume_claim_status.rb +225 -0
  919. data/lib/kubernetes/models/v1_persistent_volume_claim_volume_source.rb +204 -0
  920. data/lib/kubernetes/models/v1_persistent_volume_list.rb +226 -0
  921. data/lib/kubernetes/models/v1_persistent_volume_spec.rb +485 -0
  922. data/lib/kubernetes/models/v1_persistent_volume_status.rb +209 -0
  923. data/lib/kubernetes/models/v1_photon_persistent_disk_volume_source.rb +204 -0
  924. data/lib/kubernetes/models/v1_pod.rb +229 -0
  925. data/lib/kubernetes/models/v1_pod_affinity.rb +203 -0
  926. data/lib/kubernetes/models/v1_pod_affinity_term.rb +216 -0
  927. data/lib/kubernetes/models/v1_pod_anti_affinity.rb +203 -0
  928. data/lib/kubernetes/models/v1_pod_condition.rb +249 -0
  929. data/lib/kubernetes/models/v1_pod_dns_config.rb +215 -0
  930. data/lib/kubernetes/models/v1_pod_dns_config_option.rb +198 -0
  931. data/lib/kubernetes/models/v1_pod_list.rb +226 -0
  932. data/lib/kubernetes/models/v1_pod_readiness_gate.rb +194 -0
  933. data/lib/kubernetes/models/v1_pod_security_context.rb +253 -0
  934. data/lib/kubernetes/models/v1_pod_spec.rb +500 -0
  935. data/lib/kubernetes/models/v1_pod_status.rb +295 -0
  936. data/lib/kubernetes/models/v1_pod_template.rb +219 -0
  937. data/lib/kubernetes/models/v1_pod_template_list.rb +226 -0
  938. data/lib/kubernetes/models/v1_pod_template_spec.rb +199 -0
  939. data/lib/kubernetes/models/v1_policy_rule.rb +244 -0
  940. data/lib/kubernetes/models/v1_portworx_volume_source.rb +214 -0
  941. data/lib/kubernetes/models/v1_preconditions.rb +189 -0
  942. data/lib/kubernetes/models/v1_preferred_scheduling_term.rb +209 -0
  943. data/lib/kubernetes/models/v1_probe.rb +259 -0
  944. data/lib/kubernetes/models/v1_projected_volume_source.rb +206 -0
  945. data/lib/kubernetes/models/v1_quobyte_volume_source.rb +239 -0
  946. data/lib/kubernetes/models/v1_rbd_persistent_volume_source.rb +271 -0
  947. data/lib/kubernetes/models/v1_rbd_volume_source.rb +271 -0
  948. data/lib/kubernetes/models/v1_replica_set.rb +229 -0
  949. data/lib/kubernetes/models/v1_replica_set_condition.rb +239 -0
  950. data/lib/kubernetes/models/v1_replica_set_list.rb +226 -0
  951. data/lib/kubernetes/models/v1_replica_set_spec.rb +224 -0
  952. data/lib/kubernetes/models/v1_replica_set_status.rb +246 -0
  953. data/lib/kubernetes/models/v1_replication_controller.rb +229 -0
  954. data/lib/kubernetes/models/v1_replication_controller_condition.rb +239 -0
  955. data/lib/kubernetes/models/v1_replication_controller_list.rb +226 -0
  956. data/lib/kubernetes/models/v1_replication_controller_spec.rb +221 -0
  957. data/lib/kubernetes/models/v1_replication_controller_status.rb +246 -0
  958. data/lib/kubernetes/models/v1_resource_attributes.rb +249 -0
  959. data/lib/kubernetes/models/v1_resource_field_selector.rb +214 -0
  960. data/lib/kubernetes/models/v1_resource_quota.rb +229 -0
  961. data/lib/kubernetes/models/v1_resource_quota_list.rb +226 -0
  962. data/lib/kubernetes/models/v1_resource_quota_spec.rb +213 -0
  963. data/lib/kubernetes/models/v1_resource_quota_status.rb +203 -0
  964. data/lib/kubernetes/models/v1_resource_requirements.rb +203 -0
  965. data/lib/kubernetes/models/v1_resource_rule.rb +232 -0
  966. data/lib/kubernetes/models/v1_role.rb +226 -0
  967. data/lib/kubernetes/models/v1_role_binding.rb +236 -0
  968. data/lib/kubernetes/models/v1_role_binding_list.rb +226 -0
  969. data/lib/kubernetes/models/v1_role_list.rb +226 -0
  970. data/lib/kubernetes/models/v1_role_ref.rb +224 -0
  971. data/lib/kubernetes/models/v1_rolling_update_daemon_set.rb +189 -0
  972. data/lib/kubernetes/models/v1_rolling_update_deployment.rb +199 -0
  973. data/lib/kubernetes/models/v1_rolling_update_stateful_set_strategy.rb +189 -0
  974. data/lib/kubernetes/models/v1_scale.rb +229 -0
  975. data/lib/kubernetes/models/v1_scale_io_persistent_volume_source.rb +294 -0
  976. data/lib/kubernetes/models/v1_scale_io_volume_source.rb +294 -0
  977. data/lib/kubernetes/models/v1_scale_spec.rb +189 -0
  978. data/lib/kubernetes/models/v1_scale_status.rb +204 -0
  979. data/lib/kubernetes/models/v1_scope_selector.rb +191 -0
  980. data/lib/kubernetes/models/v1_scoped_resource_selector_requirement.rb +221 -0
  981. data/lib/kubernetes/models/v1_se_linux_options.rb +219 -0
  982. data/lib/kubernetes/models/v1_secret.rb +243 -0
  983. data/lib/kubernetes/models/v1_secret_env_source.rb +199 -0
  984. data/lib/kubernetes/models/v1_secret_key_selector.rb +214 -0
  985. data/lib/kubernetes/models/v1_secret_list.rb +226 -0
  986. data/lib/kubernetes/models/v1_secret_projection.rb +211 -0
  987. data/lib/kubernetes/models/v1_secret_reference.rb +199 -0
  988. data/lib/kubernetes/models/v1_secret_volume_source.rb +221 -0
  989. data/lib/kubernetes/models/v1_security_context.rb +269 -0
  990. data/lib/kubernetes/models/v1_self_subject_access_review.rb +233 -0
  991. data/lib/kubernetes/models/v1_self_subject_access_review_spec.rb +199 -0
  992. data/lib/kubernetes/models/v1_self_subject_rules_review.rb +233 -0
  993. data/lib/kubernetes/models/v1_self_subject_rules_review_spec.rb +189 -0
  994. data/lib/kubernetes/models/v1_server_address_by_client_cidr.rb +209 -0
  995. data/lib/kubernetes/models/v1_service.rb +229 -0
  996. data/lib/kubernetes/models/v1_service_account.rb +243 -0
  997. data/lib/kubernetes/models/v1_service_account_list.rb +226 -0
  998. data/lib/kubernetes/models/v1_service_account_token_projection.rb +214 -0
  999. data/lib/kubernetes/models/v1_service_list.rb +226 -0
  1000. data/lib/kubernetes/models/v1_service_port.rb +234 -0
  1001. data/lib/kubernetes/models/v1_service_reference.rb +199 -0
  1002. data/lib/kubernetes/models/v1_service_spec.rb +317 -0
  1003. data/lib/kubernetes/models/v1_service_status.rb +189 -0
  1004. data/lib/kubernetes/models/v1_session_affinity_config.rb +189 -0
  1005. data/lib/kubernetes/models/v1_stateful_set.rb +228 -0
  1006. data/lib/kubernetes/models/v1_stateful_set_condition.rb +239 -0
  1007. data/lib/kubernetes/models/v1_stateful_set_list.rb +224 -0
  1008. data/lib/kubernetes/models/v1_stateful_set_spec.rb +276 -0
  1009. data/lib/kubernetes/models/v1_stateful_set_status.rb +276 -0
  1010. data/lib/kubernetes/models/v1_stateful_set_update_strategy.rb +199 -0
  1011. data/lib/kubernetes/models/v1_status.rb +259 -0
  1012. data/lib/kubernetes/models/v1_status_cause.rb +209 -0
  1013. data/lib/kubernetes/models/v1_status_details.rb +241 -0
  1014. data/lib/kubernetes/models/v1_storage_class.rb +290 -0
  1015. data/lib/kubernetes/models/v1_storage_class_list.rb +226 -0
  1016. data/lib/kubernetes/models/v1_storage_os_persistent_volume_source.rb +229 -0
  1017. data/lib/kubernetes/models/v1_storage_os_volume_source.rb +229 -0
  1018. data/lib/kubernetes/models/v1_subject.rb +229 -0
  1019. data/lib/kubernetes/models/v1_subject_access_review.rb +233 -0
  1020. data/lib/kubernetes/models/v1_subject_access_review_spec.rb +243 -0
  1021. data/lib/kubernetes/models/v1_subject_access_review_status.rb +224 -0
  1022. data/lib/kubernetes/models/v1_subject_rules_review_status.rb +238 -0
  1023. data/lib/kubernetes/models/v1_sysctl.rb +209 -0
  1024. data/lib/kubernetes/models/v1_taint.rb +229 -0
  1025. data/lib/kubernetes/models/v1_tcp_socket_action.rb +204 -0
  1026. data/lib/kubernetes/models/v1_token_review.rb +233 -0
  1027. data/lib/kubernetes/models/v1_token_review_spec.rb +201 -0
  1028. data/lib/kubernetes/models/v1_token_review_status.rb +221 -0
  1029. data/lib/kubernetes/models/v1_toleration.rb +229 -0
  1030. data/lib/kubernetes/models/v1_topology_selector_label_requirement.rb +211 -0
  1031. data/lib/kubernetes/models/v1_topology_selector_term.rb +191 -0
  1032. data/lib/kubernetes/models/v1_typed_local_object_reference.rb +219 -0
  1033. data/lib/kubernetes/models/v1_user_info.rb +223 -0
  1034. data/lib/kubernetes/models/v1_volume.rb +464 -0
  1035. data/lib/kubernetes/models/v1_volume_attachment.rb +234 -0
  1036. data/lib/kubernetes/models/v1_volume_attachment_list.rb +226 -0
  1037. data/lib/kubernetes/models/v1_volume_attachment_source.rb +189 -0
  1038. data/lib/kubernetes/models/v1_volume_attachment_spec.rb +224 -0
  1039. data/lib/kubernetes/models/v1_volume_attachment_status.rb +226 -0
  1040. data/lib/kubernetes/models/v1_volume_device.rb +209 -0
  1041. data/lib/kubernetes/models/v1_volume_error.rb +199 -0
  1042. data/lib/kubernetes/models/v1_volume_mount.rb +239 -0
  1043. data/lib/kubernetes/models/v1_volume_node_affinity.rb +189 -0
  1044. data/lib/kubernetes/models/v1_volume_projection.rb +219 -0
  1045. data/lib/kubernetes/models/v1_vsphere_virtual_disk_volume_source.rb +224 -0
  1046. data/lib/kubernetes/models/v1_watch_event.rb +208 -0
  1047. data/lib/kubernetes/models/v1_weighted_pod_affinity_term.rb +209 -0
  1048. data/lib/kubernetes/models/v1alpha1_aggregation_rule.rb +191 -0
  1049. data/lib/kubernetes/models/v1alpha1_audit_sink.rb +218 -0
  1050. data/lib/kubernetes/models/v1alpha1_audit_sink_list.rb +225 -0
  1051. data/lib/kubernetes/models/v1alpha1_audit_sink_spec.rb +209 -0
  1052. data/lib/kubernetes/models/v1alpha1_cluster_role.rb +236 -0
  1053. data/lib/kubernetes/models/v1alpha1_cluster_role_binding.rb +236 -0
  1054. data/lib/kubernetes/models/v1alpha1_cluster_role_binding_list.rb +226 -0
  1055. data/lib/kubernetes/models/v1alpha1_cluster_role_list.rb +226 -0
  1056. data/lib/kubernetes/models/v1alpha1_initializer.rb +206 -0
  1057. data/lib/kubernetes/models/v1alpha1_initializer_configuration.rb +221 -0
  1058. data/lib/kubernetes/models/v1alpha1_initializer_configuration_list.rb +226 -0
  1059. data/lib/kubernetes/models/v1alpha1_pod_preset.rb +217 -0
  1060. data/lib/kubernetes/models/v1alpha1_pod_preset_list.rb +226 -0
  1061. data/lib/kubernetes/models/v1alpha1_pod_preset_spec.rb +237 -0
  1062. data/lib/kubernetes/models/v1alpha1_policy.rb +206 -0
  1063. data/lib/kubernetes/models/v1alpha1_policy_rule.rb +244 -0
  1064. data/lib/kubernetes/models/v1alpha1_priority_class.rb +244 -0
  1065. data/lib/kubernetes/models/v1alpha1_priority_class_list.rb +226 -0
  1066. data/lib/kubernetes/models/v1alpha1_role.rb +226 -0
  1067. data/lib/kubernetes/models/v1alpha1_role_binding.rb +236 -0
  1068. data/lib/kubernetes/models/v1alpha1_role_binding_list.rb +226 -0
  1069. data/lib/kubernetes/models/v1alpha1_role_list.rb +226 -0
  1070. data/lib/kubernetes/models/v1alpha1_role_ref.rb +224 -0
  1071. data/lib/kubernetes/models/v1alpha1_rule.rb +215 -0
  1072. data/lib/kubernetes/models/v1alpha1_service_reference.rb +219 -0
  1073. data/lib/kubernetes/models/v1alpha1_subject.rb +229 -0
  1074. data/lib/kubernetes/models/v1alpha1_volume_attachment.rb +234 -0
  1075. data/lib/kubernetes/models/v1alpha1_volume_attachment_list.rb +226 -0
  1076. data/lib/kubernetes/models/v1alpha1_volume_attachment_source.rb +189 -0
  1077. data/lib/kubernetes/models/v1alpha1_volume_attachment_spec.rb +224 -0
  1078. data/lib/kubernetes/models/v1alpha1_volume_attachment_status.rb +226 -0
  1079. data/lib/kubernetes/models/v1alpha1_volume_error.rb +199 -0
  1080. data/lib/kubernetes/models/v1alpha1_webhook.rb +204 -0
  1081. data/lib/kubernetes/models/v1alpha1_webhook_client_config.rb +225 -0
  1082. data/lib/kubernetes/models/v1alpha1_webhook_throttle_config.rb +199 -0
  1083. data/lib/kubernetes/models/v1beta1_aggregation_rule.rb +191 -0
  1084. data/lib/kubernetes/models/v1beta1_api_service.rb +228 -0
  1085. data/lib/kubernetes/models/v1beta1_api_service_condition.rb +239 -0
  1086. data/lib/kubernetes/models/v1beta1_api_service_list.rb +224 -0
  1087. data/lib/kubernetes/models/v1beta1_api_service_spec.rb +280 -0
  1088. data/lib/kubernetes/models/v1beta1_api_service_status.rb +191 -0
  1089. data/lib/kubernetes/models/v1beta1_certificate_signing_request.rb +228 -0
  1090. data/lib/kubernetes/models/v1beta1_certificate_signing_request_condition.rb +224 -0
  1091. data/lib/kubernetes/models/v1beta1_certificate_signing_request_list.rb +224 -0
  1092. data/lib/kubernetes/models/v1beta1_certificate_signing_request_spec.rb +269 -0
  1093. data/lib/kubernetes/models/v1beta1_certificate_signing_request_status.rb +217 -0
  1094. data/lib/kubernetes/models/v1beta1_cluster_role.rb +236 -0
  1095. data/lib/kubernetes/models/v1beta1_cluster_role_binding.rb +236 -0
  1096. data/lib/kubernetes/models/v1beta1_cluster_role_binding_list.rb +226 -0
  1097. data/lib/kubernetes/models/v1beta1_cluster_role_list.rb +226 -0
  1098. data/lib/kubernetes/models/v1beta1_controller_revision.rb +234 -0
  1099. data/lib/kubernetes/models/v1beta1_controller_revision_list.rb +226 -0
  1100. data/lib/kubernetes/models/v1beta1_cron_job.rb +229 -0
  1101. data/lib/kubernetes/models/v1beta1_cron_job_list.rb +226 -0
  1102. data/lib/kubernetes/models/v1beta1_cron_job_spec.rb +259 -0
  1103. data/lib/kubernetes/models/v1beta1_cron_job_status.rb +201 -0
  1104. data/lib/kubernetes/models/v1beta1_custom_resource_column_definition.rb +254 -0
  1105. data/lib/kubernetes/models/v1beta1_custom_resource_conversion.rb +204 -0
  1106. data/lib/kubernetes/models/v1beta1_custom_resource_definition.rb +233 -0
  1107. data/lib/kubernetes/models/v1beta1_custom_resource_definition_condition.rb +239 -0
  1108. data/lib/kubernetes/models/v1beta1_custom_resource_definition_list.rb +225 -0
  1109. data/lib/kubernetes/models/v1beta1_custom_resource_definition_names.rb +253 -0
  1110. data/lib/kubernetes/models/v1beta1_custom_resource_definition_spec.rb +288 -0
  1111. data/lib/kubernetes/models/v1beta1_custom_resource_definition_status.rb +228 -0
  1112. data/lib/kubernetes/models/v1beta1_custom_resource_definition_version.rb +256 -0
  1113. data/lib/kubernetes/models/v1beta1_custom_resource_subresource_scale.rb +219 -0
  1114. data/lib/kubernetes/models/v1beta1_custom_resource_subresources.rb +199 -0
  1115. data/lib/kubernetes/models/v1beta1_custom_resource_validation.rb +189 -0
  1116. data/lib/kubernetes/models/v1beta1_daemon_set.rb +229 -0
  1117. data/lib/kubernetes/models/v1beta1_daemon_set_condition.rb +239 -0
  1118. data/lib/kubernetes/models/v1beta1_daemon_set_list.rb +226 -0
  1119. data/lib/kubernetes/models/v1beta1_daemon_set_spec.rb +244 -0
  1120. data/lib/kubernetes/models/v1beta1_daemon_set_status.rb +301 -0
  1121. data/lib/kubernetes/models/v1beta1_daemon_set_update_strategy.rb +199 -0
  1122. data/lib/kubernetes/models/v1beta1_event.rb +353 -0
  1123. data/lib/kubernetes/models/v1beta1_event_list.rb +226 -0
  1124. data/lib/kubernetes/models/v1beta1_event_series.rb +224 -0
  1125. data/lib/kubernetes/models/v1beta1_eviction.rb +219 -0
  1126. data/lib/kubernetes/models/v1beta1_external_documentation.rb +197 -0
  1127. data/lib/kubernetes/models/v1beta1_http_ingress_path.rb +204 -0
  1128. data/lib/kubernetes/models/v1beta1_http_ingress_rule_value.rb +196 -0
  1129. data/lib/kubernetes/models/v1beta1_ingress.rb +229 -0
  1130. data/lib/kubernetes/models/v1beta1_ingress_backend.rb +209 -0
  1131. data/lib/kubernetes/models/v1beta1_ingress_list.rb +226 -0
  1132. data/lib/kubernetes/models/v1beta1_ingress_rule.rb +198 -0
  1133. data/lib/kubernetes/models/v1beta1_ingress_spec.rb +213 -0
  1134. data/lib/kubernetes/models/v1beta1_ingress_status.rb +189 -0
  1135. data/lib/kubernetes/models/v1beta1_ingress_tls.rb +201 -0
  1136. data/lib/kubernetes/models/v1beta1_ip_block.rb +206 -0
  1137. data/lib/kubernetes/models/v1beta1_job_template_spec.rb +199 -0
  1138. data/lib/kubernetes/models/v1beta1_json_schema_props.rb +526 -0
  1139. data/lib/kubernetes/models/v1beta1_lease.rb +219 -0
  1140. data/lib/kubernetes/models/v1beta1_lease_list.rb +226 -0
  1141. data/lib/kubernetes/models/v1beta1_lease_spec.rb +229 -0
  1142. data/lib/kubernetes/models/v1beta1_local_subject_access_review.rb +233 -0
  1143. data/lib/kubernetes/models/v1beta1_mutating_webhook_configuration.rb +221 -0
  1144. data/lib/kubernetes/models/v1beta1_mutating_webhook_configuration_list.rb +226 -0
  1145. data/lib/kubernetes/models/v1beta1_network_policy.rb +219 -0
  1146. data/lib/kubernetes/models/v1beta1_network_policy_egress_rule.rb +203 -0
  1147. data/lib/kubernetes/models/v1beta1_network_policy_ingress_rule.rb +203 -0
  1148. data/lib/kubernetes/models/v1beta1_network_policy_list.rb +226 -0
  1149. data/lib/kubernetes/models/v1beta1_network_policy_peer.rb +209 -0
  1150. data/lib/kubernetes/models/v1beta1_network_policy_port.rb +199 -0
  1151. data/lib/kubernetes/models/v1beta1_network_policy_spec.rb +230 -0
  1152. data/lib/kubernetes/models/v1beta1_non_resource_attributes.rb +199 -0
  1153. data/lib/kubernetes/models/v1beta1_non_resource_rule.rb +208 -0
  1154. data/lib/kubernetes/models/v1beta1_pod_disruption_budget.rb +228 -0
  1155. data/lib/kubernetes/models/v1beta1_pod_disruption_budget_list.rb +224 -0
  1156. data/lib/kubernetes/models/v1beta1_pod_disruption_budget_spec.rb +209 -0
  1157. data/lib/kubernetes/models/v1beta1_pod_disruption_budget_status.rb +261 -0
  1158. data/lib/kubernetes/models/v1beta1_policy_rule.rb +244 -0
  1159. data/lib/kubernetes/models/v1beta1_priority_class.rb +244 -0
  1160. data/lib/kubernetes/models/v1beta1_priority_class_list.rb +226 -0
  1161. data/lib/kubernetes/models/v1beta1_replica_set.rb +229 -0
  1162. data/lib/kubernetes/models/v1beta1_replica_set_condition.rb +239 -0
  1163. data/lib/kubernetes/models/v1beta1_replica_set_list.rb +226 -0
  1164. data/lib/kubernetes/models/v1beta1_replica_set_spec.rb +219 -0
  1165. data/lib/kubernetes/models/v1beta1_replica_set_status.rb +246 -0
  1166. data/lib/kubernetes/models/v1beta1_resource_attributes.rb +249 -0
  1167. data/lib/kubernetes/models/v1beta1_resource_rule.rb +232 -0
  1168. data/lib/kubernetes/models/v1beta1_role.rb +226 -0
  1169. data/lib/kubernetes/models/v1beta1_role_binding.rb +236 -0
  1170. data/lib/kubernetes/models/v1beta1_role_binding_list.rb +226 -0
  1171. data/lib/kubernetes/models/v1beta1_role_list.rb +226 -0
  1172. data/lib/kubernetes/models/v1beta1_role_ref.rb +224 -0
  1173. data/lib/kubernetes/models/v1beta1_rolling_update_daemon_set.rb +189 -0
  1174. data/lib/kubernetes/models/v1beta1_rolling_update_stateful_set_strategy.rb +189 -0
  1175. data/lib/kubernetes/models/v1beta1_rule_with_operations.rb +227 -0
  1176. data/lib/kubernetes/models/v1beta1_self_subject_access_review.rb +233 -0
  1177. data/lib/kubernetes/models/v1beta1_self_subject_access_review_spec.rb +199 -0
  1178. data/lib/kubernetes/models/v1beta1_self_subject_rules_review.rb +233 -0
  1179. data/lib/kubernetes/models/v1beta1_self_subject_rules_review_spec.rb +189 -0
  1180. data/lib/kubernetes/models/v1beta1_stateful_set.rb +228 -0
  1181. data/lib/kubernetes/models/v1beta1_stateful_set_condition.rb +239 -0
  1182. data/lib/kubernetes/models/v1beta1_stateful_set_list.rb +224 -0
  1183. data/lib/kubernetes/models/v1beta1_stateful_set_spec.rb +271 -0
  1184. data/lib/kubernetes/models/v1beta1_stateful_set_status.rb +276 -0
  1185. data/lib/kubernetes/models/v1beta1_stateful_set_update_strategy.rb +199 -0
  1186. data/lib/kubernetes/models/v1beta1_storage_class.rb +290 -0
  1187. data/lib/kubernetes/models/v1beta1_storage_class_list.rb +226 -0
  1188. data/lib/kubernetes/models/v1beta1_subject.rb +229 -0
  1189. data/lib/kubernetes/models/v1beta1_subject_access_review.rb +233 -0
  1190. data/lib/kubernetes/models/v1beta1_subject_access_review_spec.rb +243 -0
  1191. data/lib/kubernetes/models/v1beta1_subject_access_review_status.rb +224 -0
  1192. data/lib/kubernetes/models/v1beta1_subject_rules_review_status.rb +238 -0
  1193. data/lib/kubernetes/models/v1beta1_token_review.rb +233 -0
  1194. data/lib/kubernetes/models/v1beta1_token_review_spec.rb +201 -0
  1195. data/lib/kubernetes/models/v1beta1_token_review_status.rb +221 -0
  1196. data/lib/kubernetes/models/v1beta1_user_info.rb +223 -0
  1197. data/lib/kubernetes/models/v1beta1_validating_webhook_configuration.rb +221 -0
  1198. data/lib/kubernetes/models/v1beta1_validating_webhook_configuration_list.rb +226 -0
  1199. data/lib/kubernetes/models/v1beta1_volume_attachment.rb +234 -0
  1200. data/lib/kubernetes/models/v1beta1_volume_attachment_list.rb +226 -0
  1201. data/lib/kubernetes/models/v1beta1_volume_attachment_source.rb +189 -0
  1202. data/lib/kubernetes/models/v1beta1_volume_attachment_spec.rb +224 -0
  1203. data/lib/kubernetes/models/v1beta1_volume_attachment_status.rb +226 -0
  1204. data/lib/kubernetes/models/v1beta1_volume_error.rb +199 -0
  1205. data/lib/kubernetes/models/v1beta1_webhook.rb +251 -0
  1206. data/lib/kubernetes/models/v1beta2_controller_revision.rb +234 -0
  1207. data/lib/kubernetes/models/v1beta2_controller_revision_list.rb +226 -0
  1208. data/lib/kubernetes/models/v1beta2_daemon_set.rb +229 -0
  1209. data/lib/kubernetes/models/v1beta2_daemon_set_condition.rb +239 -0
  1210. data/lib/kubernetes/models/v1beta2_daemon_set_list.rb +226 -0
  1211. data/lib/kubernetes/models/v1beta2_daemon_set_spec.rb +239 -0
  1212. data/lib/kubernetes/models/v1beta2_daemon_set_status.rb +301 -0
  1213. data/lib/kubernetes/models/v1beta2_daemon_set_update_strategy.rb +199 -0
  1214. data/lib/kubernetes/models/v1beta2_deployment.rb +229 -0
  1215. data/lib/kubernetes/models/v1beta2_deployment_condition.rb +249 -0
  1216. data/lib/kubernetes/models/v1beta2_deployment_list.rb +226 -0
  1217. data/lib/kubernetes/models/v1beta2_deployment_spec.rb +269 -0
  1218. data/lib/kubernetes/models/v1beta2_deployment_status.rb +261 -0
  1219. data/lib/kubernetes/models/v1beta2_deployment_strategy.rb +199 -0
  1220. data/lib/kubernetes/models/v1beta2_replica_set.rb +229 -0
  1221. data/lib/kubernetes/models/v1beta2_replica_set_condition.rb +239 -0
  1222. data/lib/kubernetes/models/v1beta2_replica_set_list.rb +226 -0
  1223. data/lib/kubernetes/models/v1beta2_replica_set_spec.rb +224 -0
  1224. data/lib/kubernetes/models/v1beta2_replica_set_status.rb +246 -0
  1225. data/lib/kubernetes/models/v1beta2_rolling_update_daemon_set.rb +189 -0
  1226. data/lib/kubernetes/models/v1beta2_rolling_update_deployment.rb +199 -0
  1227. data/lib/kubernetes/models/v1beta2_rolling_update_stateful_set_strategy.rb +189 -0
  1228. data/lib/kubernetes/models/v1beta2_scale.rb +229 -0
  1229. data/lib/kubernetes/models/v1beta2_scale_spec.rb +189 -0
  1230. data/lib/kubernetes/models/v1beta2_scale_status.rb +216 -0
  1231. data/lib/kubernetes/models/v1beta2_stateful_set.rb +228 -0
  1232. data/lib/kubernetes/models/v1beta2_stateful_set_condition.rb +239 -0
  1233. data/lib/kubernetes/models/v1beta2_stateful_set_list.rb +224 -0
  1234. data/lib/kubernetes/models/v1beta2_stateful_set_spec.rb +276 -0
  1235. data/lib/kubernetes/models/v1beta2_stateful_set_status.rb +276 -0
  1236. data/lib/kubernetes/models/v1beta2_stateful_set_update_strategy.rb +199 -0
  1237. data/lib/kubernetes/models/v2alpha1_cron_job.rb +229 -0
  1238. data/lib/kubernetes/models/v2alpha1_cron_job_list.rb +226 -0
  1239. data/lib/kubernetes/models/v2alpha1_cron_job_spec.rb +259 -0
  1240. data/lib/kubernetes/models/v2alpha1_cron_job_status.rb +201 -0
  1241. data/lib/kubernetes/models/v2alpha1_job_template_spec.rb +199 -0
  1242. data/lib/kubernetes/models/v2beta1_cross_version_object_reference.rb +219 -0
  1243. data/lib/kubernetes/models/v2beta1_external_metric_source.rb +224 -0
  1244. data/lib/kubernetes/models/v2beta1_external_metric_status.rb +229 -0
  1245. data/lib/kubernetes/models/v2beta1_horizontal_pod_autoscaler.rb +229 -0
  1246. data/lib/kubernetes/models/v2beta1_horizontal_pod_autoscaler_condition.rb +239 -0
  1247. data/lib/kubernetes/models/v2beta1_horizontal_pod_autoscaler_list.rb +226 -0
  1248. data/lib/kubernetes/models/v2beta1_horizontal_pod_autoscaler_spec.rb +231 -0
  1249. data/lib/kubernetes/models/v2beta1_horizontal_pod_autoscaler_status.rb +258 -0
  1250. data/lib/kubernetes/models/v2beta1_metric_spec.rb +234 -0
  1251. data/lib/kubernetes/models/v2beta1_metric_status.rb +234 -0
  1252. data/lib/kubernetes/models/v2beta1_object_metric_source.rb +244 -0
  1253. data/lib/kubernetes/models/v2beta1_object_metric_status.rb +244 -0
  1254. data/lib/kubernetes/models/v2beta1_pods_metric_source.rb +219 -0
  1255. data/lib/kubernetes/models/v2beta1_pods_metric_status.rb +219 -0
  1256. data/lib/kubernetes/models/v2beta1_resource_metric_source.rb +214 -0
  1257. data/lib/kubernetes/models/v2beta1_resource_metric_status.rb +219 -0
  1258. data/lib/kubernetes/models/v2beta2_cross_version_object_reference.rb +219 -0
  1259. data/lib/kubernetes/models/v2beta2_external_metric_source.rb +209 -0
  1260. data/lib/kubernetes/models/v2beta2_external_metric_status.rb +209 -0
  1261. data/lib/kubernetes/models/v2beta2_horizontal_pod_autoscaler.rb +229 -0
  1262. data/lib/kubernetes/models/v2beta2_horizontal_pod_autoscaler_condition.rb +239 -0
  1263. data/lib/kubernetes/models/v2beta2_horizontal_pod_autoscaler_list.rb +226 -0
  1264. data/lib/kubernetes/models/v2beta2_horizontal_pod_autoscaler_spec.rb +231 -0
  1265. data/lib/kubernetes/models/v2beta2_horizontal_pod_autoscaler_status.rb +258 -0
  1266. data/lib/kubernetes/models/v2beta2_metric_identifier.rb +204 -0
  1267. data/lib/kubernetes/models/v2beta2_metric_spec.rb +234 -0
  1268. data/lib/kubernetes/models/v2beta2_metric_status.rb +234 -0
  1269. data/lib/kubernetes/models/v2beta2_metric_target.rb +224 -0
  1270. data/lib/kubernetes/models/v2beta2_metric_value_status.rb +209 -0
  1271. data/lib/kubernetes/models/v2beta2_object_metric_source.rb +223 -0
  1272. data/lib/kubernetes/models/v2beta2_object_metric_status.rb +223 -0
  1273. data/lib/kubernetes/models/v2beta2_pods_metric_source.rb +209 -0
  1274. data/lib/kubernetes/models/v2beta2_pods_metric_status.rb +209 -0
  1275. data/lib/kubernetes/models/v2beta2_resource_metric_source.rb +209 -0
  1276. data/lib/kubernetes/models/v2beta2_resource_metric_status.rb +209 -0
  1277. data/lib/kubernetes/models/version_info.rb +305 -0
  1278. data/lib/kubernetes/version.rb +15 -0
  1279. data/spec/config/incluster_config_spec.rb +144 -0
  1280. data/spec/config/kube_config_spec.rb +319 -0
  1281. data/spec/config/matchers.rb +29 -0
  1282. data/spec/fixtures/config/kube_config_hash.rb +194 -0
  1283. data/spec/fixtures/files/certs/ca.crt +27 -0
  1284. data/spec/fixtures/files/certs/client.crt +28 -0
  1285. data/spec/fixtures/files/certs/client.key +51 -0
  1286. data/spec/fixtures/files/config/.kube/config +16 -0
  1287. data/spec/fixtures/files/config/config +13 -0
  1288. data/spec/fixtures/files/config/config_2 +15 -0
  1289. data/spec/fixtures/files/config/empty +1 -0
  1290. data/spec/fixtures/files/tokens/token +1 -0
  1291. data/spec/helpers/file_fixtures.rb +41 -0
  1292. data/spec/spec_helper.rb +108 -0
  1293. data/spec/utils_spec.rb +118 -0
  1294. data/spec/watch_spec.rb +36 -0
  1295. data/src/kubernetes/config/error.rb +17 -0
  1296. data/src/kubernetes/config/incluster_config.rb +80 -0
  1297. data/src/kubernetes/config/kube_config.rb +171 -0
  1298. data/src/kubernetes/loader.rb +55 -0
  1299. data/src/kubernetes/utils.rb +92 -0
  1300. data/src/kubernetes/watch.rb +51 -0
  1301. data/swagger.json +89546 -0
  1302. metadata +1541 -0
@@ -0,0 +1,2800 @@
1
+ =begin
2
+ #Kubernetes
3
+
4
+ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
+
6
+ OpenAPI spec version: v1.13.4
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.2.3
10
+
11
+ =end
12
+
13
+ require "uri"
14
+
15
+ module Kubernetes
16
+ class AppsV1beta1Api
17
+ attr_accessor :api_client
18
+
19
+ def initialize(api_client = ApiClient.default)
20
+ @api_client = api_client
21
+ end
22
+
23
+ #
24
+ # create a ControllerRevision
25
+ # @param namespace object name and auth scope, such as for teams and projects
26
+ # @param body
27
+ # @param [Hash] opts the optional parameters
28
+ # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response.
29
+ # @option opts [String] :pretty If 'true', then the output is pretty printed.
30
+ # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
31
+ # @return [V1beta1ControllerRevision]
32
+ def create_namespaced_controller_revision(namespace, body, opts = {})
33
+ data, _status_code, _headers = create_namespaced_controller_revision_with_http_info(namespace, body, opts)
34
+ return data
35
+ end
36
+
37
+ #
38
+ # create a ControllerRevision
39
+ # @param namespace object name and auth scope, such as for teams and projects
40
+ # @param body
41
+ # @param [Hash] opts the optional parameters
42
+ # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response.
43
+ # @option opts [String] :pretty If 'true', then the output is pretty printed.
44
+ # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
45
+ # @return [Array<(V1beta1ControllerRevision, Fixnum, Hash)>] V1beta1ControllerRevision data, response status code and response headers
46
+ def create_namespaced_controller_revision_with_http_info(namespace, body, opts = {})
47
+ if @api_client.config.debugging
48
+ @api_client.config.logger.debug "Calling API: AppsV1beta1Api.create_namespaced_controller_revision ..."
49
+ end
50
+ # verify the required parameter 'namespace' is set
51
+ if @api_client.config.client_side_validation && namespace.nil?
52
+ fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1beta1Api.create_namespaced_controller_revision"
53
+ end
54
+ # verify the required parameter 'body' is set
55
+ if @api_client.config.client_side_validation && body.nil?
56
+ fail ArgumentError, "Missing the required parameter 'body' when calling AppsV1beta1Api.create_namespaced_controller_revision"
57
+ end
58
+ # resource path
59
+ local_var_path = "/apis/apps/v1beta1/namespaces/{namespace}/controllerrevisions".sub('{' + 'namespace' + '}', namespace.to_s)
60
+
61
+ # query parameters
62
+ query_params = {}
63
+ query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil?
64
+ query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil?
65
+ query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil?
66
+
67
+ # header parameters
68
+ header_params = {}
69
+ # HTTP header 'Accept' (if needed)
70
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf'])
71
+ # HTTP header 'Content-Type'
72
+ header_params['Content-Type'] = @api_client.select_header_content_type(['*/*'])
73
+
74
+ # form parameters
75
+ form_params = {}
76
+
77
+ # http body (model)
78
+ post_body = @api_client.object_to_http_body(body)
79
+ auth_names = ['BearerToken']
80
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
81
+ :header_params => header_params,
82
+ :query_params => query_params,
83
+ :form_params => form_params,
84
+ :body => post_body,
85
+ :auth_names => auth_names,
86
+ :return_type => 'V1beta1ControllerRevision')
87
+ if @api_client.config.debugging
88
+ @api_client.config.logger.debug "API called: AppsV1beta1Api#create_namespaced_controller_revision\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
89
+ end
90
+ return data, status_code, headers
91
+ end
92
+
93
+ #
94
+ # create a Deployment
95
+ # @param namespace object name and auth scope, such as for teams and projects
96
+ # @param body
97
+ # @param [Hash] opts the optional parameters
98
+ # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response.
99
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed.
100
+ # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
101
+ # @return [AppsV1beta1Deployment]
102
+ def create_namespaced_deployment(namespace, body, opts = {})
103
+ data, _status_code, _headers = create_namespaced_deployment_with_http_info(namespace, body, opts)
104
+ return data
105
+ end
106
+
107
+ #
108
+ # create a Deployment
109
+ # @param namespace object name and auth scope, such as for teams and projects
110
+ # @param body
111
+ # @param [Hash] opts the optional parameters
112
+ # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response.
113
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed.
114
+ # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
115
+ # @return [Array<(AppsV1beta1Deployment, Fixnum, Hash)>] AppsV1beta1Deployment data, response status code and response headers
116
+ def create_namespaced_deployment_with_http_info(namespace, body, opts = {})
117
+ if @api_client.config.debugging
118
+ @api_client.config.logger.debug "Calling API: AppsV1beta1Api.create_namespaced_deployment ..."
119
+ end
120
+ # verify the required parameter 'namespace' is set
121
+ if @api_client.config.client_side_validation && namespace.nil?
122
+ fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1beta1Api.create_namespaced_deployment"
123
+ end
124
+ # verify the required parameter 'body' is set
125
+ if @api_client.config.client_side_validation && body.nil?
126
+ fail ArgumentError, "Missing the required parameter 'body' when calling AppsV1beta1Api.create_namespaced_deployment"
127
+ end
128
+ # resource path
129
+ local_var_path = "/apis/apps/v1beta1/namespaces/{namespace}/deployments".sub('{' + 'namespace' + '}', namespace.to_s)
130
+
131
+ # query parameters
132
+ query_params = {}
133
+ query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil?
134
+ query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil?
135
+ query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil?
136
+
137
+ # header parameters
138
+ header_params = {}
139
+ # HTTP header 'Accept' (if needed)
140
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf'])
141
+ # HTTP header 'Content-Type'
142
+ header_params['Content-Type'] = @api_client.select_header_content_type(['*/*'])
143
+
144
+ # form parameters
145
+ form_params = {}
146
+
147
+ # http body (model)
148
+ post_body = @api_client.object_to_http_body(body)
149
+ auth_names = ['BearerToken']
150
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
151
+ :header_params => header_params,
152
+ :query_params => query_params,
153
+ :form_params => form_params,
154
+ :body => post_body,
155
+ :auth_names => auth_names,
156
+ :return_type => 'AppsV1beta1Deployment')
157
+ if @api_client.config.debugging
158
+ @api_client.config.logger.debug "API called: AppsV1beta1Api#create_namespaced_deployment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
159
+ end
160
+ return data, status_code, headers
161
+ end
162
+
163
+ #
164
+ # create rollback of a Deployment
165
+ # @param name name of the DeploymentRollback
166
+ # @param namespace object name and auth scope, such as for teams and projects
167
+ # @param body
168
+ # @param [Hash] opts the optional parameters
169
+ # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
170
+ # @option opts [BOOLEAN] :include_uninitialized If IncludeUninitialized is specified, the object may be returned without completing initialization.
171
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed.
172
+ # @return [V1Status]
173
+ def create_namespaced_deployment_rollback(name, namespace, body, opts = {})
174
+ data, _status_code, _headers = create_namespaced_deployment_rollback_with_http_info(name, namespace, body, opts)
175
+ return data
176
+ end
177
+
178
+ #
179
+ # create rollback of a Deployment
180
+ # @param name name of the DeploymentRollback
181
+ # @param namespace object name and auth scope, such as for teams and projects
182
+ # @param body
183
+ # @param [Hash] opts the optional parameters
184
+ # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
185
+ # @option opts [BOOLEAN] :include_uninitialized If IncludeUninitialized is specified, the object may be returned without completing initialization.
186
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed.
187
+ # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers
188
+ def create_namespaced_deployment_rollback_with_http_info(name, namespace, body, opts = {})
189
+ if @api_client.config.debugging
190
+ @api_client.config.logger.debug "Calling API: AppsV1beta1Api.create_namespaced_deployment_rollback ..."
191
+ end
192
+ # verify the required parameter 'name' is set
193
+ if @api_client.config.client_side_validation && name.nil?
194
+ fail ArgumentError, "Missing the required parameter 'name' when calling AppsV1beta1Api.create_namespaced_deployment_rollback"
195
+ end
196
+ # verify the required parameter 'namespace' is set
197
+ if @api_client.config.client_side_validation && namespace.nil?
198
+ fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1beta1Api.create_namespaced_deployment_rollback"
199
+ end
200
+ # verify the required parameter 'body' is set
201
+ if @api_client.config.client_side_validation && body.nil?
202
+ fail ArgumentError, "Missing the required parameter 'body' when calling AppsV1beta1Api.create_namespaced_deployment_rollback"
203
+ end
204
+ # resource path
205
+ local_var_path = "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/rollback".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s)
206
+
207
+ # query parameters
208
+ query_params = {}
209
+ query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil?
210
+ query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil?
211
+ query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil?
212
+
213
+ # header parameters
214
+ header_params = {}
215
+ # HTTP header 'Accept' (if needed)
216
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf'])
217
+ # HTTP header 'Content-Type'
218
+ header_params['Content-Type'] = @api_client.select_header_content_type(['*/*'])
219
+
220
+ # form parameters
221
+ form_params = {}
222
+
223
+ # http body (model)
224
+ post_body = @api_client.object_to_http_body(body)
225
+ auth_names = ['BearerToken']
226
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
227
+ :header_params => header_params,
228
+ :query_params => query_params,
229
+ :form_params => form_params,
230
+ :body => post_body,
231
+ :auth_names => auth_names,
232
+ :return_type => 'V1Status')
233
+ if @api_client.config.debugging
234
+ @api_client.config.logger.debug "API called: AppsV1beta1Api#create_namespaced_deployment_rollback\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
235
+ end
236
+ return data, status_code, headers
237
+ end
238
+
239
+ #
240
+ # create a StatefulSet
241
+ # @param namespace object name and auth scope, such as for teams and projects
242
+ # @param body
243
+ # @param [Hash] opts the optional parameters
244
+ # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response.
245
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed.
246
+ # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
247
+ # @return [V1beta1StatefulSet]
248
+ def create_namespaced_stateful_set(namespace, body, opts = {})
249
+ data, _status_code, _headers = create_namespaced_stateful_set_with_http_info(namespace, body, opts)
250
+ return data
251
+ end
252
+
253
+ #
254
+ # create a StatefulSet
255
+ # @param namespace object name and auth scope, such as for teams and projects
256
+ # @param body
257
+ # @param [Hash] opts the optional parameters
258
+ # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response.
259
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed.
260
+ # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
261
+ # @return [Array<(V1beta1StatefulSet, Fixnum, Hash)>] V1beta1StatefulSet data, response status code and response headers
262
+ def create_namespaced_stateful_set_with_http_info(namespace, body, opts = {})
263
+ if @api_client.config.debugging
264
+ @api_client.config.logger.debug "Calling API: AppsV1beta1Api.create_namespaced_stateful_set ..."
265
+ end
266
+ # verify the required parameter 'namespace' is set
267
+ if @api_client.config.client_side_validation && namespace.nil?
268
+ fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1beta1Api.create_namespaced_stateful_set"
269
+ end
270
+ # verify the required parameter 'body' is set
271
+ if @api_client.config.client_side_validation && body.nil?
272
+ fail ArgumentError, "Missing the required parameter 'body' when calling AppsV1beta1Api.create_namespaced_stateful_set"
273
+ end
274
+ # resource path
275
+ local_var_path = "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets".sub('{' + 'namespace' + '}', namespace.to_s)
276
+
277
+ # query parameters
278
+ query_params = {}
279
+ query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil?
280
+ query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil?
281
+ query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil?
282
+
283
+ # header parameters
284
+ header_params = {}
285
+ # HTTP header 'Accept' (if needed)
286
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf'])
287
+ # HTTP header 'Content-Type'
288
+ header_params['Content-Type'] = @api_client.select_header_content_type(['*/*'])
289
+
290
+ # form parameters
291
+ form_params = {}
292
+
293
+ # http body (model)
294
+ post_body = @api_client.object_to_http_body(body)
295
+ auth_names = ['BearerToken']
296
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
297
+ :header_params => header_params,
298
+ :query_params => query_params,
299
+ :form_params => form_params,
300
+ :body => post_body,
301
+ :auth_names => auth_names,
302
+ :return_type => 'V1beta1StatefulSet')
303
+ if @api_client.config.debugging
304
+ @api_client.config.logger.debug "API called: AppsV1beta1Api#create_namespaced_stateful_set\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
305
+ end
306
+ return data, status_code, headers
307
+ end
308
+
309
+ #
310
+ # delete collection of ControllerRevision
311
+ # @param namespace object name and auth scope, such as for teams and projects
312
+ # @param [Hash] opts the optional parameters
313
+ # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response.
314
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed.
315
+ # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \&quot;next key\&quot;. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
316
+ # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything.
317
+ # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything.
318
+ # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the &#x60;continue&#x60; field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
319
+ # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it&#39;s 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
320
+ # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
321
+ # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
322
+ # @return [V1Status]
323
+ def delete_collection_namespaced_controller_revision(namespace, opts = {})
324
+ data, _status_code, _headers = delete_collection_namespaced_controller_revision_with_http_info(namespace, opts)
325
+ return data
326
+ end
327
+
328
+ #
329
+ # delete collection of ControllerRevision
330
+ # @param namespace object name and auth scope, such as for teams and projects
331
+ # @param [Hash] opts the optional parameters
332
+ # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response.
333
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed.
334
+ # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \&quot;next key\&quot;. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
335
+ # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything.
336
+ # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything.
337
+ # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the &#x60;continue&#x60; field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
338
+ # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it&#39;s 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
339
+ # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
340
+ # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
341
+ # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers
342
+ def delete_collection_namespaced_controller_revision_with_http_info(namespace, opts = {})
343
+ if @api_client.config.debugging
344
+ @api_client.config.logger.debug "Calling API: AppsV1beta1Api.delete_collection_namespaced_controller_revision ..."
345
+ end
346
+ # verify the required parameter 'namespace' is set
347
+ if @api_client.config.client_side_validation && namespace.nil?
348
+ fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1beta1Api.delete_collection_namespaced_controller_revision"
349
+ end
350
+ # resource path
351
+ local_var_path = "/apis/apps/v1beta1/namespaces/{namespace}/controllerrevisions".sub('{' + 'namespace' + '}', namespace.to_s)
352
+
353
+ # query parameters
354
+ query_params = {}
355
+ query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil?
356
+ query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil?
357
+ query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil?
358
+ query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil?
359
+ query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil?
360
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
361
+ query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil?
362
+ query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil?
363
+ query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil?
364
+
365
+ # header parameters
366
+ header_params = {}
367
+ # HTTP header 'Accept' (if needed)
368
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf'])
369
+ # HTTP header 'Content-Type'
370
+ header_params['Content-Type'] = @api_client.select_header_content_type(['*/*'])
371
+
372
+ # form parameters
373
+ form_params = {}
374
+
375
+ # http body (model)
376
+ post_body = nil
377
+ auth_names = ['BearerToken']
378
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
379
+ :header_params => header_params,
380
+ :query_params => query_params,
381
+ :form_params => form_params,
382
+ :body => post_body,
383
+ :auth_names => auth_names,
384
+ :return_type => 'V1Status')
385
+ if @api_client.config.debugging
386
+ @api_client.config.logger.debug "API called: AppsV1beta1Api#delete_collection_namespaced_controller_revision\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
387
+ end
388
+ return data, status_code, headers
389
+ end
390
+
391
+ #
392
+ # delete collection of Deployment
393
+ # @param namespace object name and auth scope, such as for teams and projects
394
+ # @param [Hash] opts the optional parameters
395
+ # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response.
396
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed.
397
+ # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \&quot;next key\&quot;. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
398
+ # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything.
399
+ # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything.
400
+ # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the &#x60;continue&#x60; field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
401
+ # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it&#39;s 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
402
+ # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
403
+ # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
404
+ # @return [V1Status]
405
+ def delete_collection_namespaced_deployment(namespace, opts = {})
406
+ data, _status_code, _headers = delete_collection_namespaced_deployment_with_http_info(namespace, opts)
407
+ return data
408
+ end
409
+
410
+ #
411
+ # delete collection of Deployment
412
+ # @param namespace object name and auth scope, such as for teams and projects
413
+ # @param [Hash] opts the optional parameters
414
+ # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response.
415
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed.
416
+ # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \&quot;next key\&quot;. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
417
+ # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything.
418
+ # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything.
419
+ # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the &#x60;continue&#x60; field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
420
+ # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it&#39;s 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
421
+ # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
422
+ # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
423
+ # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers
424
+ def delete_collection_namespaced_deployment_with_http_info(namespace, opts = {})
425
+ if @api_client.config.debugging
426
+ @api_client.config.logger.debug "Calling API: AppsV1beta1Api.delete_collection_namespaced_deployment ..."
427
+ end
428
+ # verify the required parameter 'namespace' is set
429
+ if @api_client.config.client_side_validation && namespace.nil?
430
+ fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1beta1Api.delete_collection_namespaced_deployment"
431
+ end
432
+ # resource path
433
+ local_var_path = "/apis/apps/v1beta1/namespaces/{namespace}/deployments".sub('{' + 'namespace' + '}', namespace.to_s)
434
+
435
+ # query parameters
436
+ query_params = {}
437
+ query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil?
438
+ query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil?
439
+ query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil?
440
+ query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil?
441
+ query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil?
442
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
443
+ query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil?
444
+ query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil?
445
+ query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil?
446
+
447
+ # header parameters
448
+ header_params = {}
449
+ # HTTP header 'Accept' (if needed)
450
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf'])
451
+ # HTTP header 'Content-Type'
452
+ header_params['Content-Type'] = @api_client.select_header_content_type(['*/*'])
453
+
454
+ # form parameters
455
+ form_params = {}
456
+
457
+ # http body (model)
458
+ post_body = nil
459
+ auth_names = ['BearerToken']
460
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
461
+ :header_params => header_params,
462
+ :query_params => query_params,
463
+ :form_params => form_params,
464
+ :body => post_body,
465
+ :auth_names => auth_names,
466
+ :return_type => 'V1Status')
467
+ if @api_client.config.debugging
468
+ @api_client.config.logger.debug "API called: AppsV1beta1Api#delete_collection_namespaced_deployment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
469
+ end
470
+ return data, status_code, headers
471
+ end
472
+
473
+ #
474
+ # delete collection of StatefulSet
475
+ # @param namespace object name and auth scope, such as for teams and projects
476
+ # @param [Hash] opts the optional parameters
477
+ # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response.
478
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed.
479
+ # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \&quot;next key\&quot;. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
480
+ # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything.
481
+ # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything.
482
+ # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the &#x60;continue&#x60; field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
483
+ # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it&#39;s 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
484
+ # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
485
+ # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
486
+ # @return [V1Status]
487
+ def delete_collection_namespaced_stateful_set(namespace, opts = {})
488
+ data, _status_code, _headers = delete_collection_namespaced_stateful_set_with_http_info(namespace, opts)
489
+ return data
490
+ end
491
+
492
+ #
493
+ # delete collection of StatefulSet
494
+ # @param namespace object name and auth scope, such as for teams and projects
495
+ # @param [Hash] opts the optional parameters
496
+ # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response.
497
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed.
498
+ # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \&quot;next key\&quot;. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
499
+ # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything.
500
+ # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything.
501
+ # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the &#x60;continue&#x60; field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
502
+ # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it&#39;s 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
503
+ # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
504
+ # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
505
+ # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers
506
+ def delete_collection_namespaced_stateful_set_with_http_info(namespace, opts = {})
507
+ if @api_client.config.debugging
508
+ @api_client.config.logger.debug "Calling API: AppsV1beta1Api.delete_collection_namespaced_stateful_set ..."
509
+ end
510
+ # verify the required parameter 'namespace' is set
511
+ if @api_client.config.client_side_validation && namespace.nil?
512
+ fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1beta1Api.delete_collection_namespaced_stateful_set"
513
+ end
514
+ # resource path
515
+ local_var_path = "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets".sub('{' + 'namespace' + '}', namespace.to_s)
516
+
517
+ # query parameters
518
+ query_params = {}
519
+ query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil?
520
+ query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil?
521
+ query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil?
522
+ query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil?
523
+ query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil?
524
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
525
+ query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil?
526
+ query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil?
527
+ query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil?
528
+
529
+ # header parameters
530
+ header_params = {}
531
+ # HTTP header 'Accept' (if needed)
532
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf'])
533
+ # HTTP header 'Content-Type'
534
+ header_params['Content-Type'] = @api_client.select_header_content_type(['*/*'])
535
+
536
+ # form parameters
537
+ form_params = {}
538
+
539
+ # http body (model)
540
+ post_body = nil
541
+ auth_names = ['BearerToken']
542
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
543
+ :header_params => header_params,
544
+ :query_params => query_params,
545
+ :form_params => form_params,
546
+ :body => post_body,
547
+ :auth_names => auth_names,
548
+ :return_type => 'V1Status')
549
+ if @api_client.config.debugging
550
+ @api_client.config.logger.debug "API called: AppsV1beta1Api#delete_collection_namespaced_stateful_set\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
551
+ end
552
+ return data, status_code, headers
553
+ end
554
+
555
+ #
556
+ # delete a ControllerRevision
557
+ # @param name name of the ControllerRevision
558
+ # @param namespace object name and auth scope, such as for teams and projects
559
+ # @param [Hash] opts the optional parameters
560
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed.
561
+ # @option opts [V1DeleteOptions] :body
562
+ # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
563
+ # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
564
+ # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \&quot;orphan\&quot; finalizer will be added to/removed from the object&#39;s finalizers list. Either this field or PropagationPolicy may be set, but not both.
565
+ # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: &#39;Orphan&#39; - orphan the dependents; &#39;Background&#39; - allow the garbage collector to delete the dependents in the background; &#39;Foreground&#39; - a cascading policy that deletes all dependents in the foreground.
566
+ # @return [V1Status]
567
+ def delete_namespaced_controller_revision(name, namespace, opts = {})
568
+ data, _status_code, _headers = delete_namespaced_controller_revision_with_http_info(name, namespace, opts)
569
+ return data
570
+ end
571
+
572
+ #
573
+ # delete a ControllerRevision
574
+ # @param name name of the ControllerRevision
575
+ # @param namespace object name and auth scope, such as for teams and projects
576
+ # @param [Hash] opts the optional parameters
577
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed.
578
+ # @option opts [V1DeleteOptions] :body
579
+ # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
580
+ # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
581
+ # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \&quot;orphan\&quot; finalizer will be added to/removed from the object&#39;s finalizers list. Either this field or PropagationPolicy may be set, but not both.
582
+ # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: &#39;Orphan&#39; - orphan the dependents; &#39;Background&#39; - allow the garbage collector to delete the dependents in the background; &#39;Foreground&#39; - a cascading policy that deletes all dependents in the foreground.
583
+ # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers
584
+ def delete_namespaced_controller_revision_with_http_info(name, namespace, opts = {})
585
+ if @api_client.config.debugging
586
+ @api_client.config.logger.debug "Calling API: AppsV1beta1Api.delete_namespaced_controller_revision ..."
587
+ end
588
+ # verify the required parameter 'name' is set
589
+ if @api_client.config.client_side_validation && name.nil?
590
+ fail ArgumentError, "Missing the required parameter 'name' when calling AppsV1beta1Api.delete_namespaced_controller_revision"
591
+ end
592
+ # verify the required parameter 'namespace' is set
593
+ if @api_client.config.client_side_validation && namespace.nil?
594
+ fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1beta1Api.delete_namespaced_controller_revision"
595
+ end
596
+ # resource path
597
+ local_var_path = "/apis/apps/v1beta1/namespaces/{namespace}/controllerrevisions/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s)
598
+
599
+ # query parameters
600
+ query_params = {}
601
+ query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil?
602
+ query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil?
603
+ query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil?
604
+ query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil?
605
+ query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil?
606
+
607
+ # header parameters
608
+ header_params = {}
609
+ # HTTP header 'Accept' (if needed)
610
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf'])
611
+ # HTTP header 'Content-Type'
612
+ header_params['Content-Type'] = @api_client.select_header_content_type(['*/*'])
613
+
614
+ # form parameters
615
+ form_params = {}
616
+
617
+ # http body (model)
618
+ post_body = @api_client.object_to_http_body(opts[:'body'])
619
+ auth_names = ['BearerToken']
620
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
621
+ :header_params => header_params,
622
+ :query_params => query_params,
623
+ :form_params => form_params,
624
+ :body => post_body,
625
+ :auth_names => auth_names,
626
+ :return_type => 'V1Status')
627
+ if @api_client.config.debugging
628
+ @api_client.config.logger.debug "API called: AppsV1beta1Api#delete_namespaced_controller_revision\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
629
+ end
630
+ return data, status_code, headers
631
+ end
632
+
633
+ #
634
+ # delete a Deployment
635
+ # @param name name of the Deployment
636
+ # @param namespace object name and auth scope, such as for teams and projects
637
+ # @param [Hash] opts the optional parameters
638
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed.
639
+ # @option opts [V1DeleteOptions] :body
640
+ # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
641
+ # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
642
+ # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \&quot;orphan\&quot; finalizer will be added to/removed from the object&#39;s finalizers list. Either this field or PropagationPolicy may be set, but not both.
643
+ # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: &#39;Orphan&#39; - orphan the dependents; &#39;Background&#39; - allow the garbage collector to delete the dependents in the background; &#39;Foreground&#39; - a cascading policy that deletes all dependents in the foreground.
644
+ # @return [V1Status]
645
+ def delete_namespaced_deployment(name, namespace, opts = {})
646
+ data, _status_code, _headers = delete_namespaced_deployment_with_http_info(name, namespace, opts)
647
+ return data
648
+ end
649
+
650
+ #
651
+ # delete a Deployment
652
+ # @param name name of the Deployment
653
+ # @param namespace object name and auth scope, such as for teams and projects
654
+ # @param [Hash] opts the optional parameters
655
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed.
656
+ # @option opts [V1DeleteOptions] :body
657
+ # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
658
+ # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
659
+ # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \&quot;orphan\&quot; finalizer will be added to/removed from the object&#39;s finalizers list. Either this field or PropagationPolicy may be set, but not both.
660
+ # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: &#39;Orphan&#39; - orphan the dependents; &#39;Background&#39; - allow the garbage collector to delete the dependents in the background; &#39;Foreground&#39; - a cascading policy that deletes all dependents in the foreground.
661
+ # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers
662
+ def delete_namespaced_deployment_with_http_info(name, namespace, opts = {})
663
+ if @api_client.config.debugging
664
+ @api_client.config.logger.debug "Calling API: AppsV1beta1Api.delete_namespaced_deployment ..."
665
+ end
666
+ # verify the required parameter 'name' is set
667
+ if @api_client.config.client_side_validation && name.nil?
668
+ fail ArgumentError, "Missing the required parameter 'name' when calling AppsV1beta1Api.delete_namespaced_deployment"
669
+ end
670
+ # verify the required parameter 'namespace' is set
671
+ if @api_client.config.client_side_validation && namespace.nil?
672
+ fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1beta1Api.delete_namespaced_deployment"
673
+ end
674
+ # resource path
675
+ local_var_path = "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s)
676
+
677
+ # query parameters
678
+ query_params = {}
679
+ query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil?
680
+ query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil?
681
+ query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil?
682
+ query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil?
683
+ query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil?
684
+
685
+ # header parameters
686
+ header_params = {}
687
+ # HTTP header 'Accept' (if needed)
688
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf'])
689
+ # HTTP header 'Content-Type'
690
+ header_params['Content-Type'] = @api_client.select_header_content_type(['*/*'])
691
+
692
+ # form parameters
693
+ form_params = {}
694
+
695
+ # http body (model)
696
+ post_body = @api_client.object_to_http_body(opts[:'body'])
697
+ auth_names = ['BearerToken']
698
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
699
+ :header_params => header_params,
700
+ :query_params => query_params,
701
+ :form_params => form_params,
702
+ :body => post_body,
703
+ :auth_names => auth_names,
704
+ :return_type => 'V1Status')
705
+ if @api_client.config.debugging
706
+ @api_client.config.logger.debug "API called: AppsV1beta1Api#delete_namespaced_deployment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
707
+ end
708
+ return data, status_code, headers
709
+ end
710
+
711
+ #
712
+ # delete a StatefulSet
713
+ # @param name name of the StatefulSet
714
+ # @param namespace object name and auth scope, such as for teams and projects
715
+ # @param [Hash] opts the optional parameters
716
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed.
717
+ # @option opts [V1DeleteOptions] :body
718
+ # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
719
+ # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
720
+ # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \&quot;orphan\&quot; finalizer will be added to/removed from the object&#39;s finalizers list. Either this field or PropagationPolicy may be set, but not both.
721
+ # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: &#39;Orphan&#39; - orphan the dependents; &#39;Background&#39; - allow the garbage collector to delete the dependents in the background; &#39;Foreground&#39; - a cascading policy that deletes all dependents in the foreground.
722
+ # @return [V1Status]
723
+ def delete_namespaced_stateful_set(name, namespace, opts = {})
724
+ data, _status_code, _headers = delete_namespaced_stateful_set_with_http_info(name, namespace, opts)
725
+ return data
726
+ end
727
+
728
+ #
729
+ # delete a StatefulSet
730
+ # @param name name of the StatefulSet
731
+ # @param namespace object name and auth scope, such as for teams and projects
732
+ # @param [Hash] opts the optional parameters
733
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed.
734
+ # @option opts [V1DeleteOptions] :body
735
+ # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
736
+ # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
737
+ # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \&quot;orphan\&quot; finalizer will be added to/removed from the object&#39;s finalizers list. Either this field or PropagationPolicy may be set, but not both.
738
+ # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: &#39;Orphan&#39; - orphan the dependents; &#39;Background&#39; - allow the garbage collector to delete the dependents in the background; &#39;Foreground&#39; - a cascading policy that deletes all dependents in the foreground.
739
+ # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers
740
+ def delete_namespaced_stateful_set_with_http_info(name, namespace, opts = {})
741
+ if @api_client.config.debugging
742
+ @api_client.config.logger.debug "Calling API: AppsV1beta1Api.delete_namespaced_stateful_set ..."
743
+ end
744
+ # verify the required parameter 'name' is set
745
+ if @api_client.config.client_side_validation && name.nil?
746
+ fail ArgumentError, "Missing the required parameter 'name' when calling AppsV1beta1Api.delete_namespaced_stateful_set"
747
+ end
748
+ # verify the required parameter 'namespace' is set
749
+ if @api_client.config.client_side_validation && namespace.nil?
750
+ fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1beta1Api.delete_namespaced_stateful_set"
751
+ end
752
+ # resource path
753
+ local_var_path = "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s)
754
+
755
+ # query parameters
756
+ query_params = {}
757
+ query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil?
758
+ query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil?
759
+ query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil?
760
+ query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil?
761
+ query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil?
762
+
763
+ # header parameters
764
+ header_params = {}
765
+ # HTTP header 'Accept' (if needed)
766
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf'])
767
+ # HTTP header 'Content-Type'
768
+ header_params['Content-Type'] = @api_client.select_header_content_type(['*/*'])
769
+
770
+ # form parameters
771
+ form_params = {}
772
+
773
+ # http body (model)
774
+ post_body = @api_client.object_to_http_body(opts[:'body'])
775
+ auth_names = ['BearerToken']
776
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
777
+ :header_params => header_params,
778
+ :query_params => query_params,
779
+ :form_params => form_params,
780
+ :body => post_body,
781
+ :auth_names => auth_names,
782
+ :return_type => 'V1Status')
783
+ if @api_client.config.debugging
784
+ @api_client.config.logger.debug "API called: AppsV1beta1Api#delete_namespaced_stateful_set\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
785
+ end
786
+ return data, status_code, headers
787
+ end
788
+
789
+ #
790
+ # get available resources
791
+ # @param [Hash] opts the optional parameters
792
+ # @return [V1APIResourceList]
793
+ def get_api_resources(opts = {})
794
+ data, _status_code, _headers = get_api_resources_with_http_info(opts)
795
+ return data
796
+ end
797
+
798
+ #
799
+ # get available resources
800
+ # @param [Hash] opts the optional parameters
801
+ # @return [Array<(V1APIResourceList, Fixnum, Hash)>] V1APIResourceList data, response status code and response headers
802
+ def get_api_resources_with_http_info(opts = {})
803
+ if @api_client.config.debugging
804
+ @api_client.config.logger.debug "Calling API: AppsV1beta1Api.get_api_resources ..."
805
+ end
806
+ # resource path
807
+ local_var_path = "/apis/apps/v1beta1/"
808
+
809
+ # query parameters
810
+ query_params = {}
811
+
812
+ # header parameters
813
+ header_params = {}
814
+ # HTTP header 'Accept' (if needed)
815
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf'])
816
+ # HTTP header 'Content-Type'
817
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf'])
818
+
819
+ # form parameters
820
+ form_params = {}
821
+
822
+ # http body (model)
823
+ post_body = nil
824
+ auth_names = ['BearerToken']
825
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
826
+ :header_params => header_params,
827
+ :query_params => query_params,
828
+ :form_params => form_params,
829
+ :body => post_body,
830
+ :auth_names => auth_names,
831
+ :return_type => 'V1APIResourceList')
832
+ if @api_client.config.debugging
833
+ @api_client.config.logger.debug "API called: AppsV1beta1Api#get_api_resources\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
834
+ end
835
+ return data, status_code, headers
836
+ end
837
+
838
+ #
839
+ # list or watch objects of kind ControllerRevision
840
+ # @param [Hash] opts the optional parameters
841
+ # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \&quot;next key\&quot;. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
842
+ # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything.
843
+ # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response.
844
+ # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything.
845
+ # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the &#x60;continue&#x60; field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
846
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed.
847
+ # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it&#39;s 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
848
+ # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
849
+ # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
850
+ # @return [V1beta1ControllerRevisionList]
851
+ def list_controller_revision_for_all_namespaces(opts = {})
852
+ data, _status_code, _headers = list_controller_revision_for_all_namespaces_with_http_info(opts)
853
+ return data
854
+ end
855
+
856
+ #
857
+ # list or watch objects of kind ControllerRevision
858
+ # @param [Hash] opts the optional parameters
859
+ # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \&quot;next key\&quot;. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
860
+ # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything.
861
+ # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response.
862
+ # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything.
863
+ # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the &#x60;continue&#x60; field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
864
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed.
865
+ # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it&#39;s 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
866
+ # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
867
+ # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
868
+ # @return [Array<(V1beta1ControllerRevisionList, Fixnum, Hash)>] V1beta1ControllerRevisionList data, response status code and response headers
869
+ def list_controller_revision_for_all_namespaces_with_http_info(opts = {})
870
+ if @api_client.config.debugging
871
+ @api_client.config.logger.debug "Calling API: AppsV1beta1Api.list_controller_revision_for_all_namespaces ..."
872
+ end
873
+ # resource path
874
+ local_var_path = "/apis/apps/v1beta1/controllerrevisions"
875
+
876
+ # query parameters
877
+ query_params = {}
878
+ query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil?
879
+ query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil?
880
+ query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil?
881
+ query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil?
882
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
883
+ query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil?
884
+ query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil?
885
+ query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil?
886
+ query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil?
887
+
888
+ # header parameters
889
+ header_params = {}
890
+ # HTTP header 'Accept' (if needed)
891
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch'])
892
+ # HTTP header 'Content-Type'
893
+ header_params['Content-Type'] = @api_client.select_header_content_type(['*/*'])
894
+
895
+ # form parameters
896
+ form_params = {}
897
+
898
+ # http body (model)
899
+ post_body = nil
900
+ auth_names = ['BearerToken']
901
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
902
+ :header_params => header_params,
903
+ :query_params => query_params,
904
+ :form_params => form_params,
905
+ :body => post_body,
906
+ :auth_names => auth_names,
907
+ :return_type => 'V1beta1ControllerRevisionList')
908
+ if @api_client.config.debugging
909
+ @api_client.config.logger.debug "API called: AppsV1beta1Api#list_controller_revision_for_all_namespaces\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
910
+ end
911
+ return data, status_code, headers
912
+ end
913
+
914
+ #
915
+ # list or watch objects of kind Deployment
916
+ # @param [Hash] opts the optional parameters
917
+ # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \&quot;next key\&quot;. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
918
+ # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything.
919
+ # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response.
920
+ # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything.
921
+ # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the &#x60;continue&#x60; field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
922
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed.
923
+ # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it&#39;s 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
924
+ # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
925
+ # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
926
+ # @return [AppsV1beta1DeploymentList]
927
+ def list_deployment_for_all_namespaces(opts = {})
928
+ data, _status_code, _headers = list_deployment_for_all_namespaces_with_http_info(opts)
929
+ return data
930
+ end
931
+
932
+ #
933
+ # list or watch objects of kind Deployment
934
+ # @param [Hash] opts the optional parameters
935
+ # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \&quot;next key\&quot;. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
936
+ # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything.
937
+ # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response.
938
+ # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything.
939
+ # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the &#x60;continue&#x60; field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
940
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed.
941
+ # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it&#39;s 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
942
+ # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
943
+ # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
944
+ # @return [Array<(AppsV1beta1DeploymentList, Fixnum, Hash)>] AppsV1beta1DeploymentList data, response status code and response headers
945
+ def list_deployment_for_all_namespaces_with_http_info(opts = {})
946
+ if @api_client.config.debugging
947
+ @api_client.config.logger.debug "Calling API: AppsV1beta1Api.list_deployment_for_all_namespaces ..."
948
+ end
949
+ # resource path
950
+ local_var_path = "/apis/apps/v1beta1/deployments"
951
+
952
+ # query parameters
953
+ query_params = {}
954
+ query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil?
955
+ query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil?
956
+ query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil?
957
+ query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil?
958
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
959
+ query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil?
960
+ query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil?
961
+ query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil?
962
+ query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil?
963
+
964
+ # header parameters
965
+ header_params = {}
966
+ # HTTP header 'Accept' (if needed)
967
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch'])
968
+ # HTTP header 'Content-Type'
969
+ header_params['Content-Type'] = @api_client.select_header_content_type(['*/*'])
970
+
971
+ # form parameters
972
+ form_params = {}
973
+
974
+ # http body (model)
975
+ post_body = nil
976
+ auth_names = ['BearerToken']
977
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
978
+ :header_params => header_params,
979
+ :query_params => query_params,
980
+ :form_params => form_params,
981
+ :body => post_body,
982
+ :auth_names => auth_names,
983
+ :return_type => 'AppsV1beta1DeploymentList')
984
+ if @api_client.config.debugging
985
+ @api_client.config.logger.debug "API called: AppsV1beta1Api#list_deployment_for_all_namespaces\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
986
+ end
987
+ return data, status_code, headers
988
+ end
989
+
990
+ #
991
+ # list or watch objects of kind ControllerRevision
992
+ # @param namespace object name and auth scope, such as for teams and projects
993
+ # @param [Hash] opts the optional parameters
994
+ # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response.
995
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed.
996
+ # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \&quot;next key\&quot;. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
997
+ # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything.
998
+ # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything.
999
+ # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the &#x60;continue&#x60; field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
1000
+ # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it&#39;s 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
1001
+ # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
1002
+ # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
1003
+ # @return [V1beta1ControllerRevisionList]
1004
+ def list_namespaced_controller_revision(namespace, opts = {})
1005
+ data, _status_code, _headers = list_namespaced_controller_revision_with_http_info(namespace, opts)
1006
+ return data
1007
+ end
1008
+
1009
+ #
1010
+ # list or watch objects of kind ControllerRevision
1011
+ # @param namespace object name and auth scope, such as for teams and projects
1012
+ # @param [Hash] opts the optional parameters
1013
+ # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response.
1014
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed.
1015
+ # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \&quot;next key\&quot;. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
1016
+ # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything.
1017
+ # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything.
1018
+ # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the &#x60;continue&#x60; field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
1019
+ # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it&#39;s 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
1020
+ # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
1021
+ # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
1022
+ # @return [Array<(V1beta1ControllerRevisionList, Fixnum, Hash)>] V1beta1ControllerRevisionList data, response status code and response headers
1023
+ def list_namespaced_controller_revision_with_http_info(namespace, opts = {})
1024
+ if @api_client.config.debugging
1025
+ @api_client.config.logger.debug "Calling API: AppsV1beta1Api.list_namespaced_controller_revision ..."
1026
+ end
1027
+ # verify the required parameter 'namespace' is set
1028
+ if @api_client.config.client_side_validation && namespace.nil?
1029
+ fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1beta1Api.list_namespaced_controller_revision"
1030
+ end
1031
+ # resource path
1032
+ local_var_path = "/apis/apps/v1beta1/namespaces/{namespace}/controllerrevisions".sub('{' + 'namespace' + '}', namespace.to_s)
1033
+
1034
+ # query parameters
1035
+ query_params = {}
1036
+ query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil?
1037
+ query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil?
1038
+ query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil?
1039
+ query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil?
1040
+ query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil?
1041
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
1042
+ query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil?
1043
+ query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil?
1044
+ query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil?
1045
+
1046
+ # header parameters
1047
+ header_params = {}
1048
+ # HTTP header 'Accept' (if needed)
1049
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch'])
1050
+ # HTTP header 'Content-Type'
1051
+ header_params['Content-Type'] = @api_client.select_header_content_type(['*/*'])
1052
+
1053
+ # form parameters
1054
+ form_params = {}
1055
+
1056
+ # http body (model)
1057
+ post_body = nil
1058
+ auth_names = ['BearerToken']
1059
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
1060
+ :header_params => header_params,
1061
+ :query_params => query_params,
1062
+ :form_params => form_params,
1063
+ :body => post_body,
1064
+ :auth_names => auth_names,
1065
+ :return_type => 'V1beta1ControllerRevisionList')
1066
+ if @api_client.config.debugging
1067
+ @api_client.config.logger.debug "API called: AppsV1beta1Api#list_namespaced_controller_revision\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1068
+ end
1069
+ return data, status_code, headers
1070
+ end
1071
+
1072
+ #
1073
+ # list or watch objects of kind Deployment
1074
+ # @param namespace object name and auth scope, such as for teams and projects
1075
+ # @param [Hash] opts the optional parameters
1076
+ # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response.
1077
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed.
1078
+ # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \&quot;next key\&quot;. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
1079
+ # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything.
1080
+ # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything.
1081
+ # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the &#x60;continue&#x60; field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
1082
+ # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it&#39;s 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
1083
+ # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
1084
+ # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
1085
+ # @return [AppsV1beta1DeploymentList]
1086
+ def list_namespaced_deployment(namespace, opts = {})
1087
+ data, _status_code, _headers = list_namespaced_deployment_with_http_info(namespace, opts)
1088
+ return data
1089
+ end
1090
+
1091
+ #
1092
+ # list or watch objects of kind Deployment
1093
+ # @param namespace object name and auth scope, such as for teams and projects
1094
+ # @param [Hash] opts the optional parameters
1095
+ # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response.
1096
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed.
1097
+ # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \&quot;next key\&quot;. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
1098
+ # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything.
1099
+ # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything.
1100
+ # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the &#x60;continue&#x60; field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
1101
+ # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it&#39;s 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
1102
+ # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
1103
+ # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
1104
+ # @return [Array<(AppsV1beta1DeploymentList, Fixnum, Hash)>] AppsV1beta1DeploymentList data, response status code and response headers
1105
+ def list_namespaced_deployment_with_http_info(namespace, opts = {})
1106
+ if @api_client.config.debugging
1107
+ @api_client.config.logger.debug "Calling API: AppsV1beta1Api.list_namespaced_deployment ..."
1108
+ end
1109
+ # verify the required parameter 'namespace' is set
1110
+ if @api_client.config.client_side_validation && namespace.nil?
1111
+ fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1beta1Api.list_namespaced_deployment"
1112
+ end
1113
+ # resource path
1114
+ local_var_path = "/apis/apps/v1beta1/namespaces/{namespace}/deployments".sub('{' + 'namespace' + '}', namespace.to_s)
1115
+
1116
+ # query parameters
1117
+ query_params = {}
1118
+ query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil?
1119
+ query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil?
1120
+ query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil?
1121
+ query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil?
1122
+ query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil?
1123
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
1124
+ query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil?
1125
+ query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil?
1126
+ query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil?
1127
+
1128
+ # header parameters
1129
+ header_params = {}
1130
+ # HTTP header 'Accept' (if needed)
1131
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch'])
1132
+ # HTTP header 'Content-Type'
1133
+ header_params['Content-Type'] = @api_client.select_header_content_type(['*/*'])
1134
+
1135
+ # form parameters
1136
+ form_params = {}
1137
+
1138
+ # http body (model)
1139
+ post_body = nil
1140
+ auth_names = ['BearerToken']
1141
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
1142
+ :header_params => header_params,
1143
+ :query_params => query_params,
1144
+ :form_params => form_params,
1145
+ :body => post_body,
1146
+ :auth_names => auth_names,
1147
+ :return_type => 'AppsV1beta1DeploymentList')
1148
+ if @api_client.config.debugging
1149
+ @api_client.config.logger.debug "API called: AppsV1beta1Api#list_namespaced_deployment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1150
+ end
1151
+ return data, status_code, headers
1152
+ end
1153
+
1154
+ #
1155
+ # list or watch objects of kind StatefulSet
1156
+ # @param namespace object name and auth scope, such as for teams and projects
1157
+ # @param [Hash] opts the optional parameters
1158
+ # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response.
1159
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed.
1160
+ # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \&quot;next key\&quot;. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
1161
+ # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything.
1162
+ # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything.
1163
+ # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the &#x60;continue&#x60; field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
1164
+ # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it&#39;s 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
1165
+ # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
1166
+ # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
1167
+ # @return [V1beta1StatefulSetList]
1168
+ def list_namespaced_stateful_set(namespace, opts = {})
1169
+ data, _status_code, _headers = list_namespaced_stateful_set_with_http_info(namespace, opts)
1170
+ return data
1171
+ end
1172
+
1173
+ #
1174
+ # list or watch objects of kind StatefulSet
1175
+ # @param namespace object name and auth scope, such as for teams and projects
1176
+ # @param [Hash] opts the optional parameters
1177
+ # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response.
1178
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed.
1179
+ # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \&quot;next key\&quot;. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
1180
+ # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything.
1181
+ # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything.
1182
+ # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the &#x60;continue&#x60; field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
1183
+ # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it&#39;s 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
1184
+ # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
1185
+ # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
1186
+ # @return [Array<(V1beta1StatefulSetList, Fixnum, Hash)>] V1beta1StatefulSetList data, response status code and response headers
1187
+ def list_namespaced_stateful_set_with_http_info(namespace, opts = {})
1188
+ if @api_client.config.debugging
1189
+ @api_client.config.logger.debug "Calling API: AppsV1beta1Api.list_namespaced_stateful_set ..."
1190
+ end
1191
+ # verify the required parameter 'namespace' is set
1192
+ if @api_client.config.client_side_validation && namespace.nil?
1193
+ fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1beta1Api.list_namespaced_stateful_set"
1194
+ end
1195
+ # resource path
1196
+ local_var_path = "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets".sub('{' + 'namespace' + '}', namespace.to_s)
1197
+
1198
+ # query parameters
1199
+ query_params = {}
1200
+ query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil?
1201
+ query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil?
1202
+ query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil?
1203
+ query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil?
1204
+ query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil?
1205
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
1206
+ query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil?
1207
+ query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil?
1208
+ query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil?
1209
+
1210
+ # header parameters
1211
+ header_params = {}
1212
+ # HTTP header 'Accept' (if needed)
1213
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch'])
1214
+ # HTTP header 'Content-Type'
1215
+ header_params['Content-Type'] = @api_client.select_header_content_type(['*/*'])
1216
+
1217
+ # form parameters
1218
+ form_params = {}
1219
+
1220
+ # http body (model)
1221
+ post_body = nil
1222
+ auth_names = ['BearerToken']
1223
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
1224
+ :header_params => header_params,
1225
+ :query_params => query_params,
1226
+ :form_params => form_params,
1227
+ :body => post_body,
1228
+ :auth_names => auth_names,
1229
+ :return_type => 'V1beta1StatefulSetList')
1230
+ if @api_client.config.debugging
1231
+ @api_client.config.logger.debug "API called: AppsV1beta1Api#list_namespaced_stateful_set\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1232
+ end
1233
+ return data, status_code, headers
1234
+ end
1235
+
1236
+ #
1237
+ # list or watch objects of kind StatefulSet
1238
+ # @param [Hash] opts the optional parameters
1239
+ # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \&quot;next key\&quot;. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
1240
+ # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything.
1241
+ # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response.
1242
+ # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything.
1243
+ # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the &#x60;continue&#x60; field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
1244
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed.
1245
+ # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it&#39;s 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
1246
+ # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
1247
+ # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
1248
+ # @return [V1beta1StatefulSetList]
1249
+ def list_stateful_set_for_all_namespaces(opts = {})
1250
+ data, _status_code, _headers = list_stateful_set_for_all_namespaces_with_http_info(opts)
1251
+ return data
1252
+ end
1253
+
1254
+ #
1255
+ # list or watch objects of kind StatefulSet
1256
+ # @param [Hash] opts the optional parameters
1257
+ # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \&quot;next key\&quot;. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
1258
+ # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything.
1259
+ # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response.
1260
+ # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything.
1261
+ # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the &#x60;continue&#x60; field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
1262
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed.
1263
+ # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it&#39;s 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
1264
+ # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
1265
+ # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
1266
+ # @return [Array<(V1beta1StatefulSetList, Fixnum, Hash)>] V1beta1StatefulSetList data, response status code and response headers
1267
+ def list_stateful_set_for_all_namespaces_with_http_info(opts = {})
1268
+ if @api_client.config.debugging
1269
+ @api_client.config.logger.debug "Calling API: AppsV1beta1Api.list_stateful_set_for_all_namespaces ..."
1270
+ end
1271
+ # resource path
1272
+ local_var_path = "/apis/apps/v1beta1/statefulsets"
1273
+
1274
+ # query parameters
1275
+ query_params = {}
1276
+ query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil?
1277
+ query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil?
1278
+ query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil?
1279
+ query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil?
1280
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
1281
+ query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil?
1282
+ query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil?
1283
+ query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil?
1284
+ query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil?
1285
+
1286
+ # header parameters
1287
+ header_params = {}
1288
+ # HTTP header 'Accept' (if needed)
1289
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch'])
1290
+ # HTTP header 'Content-Type'
1291
+ header_params['Content-Type'] = @api_client.select_header_content_type(['*/*'])
1292
+
1293
+ # form parameters
1294
+ form_params = {}
1295
+
1296
+ # http body (model)
1297
+ post_body = nil
1298
+ auth_names = ['BearerToken']
1299
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
1300
+ :header_params => header_params,
1301
+ :query_params => query_params,
1302
+ :form_params => form_params,
1303
+ :body => post_body,
1304
+ :auth_names => auth_names,
1305
+ :return_type => 'V1beta1StatefulSetList')
1306
+ if @api_client.config.debugging
1307
+ @api_client.config.logger.debug "API called: AppsV1beta1Api#list_stateful_set_for_all_namespaces\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1308
+ end
1309
+ return data, status_code, headers
1310
+ end
1311
+
1312
+ #
1313
+ # partially update the specified ControllerRevision
1314
+ # @param name name of the ControllerRevision
1315
+ # @param namespace object name and auth scope, such as for teams and projects
1316
+ # @param body
1317
+ # @param [Hash] opts the optional parameters
1318
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed.
1319
+ # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
1320
+ # @return [V1beta1ControllerRevision]
1321
+ def patch_namespaced_controller_revision(name, namespace, body, opts = {})
1322
+ data, _status_code, _headers = patch_namespaced_controller_revision_with_http_info(name, namespace, body, opts)
1323
+ return data
1324
+ end
1325
+
1326
+ #
1327
+ # partially update the specified ControllerRevision
1328
+ # @param name name of the ControllerRevision
1329
+ # @param namespace object name and auth scope, such as for teams and projects
1330
+ # @param body
1331
+ # @param [Hash] opts the optional parameters
1332
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed.
1333
+ # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
1334
+ # @return [Array<(V1beta1ControllerRevision, Fixnum, Hash)>] V1beta1ControllerRevision data, response status code and response headers
1335
+ def patch_namespaced_controller_revision_with_http_info(name, namespace, body, opts = {})
1336
+ if @api_client.config.debugging
1337
+ @api_client.config.logger.debug "Calling API: AppsV1beta1Api.patch_namespaced_controller_revision ..."
1338
+ end
1339
+ # verify the required parameter 'name' is set
1340
+ if @api_client.config.client_side_validation && name.nil?
1341
+ fail ArgumentError, "Missing the required parameter 'name' when calling AppsV1beta1Api.patch_namespaced_controller_revision"
1342
+ end
1343
+ # verify the required parameter 'namespace' is set
1344
+ if @api_client.config.client_side_validation && namespace.nil?
1345
+ fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1beta1Api.patch_namespaced_controller_revision"
1346
+ end
1347
+ # verify the required parameter 'body' is set
1348
+ if @api_client.config.client_side_validation && body.nil?
1349
+ fail ArgumentError, "Missing the required parameter 'body' when calling AppsV1beta1Api.patch_namespaced_controller_revision"
1350
+ end
1351
+ # resource path
1352
+ local_var_path = "/apis/apps/v1beta1/namespaces/{namespace}/controllerrevisions/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s)
1353
+
1354
+ # query parameters
1355
+ query_params = {}
1356
+ query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil?
1357
+ query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil?
1358
+
1359
+ # header parameters
1360
+ header_params = {}
1361
+ # HTTP header 'Accept' (if needed)
1362
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf'])
1363
+ # HTTP header 'Content-Type'
1364
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json'])
1365
+
1366
+ # form parameters
1367
+ form_params = {}
1368
+
1369
+ # http body (model)
1370
+ post_body = @api_client.object_to_http_body(body)
1371
+ auth_names = ['BearerToken']
1372
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
1373
+ :header_params => header_params,
1374
+ :query_params => query_params,
1375
+ :form_params => form_params,
1376
+ :body => post_body,
1377
+ :auth_names => auth_names,
1378
+ :return_type => 'V1beta1ControllerRevision')
1379
+ if @api_client.config.debugging
1380
+ @api_client.config.logger.debug "API called: AppsV1beta1Api#patch_namespaced_controller_revision\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1381
+ end
1382
+ return data, status_code, headers
1383
+ end
1384
+
1385
+ #
1386
+ # partially update the specified Deployment
1387
+ # @param name name of the Deployment
1388
+ # @param namespace object name and auth scope, such as for teams and projects
1389
+ # @param body
1390
+ # @param [Hash] opts the optional parameters
1391
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed.
1392
+ # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
1393
+ # @return [AppsV1beta1Deployment]
1394
+ def patch_namespaced_deployment(name, namespace, body, opts = {})
1395
+ data, _status_code, _headers = patch_namespaced_deployment_with_http_info(name, namespace, body, opts)
1396
+ return data
1397
+ end
1398
+
1399
+ #
1400
+ # partially update the specified Deployment
1401
+ # @param name name of the Deployment
1402
+ # @param namespace object name and auth scope, such as for teams and projects
1403
+ # @param body
1404
+ # @param [Hash] opts the optional parameters
1405
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed.
1406
+ # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
1407
+ # @return [Array<(AppsV1beta1Deployment, Fixnum, Hash)>] AppsV1beta1Deployment data, response status code and response headers
1408
+ def patch_namespaced_deployment_with_http_info(name, namespace, body, opts = {})
1409
+ if @api_client.config.debugging
1410
+ @api_client.config.logger.debug "Calling API: AppsV1beta1Api.patch_namespaced_deployment ..."
1411
+ end
1412
+ # verify the required parameter 'name' is set
1413
+ if @api_client.config.client_side_validation && name.nil?
1414
+ fail ArgumentError, "Missing the required parameter 'name' when calling AppsV1beta1Api.patch_namespaced_deployment"
1415
+ end
1416
+ # verify the required parameter 'namespace' is set
1417
+ if @api_client.config.client_side_validation && namespace.nil?
1418
+ fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1beta1Api.patch_namespaced_deployment"
1419
+ end
1420
+ # verify the required parameter 'body' is set
1421
+ if @api_client.config.client_side_validation && body.nil?
1422
+ fail ArgumentError, "Missing the required parameter 'body' when calling AppsV1beta1Api.patch_namespaced_deployment"
1423
+ end
1424
+ # resource path
1425
+ local_var_path = "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s)
1426
+
1427
+ # query parameters
1428
+ query_params = {}
1429
+ query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil?
1430
+ query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil?
1431
+
1432
+ # header parameters
1433
+ header_params = {}
1434
+ # HTTP header 'Accept' (if needed)
1435
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf'])
1436
+ # HTTP header 'Content-Type'
1437
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json'])
1438
+
1439
+ # form parameters
1440
+ form_params = {}
1441
+
1442
+ # http body (model)
1443
+ post_body = @api_client.object_to_http_body(body)
1444
+ auth_names = ['BearerToken']
1445
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
1446
+ :header_params => header_params,
1447
+ :query_params => query_params,
1448
+ :form_params => form_params,
1449
+ :body => post_body,
1450
+ :auth_names => auth_names,
1451
+ :return_type => 'AppsV1beta1Deployment')
1452
+ if @api_client.config.debugging
1453
+ @api_client.config.logger.debug "API called: AppsV1beta1Api#patch_namespaced_deployment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1454
+ end
1455
+ return data, status_code, headers
1456
+ end
1457
+
1458
+ #
1459
+ # partially update scale of the specified Deployment
1460
+ # @param name name of the Scale
1461
+ # @param namespace object name and auth scope, such as for teams and projects
1462
+ # @param body
1463
+ # @param [Hash] opts the optional parameters
1464
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed.
1465
+ # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
1466
+ # @return [AppsV1beta1Scale]
1467
+ def patch_namespaced_deployment_scale(name, namespace, body, opts = {})
1468
+ data, _status_code, _headers = patch_namespaced_deployment_scale_with_http_info(name, namespace, body, opts)
1469
+ return data
1470
+ end
1471
+
1472
+ #
1473
+ # partially update scale of the specified Deployment
1474
+ # @param name name of the Scale
1475
+ # @param namespace object name and auth scope, such as for teams and projects
1476
+ # @param body
1477
+ # @param [Hash] opts the optional parameters
1478
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed.
1479
+ # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
1480
+ # @return [Array<(AppsV1beta1Scale, Fixnum, Hash)>] AppsV1beta1Scale data, response status code and response headers
1481
+ def patch_namespaced_deployment_scale_with_http_info(name, namespace, body, opts = {})
1482
+ if @api_client.config.debugging
1483
+ @api_client.config.logger.debug "Calling API: AppsV1beta1Api.patch_namespaced_deployment_scale ..."
1484
+ end
1485
+ # verify the required parameter 'name' is set
1486
+ if @api_client.config.client_side_validation && name.nil?
1487
+ fail ArgumentError, "Missing the required parameter 'name' when calling AppsV1beta1Api.patch_namespaced_deployment_scale"
1488
+ end
1489
+ # verify the required parameter 'namespace' is set
1490
+ if @api_client.config.client_side_validation && namespace.nil?
1491
+ fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1beta1Api.patch_namespaced_deployment_scale"
1492
+ end
1493
+ # verify the required parameter 'body' is set
1494
+ if @api_client.config.client_side_validation && body.nil?
1495
+ fail ArgumentError, "Missing the required parameter 'body' when calling AppsV1beta1Api.patch_namespaced_deployment_scale"
1496
+ end
1497
+ # resource path
1498
+ local_var_path = "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/scale".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s)
1499
+
1500
+ # query parameters
1501
+ query_params = {}
1502
+ query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil?
1503
+ query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil?
1504
+
1505
+ # header parameters
1506
+ header_params = {}
1507
+ # HTTP header 'Accept' (if needed)
1508
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf'])
1509
+ # HTTP header 'Content-Type'
1510
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json'])
1511
+
1512
+ # form parameters
1513
+ form_params = {}
1514
+
1515
+ # http body (model)
1516
+ post_body = @api_client.object_to_http_body(body)
1517
+ auth_names = ['BearerToken']
1518
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
1519
+ :header_params => header_params,
1520
+ :query_params => query_params,
1521
+ :form_params => form_params,
1522
+ :body => post_body,
1523
+ :auth_names => auth_names,
1524
+ :return_type => 'AppsV1beta1Scale')
1525
+ if @api_client.config.debugging
1526
+ @api_client.config.logger.debug "API called: AppsV1beta1Api#patch_namespaced_deployment_scale\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1527
+ end
1528
+ return data, status_code, headers
1529
+ end
1530
+
1531
+ #
1532
+ # partially update status of the specified Deployment
1533
+ # @param name name of the Deployment
1534
+ # @param namespace object name and auth scope, such as for teams and projects
1535
+ # @param body
1536
+ # @param [Hash] opts the optional parameters
1537
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed.
1538
+ # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
1539
+ # @return [AppsV1beta1Deployment]
1540
+ def patch_namespaced_deployment_status(name, namespace, body, opts = {})
1541
+ data, _status_code, _headers = patch_namespaced_deployment_status_with_http_info(name, namespace, body, opts)
1542
+ return data
1543
+ end
1544
+
1545
+ #
1546
+ # partially update status of the specified Deployment
1547
+ # @param name name of the Deployment
1548
+ # @param namespace object name and auth scope, such as for teams and projects
1549
+ # @param body
1550
+ # @param [Hash] opts the optional parameters
1551
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed.
1552
+ # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
1553
+ # @return [Array<(AppsV1beta1Deployment, Fixnum, Hash)>] AppsV1beta1Deployment data, response status code and response headers
1554
+ def patch_namespaced_deployment_status_with_http_info(name, namespace, body, opts = {})
1555
+ if @api_client.config.debugging
1556
+ @api_client.config.logger.debug "Calling API: AppsV1beta1Api.patch_namespaced_deployment_status ..."
1557
+ end
1558
+ # verify the required parameter 'name' is set
1559
+ if @api_client.config.client_side_validation && name.nil?
1560
+ fail ArgumentError, "Missing the required parameter 'name' when calling AppsV1beta1Api.patch_namespaced_deployment_status"
1561
+ end
1562
+ # verify the required parameter 'namespace' is set
1563
+ if @api_client.config.client_side_validation && namespace.nil?
1564
+ fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1beta1Api.patch_namespaced_deployment_status"
1565
+ end
1566
+ # verify the required parameter 'body' is set
1567
+ if @api_client.config.client_side_validation && body.nil?
1568
+ fail ArgumentError, "Missing the required parameter 'body' when calling AppsV1beta1Api.patch_namespaced_deployment_status"
1569
+ end
1570
+ # resource path
1571
+ local_var_path = "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/status".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s)
1572
+
1573
+ # query parameters
1574
+ query_params = {}
1575
+ query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil?
1576
+ query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil?
1577
+
1578
+ # header parameters
1579
+ header_params = {}
1580
+ # HTTP header 'Accept' (if needed)
1581
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf'])
1582
+ # HTTP header 'Content-Type'
1583
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json'])
1584
+
1585
+ # form parameters
1586
+ form_params = {}
1587
+
1588
+ # http body (model)
1589
+ post_body = @api_client.object_to_http_body(body)
1590
+ auth_names = ['BearerToken']
1591
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
1592
+ :header_params => header_params,
1593
+ :query_params => query_params,
1594
+ :form_params => form_params,
1595
+ :body => post_body,
1596
+ :auth_names => auth_names,
1597
+ :return_type => 'AppsV1beta1Deployment')
1598
+ if @api_client.config.debugging
1599
+ @api_client.config.logger.debug "API called: AppsV1beta1Api#patch_namespaced_deployment_status\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1600
+ end
1601
+ return data, status_code, headers
1602
+ end
1603
+
1604
+ #
1605
+ # partially update the specified StatefulSet
1606
+ # @param name name of the StatefulSet
1607
+ # @param namespace object name and auth scope, such as for teams and projects
1608
+ # @param body
1609
+ # @param [Hash] opts the optional parameters
1610
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed.
1611
+ # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
1612
+ # @return [V1beta1StatefulSet]
1613
+ def patch_namespaced_stateful_set(name, namespace, body, opts = {})
1614
+ data, _status_code, _headers = patch_namespaced_stateful_set_with_http_info(name, namespace, body, opts)
1615
+ return data
1616
+ end
1617
+
1618
+ #
1619
+ # partially update the specified StatefulSet
1620
+ # @param name name of the StatefulSet
1621
+ # @param namespace object name and auth scope, such as for teams and projects
1622
+ # @param body
1623
+ # @param [Hash] opts the optional parameters
1624
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed.
1625
+ # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
1626
+ # @return [Array<(V1beta1StatefulSet, Fixnum, Hash)>] V1beta1StatefulSet data, response status code and response headers
1627
+ def patch_namespaced_stateful_set_with_http_info(name, namespace, body, opts = {})
1628
+ if @api_client.config.debugging
1629
+ @api_client.config.logger.debug "Calling API: AppsV1beta1Api.patch_namespaced_stateful_set ..."
1630
+ end
1631
+ # verify the required parameter 'name' is set
1632
+ if @api_client.config.client_side_validation && name.nil?
1633
+ fail ArgumentError, "Missing the required parameter 'name' when calling AppsV1beta1Api.patch_namespaced_stateful_set"
1634
+ end
1635
+ # verify the required parameter 'namespace' is set
1636
+ if @api_client.config.client_side_validation && namespace.nil?
1637
+ fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1beta1Api.patch_namespaced_stateful_set"
1638
+ end
1639
+ # verify the required parameter 'body' is set
1640
+ if @api_client.config.client_side_validation && body.nil?
1641
+ fail ArgumentError, "Missing the required parameter 'body' when calling AppsV1beta1Api.patch_namespaced_stateful_set"
1642
+ end
1643
+ # resource path
1644
+ local_var_path = "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s)
1645
+
1646
+ # query parameters
1647
+ query_params = {}
1648
+ query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil?
1649
+ query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil?
1650
+
1651
+ # header parameters
1652
+ header_params = {}
1653
+ # HTTP header 'Accept' (if needed)
1654
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf'])
1655
+ # HTTP header 'Content-Type'
1656
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json'])
1657
+
1658
+ # form parameters
1659
+ form_params = {}
1660
+
1661
+ # http body (model)
1662
+ post_body = @api_client.object_to_http_body(body)
1663
+ auth_names = ['BearerToken']
1664
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
1665
+ :header_params => header_params,
1666
+ :query_params => query_params,
1667
+ :form_params => form_params,
1668
+ :body => post_body,
1669
+ :auth_names => auth_names,
1670
+ :return_type => 'V1beta1StatefulSet')
1671
+ if @api_client.config.debugging
1672
+ @api_client.config.logger.debug "API called: AppsV1beta1Api#patch_namespaced_stateful_set\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1673
+ end
1674
+ return data, status_code, headers
1675
+ end
1676
+
1677
+ #
1678
+ # partially update scale of the specified StatefulSet
1679
+ # @param name name of the Scale
1680
+ # @param namespace object name and auth scope, such as for teams and projects
1681
+ # @param body
1682
+ # @param [Hash] opts the optional parameters
1683
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed.
1684
+ # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
1685
+ # @return [AppsV1beta1Scale]
1686
+ def patch_namespaced_stateful_set_scale(name, namespace, body, opts = {})
1687
+ data, _status_code, _headers = patch_namespaced_stateful_set_scale_with_http_info(name, namespace, body, opts)
1688
+ return data
1689
+ end
1690
+
1691
+ #
1692
+ # partially update scale of the specified StatefulSet
1693
+ # @param name name of the Scale
1694
+ # @param namespace object name and auth scope, such as for teams and projects
1695
+ # @param body
1696
+ # @param [Hash] opts the optional parameters
1697
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed.
1698
+ # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
1699
+ # @return [Array<(AppsV1beta1Scale, Fixnum, Hash)>] AppsV1beta1Scale data, response status code and response headers
1700
+ def patch_namespaced_stateful_set_scale_with_http_info(name, namespace, body, opts = {})
1701
+ if @api_client.config.debugging
1702
+ @api_client.config.logger.debug "Calling API: AppsV1beta1Api.patch_namespaced_stateful_set_scale ..."
1703
+ end
1704
+ # verify the required parameter 'name' is set
1705
+ if @api_client.config.client_side_validation && name.nil?
1706
+ fail ArgumentError, "Missing the required parameter 'name' when calling AppsV1beta1Api.patch_namespaced_stateful_set_scale"
1707
+ end
1708
+ # verify the required parameter 'namespace' is set
1709
+ if @api_client.config.client_side_validation && namespace.nil?
1710
+ fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1beta1Api.patch_namespaced_stateful_set_scale"
1711
+ end
1712
+ # verify the required parameter 'body' is set
1713
+ if @api_client.config.client_side_validation && body.nil?
1714
+ fail ArgumentError, "Missing the required parameter 'body' when calling AppsV1beta1Api.patch_namespaced_stateful_set_scale"
1715
+ end
1716
+ # resource path
1717
+ local_var_path = "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/scale".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s)
1718
+
1719
+ # query parameters
1720
+ query_params = {}
1721
+ query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil?
1722
+ query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil?
1723
+
1724
+ # header parameters
1725
+ header_params = {}
1726
+ # HTTP header 'Accept' (if needed)
1727
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf'])
1728
+ # HTTP header 'Content-Type'
1729
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json'])
1730
+
1731
+ # form parameters
1732
+ form_params = {}
1733
+
1734
+ # http body (model)
1735
+ post_body = @api_client.object_to_http_body(body)
1736
+ auth_names = ['BearerToken']
1737
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
1738
+ :header_params => header_params,
1739
+ :query_params => query_params,
1740
+ :form_params => form_params,
1741
+ :body => post_body,
1742
+ :auth_names => auth_names,
1743
+ :return_type => 'AppsV1beta1Scale')
1744
+ if @api_client.config.debugging
1745
+ @api_client.config.logger.debug "API called: AppsV1beta1Api#patch_namespaced_stateful_set_scale\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1746
+ end
1747
+ return data, status_code, headers
1748
+ end
1749
+
1750
+ #
1751
+ # partially update status of the specified StatefulSet
1752
+ # @param name name of the StatefulSet
1753
+ # @param namespace object name and auth scope, such as for teams and projects
1754
+ # @param body
1755
+ # @param [Hash] opts the optional parameters
1756
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed.
1757
+ # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
1758
+ # @return [V1beta1StatefulSet]
1759
+ def patch_namespaced_stateful_set_status(name, namespace, body, opts = {})
1760
+ data, _status_code, _headers = patch_namespaced_stateful_set_status_with_http_info(name, namespace, body, opts)
1761
+ return data
1762
+ end
1763
+
1764
+ #
1765
+ # partially update status of the specified StatefulSet
1766
+ # @param name name of the StatefulSet
1767
+ # @param namespace object name and auth scope, such as for teams and projects
1768
+ # @param body
1769
+ # @param [Hash] opts the optional parameters
1770
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed.
1771
+ # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
1772
+ # @return [Array<(V1beta1StatefulSet, Fixnum, Hash)>] V1beta1StatefulSet data, response status code and response headers
1773
+ def patch_namespaced_stateful_set_status_with_http_info(name, namespace, body, opts = {})
1774
+ if @api_client.config.debugging
1775
+ @api_client.config.logger.debug "Calling API: AppsV1beta1Api.patch_namespaced_stateful_set_status ..."
1776
+ end
1777
+ # verify the required parameter 'name' is set
1778
+ if @api_client.config.client_side_validation && name.nil?
1779
+ fail ArgumentError, "Missing the required parameter 'name' when calling AppsV1beta1Api.patch_namespaced_stateful_set_status"
1780
+ end
1781
+ # verify the required parameter 'namespace' is set
1782
+ if @api_client.config.client_side_validation && namespace.nil?
1783
+ fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1beta1Api.patch_namespaced_stateful_set_status"
1784
+ end
1785
+ # verify the required parameter 'body' is set
1786
+ if @api_client.config.client_side_validation && body.nil?
1787
+ fail ArgumentError, "Missing the required parameter 'body' when calling AppsV1beta1Api.patch_namespaced_stateful_set_status"
1788
+ end
1789
+ # resource path
1790
+ local_var_path = "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/status".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s)
1791
+
1792
+ # query parameters
1793
+ query_params = {}
1794
+ query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil?
1795
+ query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil?
1796
+
1797
+ # header parameters
1798
+ header_params = {}
1799
+ # HTTP header 'Accept' (if needed)
1800
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf'])
1801
+ # HTTP header 'Content-Type'
1802
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json'])
1803
+
1804
+ # form parameters
1805
+ form_params = {}
1806
+
1807
+ # http body (model)
1808
+ post_body = @api_client.object_to_http_body(body)
1809
+ auth_names = ['BearerToken']
1810
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
1811
+ :header_params => header_params,
1812
+ :query_params => query_params,
1813
+ :form_params => form_params,
1814
+ :body => post_body,
1815
+ :auth_names => auth_names,
1816
+ :return_type => 'V1beta1StatefulSet')
1817
+ if @api_client.config.debugging
1818
+ @api_client.config.logger.debug "API called: AppsV1beta1Api#patch_namespaced_stateful_set_status\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1819
+ end
1820
+ return data, status_code, headers
1821
+ end
1822
+
1823
+ #
1824
+ # read the specified ControllerRevision
1825
+ # @param name name of the ControllerRevision
1826
+ # @param namespace object name and auth scope, such as for teams and projects
1827
+ # @param [Hash] opts the optional parameters
1828
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed.
1829
+ # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like &#39;Namespace&#39;.
1830
+ # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify.
1831
+ # @return [V1beta1ControllerRevision]
1832
+ def read_namespaced_controller_revision(name, namespace, opts = {})
1833
+ data, _status_code, _headers = read_namespaced_controller_revision_with_http_info(name, namespace, opts)
1834
+ return data
1835
+ end
1836
+
1837
+ #
1838
+ # read the specified ControllerRevision
1839
+ # @param name name of the ControllerRevision
1840
+ # @param namespace object name and auth scope, such as for teams and projects
1841
+ # @param [Hash] opts the optional parameters
1842
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed.
1843
+ # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like &#39;Namespace&#39;.
1844
+ # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify.
1845
+ # @return [Array<(V1beta1ControllerRevision, Fixnum, Hash)>] V1beta1ControllerRevision data, response status code and response headers
1846
+ def read_namespaced_controller_revision_with_http_info(name, namespace, opts = {})
1847
+ if @api_client.config.debugging
1848
+ @api_client.config.logger.debug "Calling API: AppsV1beta1Api.read_namespaced_controller_revision ..."
1849
+ end
1850
+ # verify the required parameter 'name' is set
1851
+ if @api_client.config.client_side_validation && name.nil?
1852
+ fail ArgumentError, "Missing the required parameter 'name' when calling AppsV1beta1Api.read_namespaced_controller_revision"
1853
+ end
1854
+ # verify the required parameter 'namespace' is set
1855
+ if @api_client.config.client_side_validation && namespace.nil?
1856
+ fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1beta1Api.read_namespaced_controller_revision"
1857
+ end
1858
+ # resource path
1859
+ local_var_path = "/apis/apps/v1beta1/namespaces/{namespace}/controllerrevisions/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s)
1860
+
1861
+ # query parameters
1862
+ query_params = {}
1863
+ query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil?
1864
+ query_params[:'exact'] = opts[:'exact'] if !opts[:'exact'].nil?
1865
+ query_params[:'export'] = opts[:'export'] if !opts[:'export'].nil?
1866
+
1867
+ # header parameters
1868
+ header_params = {}
1869
+ # HTTP header 'Accept' (if needed)
1870
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf'])
1871
+ # HTTP header 'Content-Type'
1872
+ header_params['Content-Type'] = @api_client.select_header_content_type(['*/*'])
1873
+
1874
+ # form parameters
1875
+ form_params = {}
1876
+
1877
+ # http body (model)
1878
+ post_body = nil
1879
+ auth_names = ['BearerToken']
1880
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
1881
+ :header_params => header_params,
1882
+ :query_params => query_params,
1883
+ :form_params => form_params,
1884
+ :body => post_body,
1885
+ :auth_names => auth_names,
1886
+ :return_type => 'V1beta1ControllerRevision')
1887
+ if @api_client.config.debugging
1888
+ @api_client.config.logger.debug "API called: AppsV1beta1Api#read_namespaced_controller_revision\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1889
+ end
1890
+ return data, status_code, headers
1891
+ end
1892
+
1893
+ #
1894
+ # read the specified Deployment
1895
+ # @param name name of the Deployment
1896
+ # @param namespace object name and auth scope, such as for teams and projects
1897
+ # @param [Hash] opts the optional parameters
1898
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed.
1899
+ # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like &#39;Namespace&#39;.
1900
+ # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify.
1901
+ # @return [AppsV1beta1Deployment]
1902
+ def read_namespaced_deployment(name, namespace, opts = {})
1903
+ data, _status_code, _headers = read_namespaced_deployment_with_http_info(name, namespace, opts)
1904
+ return data
1905
+ end
1906
+
1907
+ #
1908
+ # read the specified Deployment
1909
+ # @param name name of the Deployment
1910
+ # @param namespace object name and auth scope, such as for teams and projects
1911
+ # @param [Hash] opts the optional parameters
1912
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed.
1913
+ # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like &#39;Namespace&#39;.
1914
+ # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify.
1915
+ # @return [Array<(AppsV1beta1Deployment, Fixnum, Hash)>] AppsV1beta1Deployment data, response status code and response headers
1916
+ def read_namespaced_deployment_with_http_info(name, namespace, opts = {})
1917
+ if @api_client.config.debugging
1918
+ @api_client.config.logger.debug "Calling API: AppsV1beta1Api.read_namespaced_deployment ..."
1919
+ end
1920
+ # verify the required parameter 'name' is set
1921
+ if @api_client.config.client_side_validation && name.nil?
1922
+ fail ArgumentError, "Missing the required parameter 'name' when calling AppsV1beta1Api.read_namespaced_deployment"
1923
+ end
1924
+ # verify the required parameter 'namespace' is set
1925
+ if @api_client.config.client_side_validation && namespace.nil?
1926
+ fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1beta1Api.read_namespaced_deployment"
1927
+ end
1928
+ # resource path
1929
+ local_var_path = "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s)
1930
+
1931
+ # query parameters
1932
+ query_params = {}
1933
+ query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil?
1934
+ query_params[:'exact'] = opts[:'exact'] if !opts[:'exact'].nil?
1935
+ query_params[:'export'] = opts[:'export'] if !opts[:'export'].nil?
1936
+
1937
+ # header parameters
1938
+ header_params = {}
1939
+ # HTTP header 'Accept' (if needed)
1940
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf'])
1941
+ # HTTP header 'Content-Type'
1942
+ header_params['Content-Type'] = @api_client.select_header_content_type(['*/*'])
1943
+
1944
+ # form parameters
1945
+ form_params = {}
1946
+
1947
+ # http body (model)
1948
+ post_body = nil
1949
+ auth_names = ['BearerToken']
1950
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
1951
+ :header_params => header_params,
1952
+ :query_params => query_params,
1953
+ :form_params => form_params,
1954
+ :body => post_body,
1955
+ :auth_names => auth_names,
1956
+ :return_type => 'AppsV1beta1Deployment')
1957
+ if @api_client.config.debugging
1958
+ @api_client.config.logger.debug "API called: AppsV1beta1Api#read_namespaced_deployment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1959
+ end
1960
+ return data, status_code, headers
1961
+ end
1962
+
1963
+ #
1964
+ # read scale of the specified Deployment
1965
+ # @param name name of the Scale
1966
+ # @param namespace object name and auth scope, such as for teams and projects
1967
+ # @param [Hash] opts the optional parameters
1968
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed.
1969
+ # @return [AppsV1beta1Scale]
1970
+ def read_namespaced_deployment_scale(name, namespace, opts = {})
1971
+ data, _status_code, _headers = read_namespaced_deployment_scale_with_http_info(name, namespace, opts)
1972
+ return data
1973
+ end
1974
+
1975
+ #
1976
+ # read scale of the specified Deployment
1977
+ # @param name name of the Scale
1978
+ # @param namespace object name and auth scope, such as for teams and projects
1979
+ # @param [Hash] opts the optional parameters
1980
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed.
1981
+ # @return [Array<(AppsV1beta1Scale, Fixnum, Hash)>] AppsV1beta1Scale data, response status code and response headers
1982
+ def read_namespaced_deployment_scale_with_http_info(name, namespace, opts = {})
1983
+ if @api_client.config.debugging
1984
+ @api_client.config.logger.debug "Calling API: AppsV1beta1Api.read_namespaced_deployment_scale ..."
1985
+ end
1986
+ # verify the required parameter 'name' is set
1987
+ if @api_client.config.client_side_validation && name.nil?
1988
+ fail ArgumentError, "Missing the required parameter 'name' when calling AppsV1beta1Api.read_namespaced_deployment_scale"
1989
+ end
1990
+ # verify the required parameter 'namespace' is set
1991
+ if @api_client.config.client_side_validation && namespace.nil?
1992
+ fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1beta1Api.read_namespaced_deployment_scale"
1993
+ end
1994
+ # resource path
1995
+ local_var_path = "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/scale".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s)
1996
+
1997
+ # query parameters
1998
+ query_params = {}
1999
+ query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil?
2000
+
2001
+ # header parameters
2002
+ header_params = {}
2003
+ # HTTP header 'Accept' (if needed)
2004
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf'])
2005
+ # HTTP header 'Content-Type'
2006
+ header_params['Content-Type'] = @api_client.select_header_content_type(['*/*'])
2007
+
2008
+ # form parameters
2009
+ form_params = {}
2010
+
2011
+ # http body (model)
2012
+ post_body = nil
2013
+ auth_names = ['BearerToken']
2014
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
2015
+ :header_params => header_params,
2016
+ :query_params => query_params,
2017
+ :form_params => form_params,
2018
+ :body => post_body,
2019
+ :auth_names => auth_names,
2020
+ :return_type => 'AppsV1beta1Scale')
2021
+ if @api_client.config.debugging
2022
+ @api_client.config.logger.debug "API called: AppsV1beta1Api#read_namespaced_deployment_scale\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2023
+ end
2024
+ return data, status_code, headers
2025
+ end
2026
+
2027
+ #
2028
+ # read status of the specified Deployment
2029
+ # @param name name of the Deployment
2030
+ # @param namespace object name and auth scope, such as for teams and projects
2031
+ # @param [Hash] opts the optional parameters
2032
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed.
2033
+ # @return [AppsV1beta1Deployment]
2034
+ def read_namespaced_deployment_status(name, namespace, opts = {})
2035
+ data, _status_code, _headers = read_namespaced_deployment_status_with_http_info(name, namespace, opts)
2036
+ return data
2037
+ end
2038
+
2039
+ #
2040
+ # read status of the specified Deployment
2041
+ # @param name name of the Deployment
2042
+ # @param namespace object name and auth scope, such as for teams and projects
2043
+ # @param [Hash] opts the optional parameters
2044
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed.
2045
+ # @return [Array<(AppsV1beta1Deployment, Fixnum, Hash)>] AppsV1beta1Deployment data, response status code and response headers
2046
+ def read_namespaced_deployment_status_with_http_info(name, namespace, opts = {})
2047
+ if @api_client.config.debugging
2048
+ @api_client.config.logger.debug "Calling API: AppsV1beta1Api.read_namespaced_deployment_status ..."
2049
+ end
2050
+ # verify the required parameter 'name' is set
2051
+ if @api_client.config.client_side_validation && name.nil?
2052
+ fail ArgumentError, "Missing the required parameter 'name' when calling AppsV1beta1Api.read_namespaced_deployment_status"
2053
+ end
2054
+ # verify the required parameter 'namespace' is set
2055
+ if @api_client.config.client_side_validation && namespace.nil?
2056
+ fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1beta1Api.read_namespaced_deployment_status"
2057
+ end
2058
+ # resource path
2059
+ local_var_path = "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/status".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s)
2060
+
2061
+ # query parameters
2062
+ query_params = {}
2063
+ query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil?
2064
+
2065
+ # header parameters
2066
+ header_params = {}
2067
+ # HTTP header 'Accept' (if needed)
2068
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf'])
2069
+ # HTTP header 'Content-Type'
2070
+ header_params['Content-Type'] = @api_client.select_header_content_type(['*/*'])
2071
+
2072
+ # form parameters
2073
+ form_params = {}
2074
+
2075
+ # http body (model)
2076
+ post_body = nil
2077
+ auth_names = ['BearerToken']
2078
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
2079
+ :header_params => header_params,
2080
+ :query_params => query_params,
2081
+ :form_params => form_params,
2082
+ :body => post_body,
2083
+ :auth_names => auth_names,
2084
+ :return_type => 'AppsV1beta1Deployment')
2085
+ if @api_client.config.debugging
2086
+ @api_client.config.logger.debug "API called: AppsV1beta1Api#read_namespaced_deployment_status\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2087
+ end
2088
+ return data, status_code, headers
2089
+ end
2090
+
2091
+ #
2092
+ # read the specified StatefulSet
2093
+ # @param name name of the StatefulSet
2094
+ # @param namespace object name and auth scope, such as for teams and projects
2095
+ # @param [Hash] opts the optional parameters
2096
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed.
2097
+ # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like &#39;Namespace&#39;.
2098
+ # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify.
2099
+ # @return [V1beta1StatefulSet]
2100
+ def read_namespaced_stateful_set(name, namespace, opts = {})
2101
+ data, _status_code, _headers = read_namespaced_stateful_set_with_http_info(name, namespace, opts)
2102
+ return data
2103
+ end
2104
+
2105
+ #
2106
+ # read the specified StatefulSet
2107
+ # @param name name of the StatefulSet
2108
+ # @param namespace object name and auth scope, such as for teams and projects
2109
+ # @param [Hash] opts the optional parameters
2110
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed.
2111
+ # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like &#39;Namespace&#39;.
2112
+ # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify.
2113
+ # @return [Array<(V1beta1StatefulSet, Fixnum, Hash)>] V1beta1StatefulSet data, response status code and response headers
2114
+ def read_namespaced_stateful_set_with_http_info(name, namespace, opts = {})
2115
+ if @api_client.config.debugging
2116
+ @api_client.config.logger.debug "Calling API: AppsV1beta1Api.read_namespaced_stateful_set ..."
2117
+ end
2118
+ # verify the required parameter 'name' is set
2119
+ if @api_client.config.client_side_validation && name.nil?
2120
+ fail ArgumentError, "Missing the required parameter 'name' when calling AppsV1beta1Api.read_namespaced_stateful_set"
2121
+ end
2122
+ # verify the required parameter 'namespace' is set
2123
+ if @api_client.config.client_side_validation && namespace.nil?
2124
+ fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1beta1Api.read_namespaced_stateful_set"
2125
+ end
2126
+ # resource path
2127
+ local_var_path = "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s)
2128
+
2129
+ # query parameters
2130
+ query_params = {}
2131
+ query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil?
2132
+ query_params[:'exact'] = opts[:'exact'] if !opts[:'exact'].nil?
2133
+ query_params[:'export'] = opts[:'export'] if !opts[:'export'].nil?
2134
+
2135
+ # header parameters
2136
+ header_params = {}
2137
+ # HTTP header 'Accept' (if needed)
2138
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf'])
2139
+ # HTTP header 'Content-Type'
2140
+ header_params['Content-Type'] = @api_client.select_header_content_type(['*/*'])
2141
+
2142
+ # form parameters
2143
+ form_params = {}
2144
+
2145
+ # http body (model)
2146
+ post_body = nil
2147
+ auth_names = ['BearerToken']
2148
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
2149
+ :header_params => header_params,
2150
+ :query_params => query_params,
2151
+ :form_params => form_params,
2152
+ :body => post_body,
2153
+ :auth_names => auth_names,
2154
+ :return_type => 'V1beta1StatefulSet')
2155
+ if @api_client.config.debugging
2156
+ @api_client.config.logger.debug "API called: AppsV1beta1Api#read_namespaced_stateful_set\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2157
+ end
2158
+ return data, status_code, headers
2159
+ end
2160
+
2161
+ #
2162
+ # read scale of the specified StatefulSet
2163
+ # @param name name of the Scale
2164
+ # @param namespace object name and auth scope, such as for teams and projects
2165
+ # @param [Hash] opts the optional parameters
2166
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed.
2167
+ # @return [AppsV1beta1Scale]
2168
+ def read_namespaced_stateful_set_scale(name, namespace, opts = {})
2169
+ data, _status_code, _headers = read_namespaced_stateful_set_scale_with_http_info(name, namespace, opts)
2170
+ return data
2171
+ end
2172
+
2173
+ #
2174
+ # read scale of the specified StatefulSet
2175
+ # @param name name of the Scale
2176
+ # @param namespace object name and auth scope, such as for teams and projects
2177
+ # @param [Hash] opts the optional parameters
2178
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed.
2179
+ # @return [Array<(AppsV1beta1Scale, Fixnum, Hash)>] AppsV1beta1Scale data, response status code and response headers
2180
+ def read_namespaced_stateful_set_scale_with_http_info(name, namespace, opts = {})
2181
+ if @api_client.config.debugging
2182
+ @api_client.config.logger.debug "Calling API: AppsV1beta1Api.read_namespaced_stateful_set_scale ..."
2183
+ end
2184
+ # verify the required parameter 'name' is set
2185
+ if @api_client.config.client_side_validation && name.nil?
2186
+ fail ArgumentError, "Missing the required parameter 'name' when calling AppsV1beta1Api.read_namespaced_stateful_set_scale"
2187
+ end
2188
+ # verify the required parameter 'namespace' is set
2189
+ if @api_client.config.client_side_validation && namespace.nil?
2190
+ fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1beta1Api.read_namespaced_stateful_set_scale"
2191
+ end
2192
+ # resource path
2193
+ local_var_path = "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/scale".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s)
2194
+
2195
+ # query parameters
2196
+ query_params = {}
2197
+ query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil?
2198
+
2199
+ # header parameters
2200
+ header_params = {}
2201
+ # HTTP header 'Accept' (if needed)
2202
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf'])
2203
+ # HTTP header 'Content-Type'
2204
+ header_params['Content-Type'] = @api_client.select_header_content_type(['*/*'])
2205
+
2206
+ # form parameters
2207
+ form_params = {}
2208
+
2209
+ # http body (model)
2210
+ post_body = nil
2211
+ auth_names = ['BearerToken']
2212
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
2213
+ :header_params => header_params,
2214
+ :query_params => query_params,
2215
+ :form_params => form_params,
2216
+ :body => post_body,
2217
+ :auth_names => auth_names,
2218
+ :return_type => 'AppsV1beta1Scale')
2219
+ if @api_client.config.debugging
2220
+ @api_client.config.logger.debug "API called: AppsV1beta1Api#read_namespaced_stateful_set_scale\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2221
+ end
2222
+ return data, status_code, headers
2223
+ end
2224
+
2225
+ #
2226
+ # read status of the specified StatefulSet
2227
+ # @param name name of the StatefulSet
2228
+ # @param namespace object name and auth scope, such as for teams and projects
2229
+ # @param [Hash] opts the optional parameters
2230
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed.
2231
+ # @return [V1beta1StatefulSet]
2232
+ def read_namespaced_stateful_set_status(name, namespace, opts = {})
2233
+ data, _status_code, _headers = read_namespaced_stateful_set_status_with_http_info(name, namespace, opts)
2234
+ return data
2235
+ end
2236
+
2237
+ #
2238
+ # read status of the specified StatefulSet
2239
+ # @param name name of the StatefulSet
2240
+ # @param namespace object name and auth scope, such as for teams and projects
2241
+ # @param [Hash] opts the optional parameters
2242
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed.
2243
+ # @return [Array<(V1beta1StatefulSet, Fixnum, Hash)>] V1beta1StatefulSet data, response status code and response headers
2244
+ def read_namespaced_stateful_set_status_with_http_info(name, namespace, opts = {})
2245
+ if @api_client.config.debugging
2246
+ @api_client.config.logger.debug "Calling API: AppsV1beta1Api.read_namespaced_stateful_set_status ..."
2247
+ end
2248
+ # verify the required parameter 'name' is set
2249
+ if @api_client.config.client_side_validation && name.nil?
2250
+ fail ArgumentError, "Missing the required parameter 'name' when calling AppsV1beta1Api.read_namespaced_stateful_set_status"
2251
+ end
2252
+ # verify the required parameter 'namespace' is set
2253
+ if @api_client.config.client_side_validation && namespace.nil?
2254
+ fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1beta1Api.read_namespaced_stateful_set_status"
2255
+ end
2256
+ # resource path
2257
+ local_var_path = "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/status".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s)
2258
+
2259
+ # query parameters
2260
+ query_params = {}
2261
+ query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil?
2262
+
2263
+ # header parameters
2264
+ header_params = {}
2265
+ # HTTP header 'Accept' (if needed)
2266
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf'])
2267
+ # HTTP header 'Content-Type'
2268
+ header_params['Content-Type'] = @api_client.select_header_content_type(['*/*'])
2269
+
2270
+ # form parameters
2271
+ form_params = {}
2272
+
2273
+ # http body (model)
2274
+ post_body = nil
2275
+ auth_names = ['BearerToken']
2276
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
2277
+ :header_params => header_params,
2278
+ :query_params => query_params,
2279
+ :form_params => form_params,
2280
+ :body => post_body,
2281
+ :auth_names => auth_names,
2282
+ :return_type => 'V1beta1StatefulSet')
2283
+ if @api_client.config.debugging
2284
+ @api_client.config.logger.debug "API called: AppsV1beta1Api#read_namespaced_stateful_set_status\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2285
+ end
2286
+ return data, status_code, headers
2287
+ end
2288
+
2289
+ #
2290
+ # replace the specified ControllerRevision
2291
+ # @param name name of the ControllerRevision
2292
+ # @param namespace object name and auth scope, such as for teams and projects
2293
+ # @param body
2294
+ # @param [Hash] opts the optional parameters
2295
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed.
2296
+ # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
2297
+ # @return [V1beta1ControllerRevision]
2298
+ def replace_namespaced_controller_revision(name, namespace, body, opts = {})
2299
+ data, _status_code, _headers = replace_namespaced_controller_revision_with_http_info(name, namespace, body, opts)
2300
+ return data
2301
+ end
2302
+
2303
+ #
2304
+ # replace the specified ControllerRevision
2305
+ # @param name name of the ControllerRevision
2306
+ # @param namespace object name and auth scope, such as for teams and projects
2307
+ # @param body
2308
+ # @param [Hash] opts the optional parameters
2309
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed.
2310
+ # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
2311
+ # @return [Array<(V1beta1ControllerRevision, Fixnum, Hash)>] V1beta1ControllerRevision data, response status code and response headers
2312
+ def replace_namespaced_controller_revision_with_http_info(name, namespace, body, opts = {})
2313
+ if @api_client.config.debugging
2314
+ @api_client.config.logger.debug "Calling API: AppsV1beta1Api.replace_namespaced_controller_revision ..."
2315
+ end
2316
+ # verify the required parameter 'name' is set
2317
+ if @api_client.config.client_side_validation && name.nil?
2318
+ fail ArgumentError, "Missing the required parameter 'name' when calling AppsV1beta1Api.replace_namespaced_controller_revision"
2319
+ end
2320
+ # verify the required parameter 'namespace' is set
2321
+ if @api_client.config.client_side_validation && namespace.nil?
2322
+ fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1beta1Api.replace_namespaced_controller_revision"
2323
+ end
2324
+ # verify the required parameter 'body' is set
2325
+ if @api_client.config.client_side_validation && body.nil?
2326
+ fail ArgumentError, "Missing the required parameter 'body' when calling AppsV1beta1Api.replace_namespaced_controller_revision"
2327
+ end
2328
+ # resource path
2329
+ local_var_path = "/apis/apps/v1beta1/namespaces/{namespace}/controllerrevisions/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s)
2330
+
2331
+ # query parameters
2332
+ query_params = {}
2333
+ query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil?
2334
+ query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil?
2335
+
2336
+ # header parameters
2337
+ header_params = {}
2338
+ # HTTP header 'Accept' (if needed)
2339
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf'])
2340
+ # HTTP header 'Content-Type'
2341
+ header_params['Content-Type'] = @api_client.select_header_content_type(['*/*'])
2342
+
2343
+ # form parameters
2344
+ form_params = {}
2345
+
2346
+ # http body (model)
2347
+ post_body = @api_client.object_to_http_body(body)
2348
+ auth_names = ['BearerToken']
2349
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
2350
+ :header_params => header_params,
2351
+ :query_params => query_params,
2352
+ :form_params => form_params,
2353
+ :body => post_body,
2354
+ :auth_names => auth_names,
2355
+ :return_type => 'V1beta1ControllerRevision')
2356
+ if @api_client.config.debugging
2357
+ @api_client.config.logger.debug "API called: AppsV1beta1Api#replace_namespaced_controller_revision\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2358
+ end
2359
+ return data, status_code, headers
2360
+ end
2361
+
2362
+ #
2363
+ # replace the specified Deployment
2364
+ # @param name name of the Deployment
2365
+ # @param namespace object name and auth scope, such as for teams and projects
2366
+ # @param body
2367
+ # @param [Hash] opts the optional parameters
2368
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed.
2369
+ # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
2370
+ # @return [AppsV1beta1Deployment]
2371
+ def replace_namespaced_deployment(name, namespace, body, opts = {})
2372
+ data, _status_code, _headers = replace_namespaced_deployment_with_http_info(name, namespace, body, opts)
2373
+ return data
2374
+ end
2375
+
2376
+ #
2377
+ # replace the specified Deployment
2378
+ # @param name name of the Deployment
2379
+ # @param namespace object name and auth scope, such as for teams and projects
2380
+ # @param body
2381
+ # @param [Hash] opts the optional parameters
2382
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed.
2383
+ # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
2384
+ # @return [Array<(AppsV1beta1Deployment, Fixnum, Hash)>] AppsV1beta1Deployment data, response status code and response headers
2385
+ def replace_namespaced_deployment_with_http_info(name, namespace, body, opts = {})
2386
+ if @api_client.config.debugging
2387
+ @api_client.config.logger.debug "Calling API: AppsV1beta1Api.replace_namespaced_deployment ..."
2388
+ end
2389
+ # verify the required parameter 'name' is set
2390
+ if @api_client.config.client_side_validation && name.nil?
2391
+ fail ArgumentError, "Missing the required parameter 'name' when calling AppsV1beta1Api.replace_namespaced_deployment"
2392
+ end
2393
+ # verify the required parameter 'namespace' is set
2394
+ if @api_client.config.client_side_validation && namespace.nil?
2395
+ fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1beta1Api.replace_namespaced_deployment"
2396
+ end
2397
+ # verify the required parameter 'body' is set
2398
+ if @api_client.config.client_side_validation && body.nil?
2399
+ fail ArgumentError, "Missing the required parameter 'body' when calling AppsV1beta1Api.replace_namespaced_deployment"
2400
+ end
2401
+ # resource path
2402
+ local_var_path = "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s)
2403
+
2404
+ # query parameters
2405
+ query_params = {}
2406
+ query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil?
2407
+ query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil?
2408
+
2409
+ # header parameters
2410
+ header_params = {}
2411
+ # HTTP header 'Accept' (if needed)
2412
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf'])
2413
+ # HTTP header 'Content-Type'
2414
+ header_params['Content-Type'] = @api_client.select_header_content_type(['*/*'])
2415
+
2416
+ # form parameters
2417
+ form_params = {}
2418
+
2419
+ # http body (model)
2420
+ post_body = @api_client.object_to_http_body(body)
2421
+ auth_names = ['BearerToken']
2422
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
2423
+ :header_params => header_params,
2424
+ :query_params => query_params,
2425
+ :form_params => form_params,
2426
+ :body => post_body,
2427
+ :auth_names => auth_names,
2428
+ :return_type => 'AppsV1beta1Deployment')
2429
+ if @api_client.config.debugging
2430
+ @api_client.config.logger.debug "API called: AppsV1beta1Api#replace_namespaced_deployment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2431
+ end
2432
+ return data, status_code, headers
2433
+ end
2434
+
2435
+ #
2436
+ # replace scale of the specified Deployment
2437
+ # @param name name of the Scale
2438
+ # @param namespace object name and auth scope, such as for teams and projects
2439
+ # @param body
2440
+ # @param [Hash] opts the optional parameters
2441
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed.
2442
+ # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
2443
+ # @return [AppsV1beta1Scale]
2444
+ def replace_namespaced_deployment_scale(name, namespace, body, opts = {})
2445
+ data, _status_code, _headers = replace_namespaced_deployment_scale_with_http_info(name, namespace, body, opts)
2446
+ return data
2447
+ end
2448
+
2449
+ #
2450
+ # replace scale of the specified Deployment
2451
+ # @param name name of the Scale
2452
+ # @param namespace object name and auth scope, such as for teams and projects
2453
+ # @param body
2454
+ # @param [Hash] opts the optional parameters
2455
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed.
2456
+ # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
2457
+ # @return [Array<(AppsV1beta1Scale, Fixnum, Hash)>] AppsV1beta1Scale data, response status code and response headers
2458
+ def replace_namespaced_deployment_scale_with_http_info(name, namespace, body, opts = {})
2459
+ if @api_client.config.debugging
2460
+ @api_client.config.logger.debug "Calling API: AppsV1beta1Api.replace_namespaced_deployment_scale ..."
2461
+ end
2462
+ # verify the required parameter 'name' is set
2463
+ if @api_client.config.client_side_validation && name.nil?
2464
+ fail ArgumentError, "Missing the required parameter 'name' when calling AppsV1beta1Api.replace_namespaced_deployment_scale"
2465
+ end
2466
+ # verify the required parameter 'namespace' is set
2467
+ if @api_client.config.client_side_validation && namespace.nil?
2468
+ fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1beta1Api.replace_namespaced_deployment_scale"
2469
+ end
2470
+ # verify the required parameter 'body' is set
2471
+ if @api_client.config.client_side_validation && body.nil?
2472
+ fail ArgumentError, "Missing the required parameter 'body' when calling AppsV1beta1Api.replace_namespaced_deployment_scale"
2473
+ end
2474
+ # resource path
2475
+ local_var_path = "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/scale".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s)
2476
+
2477
+ # query parameters
2478
+ query_params = {}
2479
+ query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil?
2480
+ query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil?
2481
+
2482
+ # header parameters
2483
+ header_params = {}
2484
+ # HTTP header 'Accept' (if needed)
2485
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf'])
2486
+ # HTTP header 'Content-Type'
2487
+ header_params['Content-Type'] = @api_client.select_header_content_type(['*/*'])
2488
+
2489
+ # form parameters
2490
+ form_params = {}
2491
+
2492
+ # http body (model)
2493
+ post_body = @api_client.object_to_http_body(body)
2494
+ auth_names = ['BearerToken']
2495
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
2496
+ :header_params => header_params,
2497
+ :query_params => query_params,
2498
+ :form_params => form_params,
2499
+ :body => post_body,
2500
+ :auth_names => auth_names,
2501
+ :return_type => 'AppsV1beta1Scale')
2502
+ if @api_client.config.debugging
2503
+ @api_client.config.logger.debug "API called: AppsV1beta1Api#replace_namespaced_deployment_scale\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2504
+ end
2505
+ return data, status_code, headers
2506
+ end
2507
+
2508
+ #
2509
+ # replace status of the specified Deployment
2510
+ # @param name name of the Deployment
2511
+ # @param namespace object name and auth scope, such as for teams and projects
2512
+ # @param body
2513
+ # @param [Hash] opts the optional parameters
2514
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed.
2515
+ # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
2516
+ # @return [AppsV1beta1Deployment]
2517
+ def replace_namespaced_deployment_status(name, namespace, body, opts = {})
2518
+ data, _status_code, _headers = replace_namespaced_deployment_status_with_http_info(name, namespace, body, opts)
2519
+ return data
2520
+ end
2521
+
2522
+ #
2523
+ # replace status of the specified Deployment
2524
+ # @param name name of the Deployment
2525
+ # @param namespace object name and auth scope, such as for teams and projects
2526
+ # @param body
2527
+ # @param [Hash] opts the optional parameters
2528
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed.
2529
+ # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
2530
+ # @return [Array<(AppsV1beta1Deployment, Fixnum, Hash)>] AppsV1beta1Deployment data, response status code and response headers
2531
+ def replace_namespaced_deployment_status_with_http_info(name, namespace, body, opts = {})
2532
+ if @api_client.config.debugging
2533
+ @api_client.config.logger.debug "Calling API: AppsV1beta1Api.replace_namespaced_deployment_status ..."
2534
+ end
2535
+ # verify the required parameter 'name' is set
2536
+ if @api_client.config.client_side_validation && name.nil?
2537
+ fail ArgumentError, "Missing the required parameter 'name' when calling AppsV1beta1Api.replace_namespaced_deployment_status"
2538
+ end
2539
+ # verify the required parameter 'namespace' is set
2540
+ if @api_client.config.client_side_validation && namespace.nil?
2541
+ fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1beta1Api.replace_namespaced_deployment_status"
2542
+ end
2543
+ # verify the required parameter 'body' is set
2544
+ if @api_client.config.client_side_validation && body.nil?
2545
+ fail ArgumentError, "Missing the required parameter 'body' when calling AppsV1beta1Api.replace_namespaced_deployment_status"
2546
+ end
2547
+ # resource path
2548
+ local_var_path = "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/status".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s)
2549
+
2550
+ # query parameters
2551
+ query_params = {}
2552
+ query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil?
2553
+ query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil?
2554
+
2555
+ # header parameters
2556
+ header_params = {}
2557
+ # HTTP header 'Accept' (if needed)
2558
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf'])
2559
+ # HTTP header 'Content-Type'
2560
+ header_params['Content-Type'] = @api_client.select_header_content_type(['*/*'])
2561
+
2562
+ # form parameters
2563
+ form_params = {}
2564
+
2565
+ # http body (model)
2566
+ post_body = @api_client.object_to_http_body(body)
2567
+ auth_names = ['BearerToken']
2568
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
2569
+ :header_params => header_params,
2570
+ :query_params => query_params,
2571
+ :form_params => form_params,
2572
+ :body => post_body,
2573
+ :auth_names => auth_names,
2574
+ :return_type => 'AppsV1beta1Deployment')
2575
+ if @api_client.config.debugging
2576
+ @api_client.config.logger.debug "API called: AppsV1beta1Api#replace_namespaced_deployment_status\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2577
+ end
2578
+ return data, status_code, headers
2579
+ end
2580
+
2581
+ #
2582
+ # replace the specified StatefulSet
2583
+ # @param name name of the StatefulSet
2584
+ # @param namespace object name and auth scope, such as for teams and projects
2585
+ # @param body
2586
+ # @param [Hash] opts the optional parameters
2587
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed.
2588
+ # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
2589
+ # @return [V1beta1StatefulSet]
2590
+ def replace_namespaced_stateful_set(name, namespace, body, opts = {})
2591
+ data, _status_code, _headers = replace_namespaced_stateful_set_with_http_info(name, namespace, body, opts)
2592
+ return data
2593
+ end
2594
+
2595
+ #
2596
+ # replace the specified StatefulSet
2597
+ # @param name name of the StatefulSet
2598
+ # @param namespace object name and auth scope, such as for teams and projects
2599
+ # @param body
2600
+ # @param [Hash] opts the optional parameters
2601
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed.
2602
+ # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
2603
+ # @return [Array<(V1beta1StatefulSet, Fixnum, Hash)>] V1beta1StatefulSet data, response status code and response headers
2604
+ def replace_namespaced_stateful_set_with_http_info(name, namespace, body, opts = {})
2605
+ if @api_client.config.debugging
2606
+ @api_client.config.logger.debug "Calling API: AppsV1beta1Api.replace_namespaced_stateful_set ..."
2607
+ end
2608
+ # verify the required parameter 'name' is set
2609
+ if @api_client.config.client_side_validation && name.nil?
2610
+ fail ArgumentError, "Missing the required parameter 'name' when calling AppsV1beta1Api.replace_namespaced_stateful_set"
2611
+ end
2612
+ # verify the required parameter 'namespace' is set
2613
+ if @api_client.config.client_side_validation && namespace.nil?
2614
+ fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1beta1Api.replace_namespaced_stateful_set"
2615
+ end
2616
+ # verify the required parameter 'body' is set
2617
+ if @api_client.config.client_side_validation && body.nil?
2618
+ fail ArgumentError, "Missing the required parameter 'body' when calling AppsV1beta1Api.replace_namespaced_stateful_set"
2619
+ end
2620
+ # resource path
2621
+ local_var_path = "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s)
2622
+
2623
+ # query parameters
2624
+ query_params = {}
2625
+ query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil?
2626
+ query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil?
2627
+
2628
+ # header parameters
2629
+ header_params = {}
2630
+ # HTTP header 'Accept' (if needed)
2631
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf'])
2632
+ # HTTP header 'Content-Type'
2633
+ header_params['Content-Type'] = @api_client.select_header_content_type(['*/*'])
2634
+
2635
+ # form parameters
2636
+ form_params = {}
2637
+
2638
+ # http body (model)
2639
+ post_body = @api_client.object_to_http_body(body)
2640
+ auth_names = ['BearerToken']
2641
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
2642
+ :header_params => header_params,
2643
+ :query_params => query_params,
2644
+ :form_params => form_params,
2645
+ :body => post_body,
2646
+ :auth_names => auth_names,
2647
+ :return_type => 'V1beta1StatefulSet')
2648
+ if @api_client.config.debugging
2649
+ @api_client.config.logger.debug "API called: AppsV1beta1Api#replace_namespaced_stateful_set\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2650
+ end
2651
+ return data, status_code, headers
2652
+ end
2653
+
2654
+ #
2655
+ # replace scale of the specified StatefulSet
2656
+ # @param name name of the Scale
2657
+ # @param namespace object name and auth scope, such as for teams and projects
2658
+ # @param body
2659
+ # @param [Hash] opts the optional parameters
2660
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed.
2661
+ # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
2662
+ # @return [AppsV1beta1Scale]
2663
+ def replace_namespaced_stateful_set_scale(name, namespace, body, opts = {})
2664
+ data, _status_code, _headers = replace_namespaced_stateful_set_scale_with_http_info(name, namespace, body, opts)
2665
+ return data
2666
+ end
2667
+
2668
+ #
2669
+ # replace scale of the specified StatefulSet
2670
+ # @param name name of the Scale
2671
+ # @param namespace object name and auth scope, such as for teams and projects
2672
+ # @param body
2673
+ # @param [Hash] opts the optional parameters
2674
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed.
2675
+ # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
2676
+ # @return [Array<(AppsV1beta1Scale, Fixnum, Hash)>] AppsV1beta1Scale data, response status code and response headers
2677
+ def replace_namespaced_stateful_set_scale_with_http_info(name, namespace, body, opts = {})
2678
+ if @api_client.config.debugging
2679
+ @api_client.config.logger.debug "Calling API: AppsV1beta1Api.replace_namespaced_stateful_set_scale ..."
2680
+ end
2681
+ # verify the required parameter 'name' is set
2682
+ if @api_client.config.client_side_validation && name.nil?
2683
+ fail ArgumentError, "Missing the required parameter 'name' when calling AppsV1beta1Api.replace_namespaced_stateful_set_scale"
2684
+ end
2685
+ # verify the required parameter 'namespace' is set
2686
+ if @api_client.config.client_side_validation && namespace.nil?
2687
+ fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1beta1Api.replace_namespaced_stateful_set_scale"
2688
+ end
2689
+ # verify the required parameter 'body' is set
2690
+ if @api_client.config.client_side_validation && body.nil?
2691
+ fail ArgumentError, "Missing the required parameter 'body' when calling AppsV1beta1Api.replace_namespaced_stateful_set_scale"
2692
+ end
2693
+ # resource path
2694
+ local_var_path = "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/scale".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s)
2695
+
2696
+ # query parameters
2697
+ query_params = {}
2698
+ query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil?
2699
+ query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil?
2700
+
2701
+ # header parameters
2702
+ header_params = {}
2703
+ # HTTP header 'Accept' (if needed)
2704
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf'])
2705
+ # HTTP header 'Content-Type'
2706
+ header_params['Content-Type'] = @api_client.select_header_content_type(['*/*'])
2707
+
2708
+ # form parameters
2709
+ form_params = {}
2710
+
2711
+ # http body (model)
2712
+ post_body = @api_client.object_to_http_body(body)
2713
+ auth_names = ['BearerToken']
2714
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
2715
+ :header_params => header_params,
2716
+ :query_params => query_params,
2717
+ :form_params => form_params,
2718
+ :body => post_body,
2719
+ :auth_names => auth_names,
2720
+ :return_type => 'AppsV1beta1Scale')
2721
+ if @api_client.config.debugging
2722
+ @api_client.config.logger.debug "API called: AppsV1beta1Api#replace_namespaced_stateful_set_scale\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2723
+ end
2724
+ return data, status_code, headers
2725
+ end
2726
+
2727
+ #
2728
+ # replace status of the specified StatefulSet
2729
+ # @param name name of the StatefulSet
2730
+ # @param namespace object name and auth scope, such as for teams and projects
2731
+ # @param body
2732
+ # @param [Hash] opts the optional parameters
2733
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed.
2734
+ # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
2735
+ # @return [V1beta1StatefulSet]
2736
+ def replace_namespaced_stateful_set_status(name, namespace, body, opts = {})
2737
+ data, _status_code, _headers = replace_namespaced_stateful_set_status_with_http_info(name, namespace, body, opts)
2738
+ return data
2739
+ end
2740
+
2741
+ #
2742
+ # replace status of the specified StatefulSet
2743
+ # @param name name of the StatefulSet
2744
+ # @param namespace object name and auth scope, such as for teams and projects
2745
+ # @param body
2746
+ # @param [Hash] opts the optional parameters
2747
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed.
2748
+ # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
2749
+ # @return [Array<(V1beta1StatefulSet, Fixnum, Hash)>] V1beta1StatefulSet data, response status code and response headers
2750
+ def replace_namespaced_stateful_set_status_with_http_info(name, namespace, body, opts = {})
2751
+ if @api_client.config.debugging
2752
+ @api_client.config.logger.debug "Calling API: AppsV1beta1Api.replace_namespaced_stateful_set_status ..."
2753
+ end
2754
+ # verify the required parameter 'name' is set
2755
+ if @api_client.config.client_side_validation && name.nil?
2756
+ fail ArgumentError, "Missing the required parameter 'name' when calling AppsV1beta1Api.replace_namespaced_stateful_set_status"
2757
+ end
2758
+ # verify the required parameter 'namespace' is set
2759
+ if @api_client.config.client_side_validation && namespace.nil?
2760
+ fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1beta1Api.replace_namespaced_stateful_set_status"
2761
+ end
2762
+ # verify the required parameter 'body' is set
2763
+ if @api_client.config.client_side_validation && body.nil?
2764
+ fail ArgumentError, "Missing the required parameter 'body' when calling AppsV1beta1Api.replace_namespaced_stateful_set_status"
2765
+ end
2766
+ # resource path
2767
+ local_var_path = "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/status".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s)
2768
+
2769
+ # query parameters
2770
+ query_params = {}
2771
+ query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil?
2772
+ query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil?
2773
+
2774
+ # header parameters
2775
+ header_params = {}
2776
+ # HTTP header 'Accept' (if needed)
2777
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf'])
2778
+ # HTTP header 'Content-Type'
2779
+ header_params['Content-Type'] = @api_client.select_header_content_type(['*/*'])
2780
+
2781
+ # form parameters
2782
+ form_params = {}
2783
+
2784
+ # http body (model)
2785
+ post_body = @api_client.object_to_http_body(body)
2786
+ auth_names = ['BearerToken']
2787
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
2788
+ :header_params => header_params,
2789
+ :query_params => query_params,
2790
+ :form_params => form_params,
2791
+ :body => post_body,
2792
+ :auth_names => auth_names,
2793
+ :return_type => 'V1beta1StatefulSet')
2794
+ if @api_client.config.debugging
2795
+ @api_client.config.logger.debug "API called: AppsV1beta1Api#replace_namespaced_stateful_set_status\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2796
+ end
2797
+ return data, status_code, headers
2798
+ end
2799
+ end
2800
+ end