kubernetes-io 1.0.0.pre.alpha2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +8 -0
- data/Gemfile.lock +89 -0
- data/README.md +1515 -0
- data/Rakefile +8 -0
- data/docs/AdmissionregistrationApi.md +56 -0
- data/docs/AdmissionregistrationV1alpha1Api.md +516 -0
- data/docs/AdmissionregistrationV1beta1Api.md +976 -0
- data/docs/AdmissionregistrationV1beta1ServiceReference.md +10 -0
- data/docs/AdmissionregistrationV1beta1WebhookClientConfig.md +10 -0
- data/docs/ApiextensionsApi.md +56 -0
- data/docs/ApiextensionsV1beta1Api.md +700 -0
- data/docs/ApiextensionsV1beta1ServiceReference.md +10 -0
- data/docs/ApiextensionsV1beta1WebhookClientConfig.md +10 -0
- data/docs/ApiregistrationApi.md +56 -0
- data/docs/ApiregistrationV1Api.md +700 -0
- data/docs/ApiregistrationV1beta1Api.md +700 -0
- data/docs/ApiregistrationV1beta1ServiceReference.md +9 -0
- data/docs/ApisApi.md +56 -0
- data/docs/AppsApi.md +56 -0
- data/docs/AppsV1Api.md +4167 -0
- data/docs/AppsV1beta1Api.md +2552 -0
- data/docs/AppsV1beta1Deployment.md +12 -0
- data/docs/AppsV1beta1DeploymentCondition.md +13 -0
- data/docs/AppsV1beta1DeploymentList.md +11 -0
- data/docs/AppsV1beta1DeploymentRollback.md +12 -0
- data/docs/AppsV1beta1DeploymentSpec.md +16 -0
- data/docs/AppsV1beta1DeploymentStatus.md +15 -0
- data/docs/AppsV1beta1DeploymentStrategy.md +9 -0
- data/docs/AppsV1beta1RollbackConfig.md +8 -0
- data/docs/AppsV1beta1RollingUpdateDeployment.md +9 -0
- data/docs/AppsV1beta1Scale.md +12 -0
- data/docs/AppsV1beta1ScaleSpec.md +8 -0
- data/docs/AppsV1beta1ScaleStatus.md +10 -0
- data/docs/AppsV1beta2Api.md +4167 -0
- data/docs/AuditregistrationApi.md +56 -0
- data/docs/AuditregistrationV1alpha1Api.md +516 -0
- data/docs/AuthenticationApi.md +56 -0
- data/docs/AuthenticationV1Api.md +118 -0
- data/docs/AuthenticationV1beta1Api.md +118 -0
- data/docs/AuthorizationApi.md +56 -0
- data/docs/AuthorizationV1Api.md +307 -0
- data/docs/AuthorizationV1beta1Api.md +307 -0
- data/docs/AutoscalingApi.md +56 -0
- data/docs/AutoscalingV1Api.md +801 -0
- data/docs/AutoscalingV2beta1Api.md +801 -0
- data/docs/AutoscalingV2beta2Api.md +801 -0
- data/docs/BatchApi.md +56 -0
- data/docs/BatchV1Api.md +801 -0
- data/docs/BatchV1beta1Api.md +801 -0
- data/docs/BatchV2alpha1Api.md +801 -0
- data/docs/CertificatesApi.md +56 -0
- data/docs/CertificatesV1beta1Api.md +763 -0
- data/docs/CoordinationApi.md +56 -0
- data/docs/CoordinationV1beta1Api.md +608 -0
- data/docs/CoreApi.md +56 -0
- data/docs/CoreV1Api.md +13078 -0
- data/docs/CustomObjectsApi.md +1640 -0
- data/docs/EventsApi.md +56 -0
- data/docs/EventsV1beta1Api.md +608 -0
- data/docs/ExtensionsApi.md +56 -0
- data/docs/ExtensionsV1beta1AllowedFlexVolume.md +8 -0
- data/docs/ExtensionsV1beta1AllowedHostPath.md +9 -0
- data/docs/ExtensionsV1beta1Api.md +4695 -0
- data/docs/ExtensionsV1beta1Deployment.md +12 -0
- data/docs/ExtensionsV1beta1DeploymentCondition.md +13 -0
- data/docs/ExtensionsV1beta1DeploymentList.md +11 -0
- data/docs/ExtensionsV1beta1DeploymentRollback.md +12 -0
- data/docs/ExtensionsV1beta1DeploymentSpec.md +16 -0
- data/docs/ExtensionsV1beta1DeploymentStatus.md +15 -0
- data/docs/ExtensionsV1beta1DeploymentStrategy.md +9 -0
- data/docs/ExtensionsV1beta1FSGroupStrategyOptions.md +9 -0
- data/docs/ExtensionsV1beta1HostPortRange.md +9 -0
- data/docs/ExtensionsV1beta1IDRange.md +9 -0
- data/docs/ExtensionsV1beta1PodSecurityPolicy.md +11 -0
- data/docs/ExtensionsV1beta1PodSecurityPolicyList.md +11 -0
- data/docs/ExtensionsV1beta1PodSecurityPolicySpec.md +29 -0
- data/docs/ExtensionsV1beta1RollbackConfig.md +8 -0
- data/docs/ExtensionsV1beta1RollingUpdateDeployment.md +9 -0
- data/docs/ExtensionsV1beta1RunAsGroupStrategyOptions.md +9 -0
- data/docs/ExtensionsV1beta1RunAsUserStrategyOptions.md +9 -0
- data/docs/ExtensionsV1beta1SELinuxStrategyOptions.md +9 -0
- data/docs/ExtensionsV1beta1Scale.md +12 -0
- data/docs/ExtensionsV1beta1ScaleSpec.md +8 -0
- data/docs/ExtensionsV1beta1ScaleStatus.md +10 -0
- data/docs/ExtensionsV1beta1SupplementalGroupsStrategyOptions.md +9 -0
- data/docs/LogsApi.md +104 -0
- data/docs/NetworkingApi.md +56 -0
- data/docs/NetworkingV1Api.md +608 -0
- data/docs/PolicyApi.md +56 -0
- data/docs/PolicyV1beta1AllowedFlexVolume.md +8 -0
- data/docs/PolicyV1beta1AllowedHostPath.md +9 -0
- data/docs/PolicyV1beta1Api.md +1261 -0
- data/docs/PolicyV1beta1FSGroupStrategyOptions.md +9 -0
- data/docs/PolicyV1beta1HostPortRange.md +9 -0
- data/docs/PolicyV1beta1IDRange.md +9 -0
- data/docs/PolicyV1beta1PodSecurityPolicy.md +11 -0
- data/docs/PolicyV1beta1PodSecurityPolicyList.md +11 -0
- data/docs/PolicyV1beta1PodSecurityPolicySpec.md +29 -0
- data/docs/PolicyV1beta1RunAsGroupStrategyOptions.md +9 -0
- data/docs/PolicyV1beta1RunAsUserStrategyOptions.md +9 -0
- data/docs/PolicyV1beta1SELinuxStrategyOptions.md +9 -0
- data/docs/PolicyV1beta1SupplementalGroupsStrategyOptions.md +9 -0
- data/docs/RbacAuthorizationApi.md +56 -0
- data/docs/RbacAuthorizationV1Api.md +2064 -0
- data/docs/RbacAuthorizationV1alpha1Api.md +2064 -0
- data/docs/RbacAuthorizationV1beta1Api.md +2064 -0
- data/docs/RuntimeRawExtension.md +8 -0
- data/docs/SchedulingApi.md +56 -0
- data/docs/SchedulingV1alpha1Api.md +516 -0
- data/docs/SchedulingV1beta1Api.md +516 -0
- data/docs/SettingsApi.md +56 -0
- data/docs/SettingsV1alpha1Api.md +608 -0
- data/docs/StorageApi.md +56 -0
- data/docs/StorageV1Api.md +1160 -0
- data/docs/StorageV1alpha1Api.md +516 -0
- data/docs/StorageV1beta1Api.md +976 -0
- data/docs/V1APIGroup.md +13 -0
- data/docs/V1APIGroupList.md +10 -0
- data/docs/V1APIResource.md +16 -0
- data/docs/V1APIResourceList.md +11 -0
- data/docs/V1APIService.md +12 -0
- data/docs/V1APIServiceCondition.md +12 -0
- data/docs/V1APIServiceList.md +11 -0
- data/docs/V1APIServiceSpec.md +14 -0
- data/docs/V1APIServiceStatus.md +8 -0
- data/docs/V1APIVersions.md +11 -0
- data/docs/V1AWSElasticBlockStoreVolumeSource.md +11 -0
- data/docs/V1Affinity.md +10 -0
- data/docs/V1AggregationRule.md +8 -0
- data/docs/V1AttachedVolume.md +9 -0
- data/docs/V1AzureDiskVolumeSource.md +13 -0
- data/docs/V1AzureFilePersistentVolumeSource.md +11 -0
- data/docs/V1AzureFileVolumeSource.md +10 -0
- data/docs/V1Binding.md +11 -0
- data/docs/V1CSIPersistentVolumeSource.md +15 -0
- data/docs/V1Capabilities.md +9 -0
- data/docs/V1CephFSPersistentVolumeSource.md +13 -0
- data/docs/V1CephFSVolumeSource.md +13 -0
- data/docs/V1CinderPersistentVolumeSource.md +11 -0
- data/docs/V1CinderVolumeSource.md +11 -0
- data/docs/V1ClientIPConfig.md +8 -0
- data/docs/V1ClusterRole.md +12 -0
- data/docs/V1ClusterRoleBinding.md +12 -0
- data/docs/V1ClusterRoleBindingList.md +11 -0
- data/docs/V1ClusterRoleList.md +11 -0
- data/docs/V1ComponentCondition.md +11 -0
- data/docs/V1ComponentStatus.md +11 -0
- data/docs/V1ComponentStatusList.md +11 -0
- data/docs/V1ConfigMap.md +12 -0
- data/docs/V1ConfigMapEnvSource.md +9 -0
- data/docs/V1ConfigMapKeySelector.md +10 -0
- data/docs/V1ConfigMapList.md +11 -0
- data/docs/V1ConfigMapNodeConfigSource.md +12 -0
- data/docs/V1ConfigMapProjection.md +10 -0
- data/docs/V1ConfigMapVolumeSource.md +11 -0
- data/docs/V1Container.md +28 -0
- data/docs/V1ContainerImage.md +9 -0
- data/docs/V1ContainerPort.md +12 -0
- data/docs/V1ContainerState.md +10 -0
- data/docs/V1ContainerStateRunning.md +8 -0
- data/docs/V1ContainerStateTerminated.md +14 -0
- data/docs/V1ContainerStateWaiting.md +9 -0
- data/docs/V1ContainerStatus.md +15 -0
- data/docs/V1ControllerRevision.md +12 -0
- data/docs/V1ControllerRevisionList.md +11 -0
- data/docs/V1CrossVersionObjectReference.md +10 -0
- data/docs/V1DaemonEndpoint.md +8 -0
- data/docs/V1DaemonSet.md +12 -0
- data/docs/V1DaemonSetCondition.md +12 -0
- data/docs/V1DaemonSetList.md +11 -0
- data/docs/V1DaemonSetSpec.md +12 -0
- data/docs/V1DaemonSetStatus.md +17 -0
- data/docs/V1DaemonSetUpdateStrategy.md +9 -0
- data/docs/V1DeleteOptions.md +14 -0
- data/docs/V1Deployment.md +12 -0
- data/docs/V1DeploymentCondition.md +13 -0
- data/docs/V1DeploymentList.md +11 -0
- data/docs/V1DeploymentSpec.md +15 -0
- data/docs/V1DeploymentStatus.md +15 -0
- data/docs/V1DeploymentStrategy.md +9 -0
- data/docs/V1DownwardAPIProjection.md +8 -0
- data/docs/V1DownwardAPIVolumeFile.md +11 -0
- data/docs/V1DownwardAPIVolumeSource.md +9 -0
- data/docs/V1EmptyDirVolumeSource.md +9 -0
- data/docs/V1EndpointAddress.md +11 -0
- data/docs/V1EndpointPort.md +10 -0
- data/docs/V1EndpointSubset.md +10 -0
- data/docs/V1Endpoints.md +11 -0
- data/docs/V1EndpointsList.md +11 -0
- data/docs/V1EnvFromSource.md +10 -0
- data/docs/V1EnvVar.md +10 -0
- data/docs/V1EnvVarSource.md +11 -0
- data/docs/V1Event.md +24 -0
- data/docs/V1EventList.md +11 -0
- data/docs/V1EventSeries.md +10 -0
- data/docs/V1EventSource.md +9 -0
- data/docs/V1ExecAction.md +8 -0
- data/docs/V1FCVolumeSource.md +12 -0
- data/docs/V1FlexPersistentVolumeSource.md +12 -0
- data/docs/V1FlexVolumeSource.md +12 -0
- data/docs/V1FlockerVolumeSource.md +9 -0
- data/docs/V1GCEPersistentDiskVolumeSource.md +11 -0
- data/docs/V1GitRepoVolumeSource.md +10 -0
- data/docs/V1GlusterfsPersistentVolumeSource.md +11 -0
- data/docs/V1GlusterfsVolumeSource.md +10 -0
- data/docs/V1GroupVersionForDiscovery.md +9 -0
- data/docs/V1HTTPGetAction.md +12 -0
- data/docs/V1HTTPHeader.md +9 -0
- data/docs/V1Handler.md +10 -0
- data/docs/V1HorizontalPodAutoscaler.md +12 -0
- data/docs/V1HorizontalPodAutoscalerList.md +11 -0
- data/docs/V1HorizontalPodAutoscalerSpec.md +11 -0
- data/docs/V1HorizontalPodAutoscalerStatus.md +12 -0
- data/docs/V1HostAlias.md +9 -0
- data/docs/V1HostPathVolumeSource.md +9 -0
- data/docs/V1IPBlock.md +9 -0
- data/docs/V1ISCSIPersistentVolumeSource.md +18 -0
- data/docs/V1ISCSIVolumeSource.md +18 -0
- data/docs/V1Initializer.md +8 -0
- data/docs/V1Initializers.md +9 -0
- data/docs/V1Job.md +12 -0
- data/docs/V1JobCondition.md +13 -0
- data/docs/V1JobList.md +11 -0
- data/docs/V1JobSpec.md +15 -0
- data/docs/V1JobStatus.md +13 -0
- data/docs/V1KeyToPath.md +10 -0
- data/docs/V1LabelSelector.md +9 -0
- data/docs/V1LabelSelectorRequirement.md +10 -0
- data/docs/V1Lifecycle.md +9 -0
- data/docs/V1LimitRange.md +11 -0
- data/docs/V1LimitRangeItem.md +13 -0
- data/docs/V1LimitRangeList.md +11 -0
- data/docs/V1LimitRangeSpec.md +8 -0
- data/docs/V1ListMeta.md +10 -0
- data/docs/V1LoadBalancerIngress.md +9 -0
- data/docs/V1LoadBalancerStatus.md +8 -0
- data/docs/V1LocalObjectReference.md +8 -0
- data/docs/V1LocalSubjectAccessReview.md +12 -0
- data/docs/V1LocalVolumeSource.md +9 -0
- data/docs/V1NFSVolumeSource.md +10 -0
- data/docs/V1Namespace.md +12 -0
- data/docs/V1NamespaceList.md +11 -0
- data/docs/V1NamespaceSpec.md +8 -0
- data/docs/V1NamespaceStatus.md +8 -0
- data/docs/V1NetworkPolicy.md +11 -0
- data/docs/V1NetworkPolicyEgressRule.md +9 -0
- data/docs/V1NetworkPolicyIngressRule.md +9 -0
- data/docs/V1NetworkPolicyList.md +11 -0
- data/docs/V1NetworkPolicyPeer.md +10 -0
- data/docs/V1NetworkPolicyPort.md +9 -0
- data/docs/V1NetworkPolicySpec.md +11 -0
- data/docs/V1Node.md +12 -0
- data/docs/V1NodeAddress.md +9 -0
- data/docs/V1NodeAffinity.md +9 -0
- data/docs/V1NodeCondition.md +13 -0
- data/docs/V1NodeConfigSource.md +8 -0
- data/docs/V1NodeConfigStatus.md +11 -0
- data/docs/V1NodeDaemonEndpoints.md +8 -0
- data/docs/V1NodeList.md +11 -0
- data/docs/V1NodeSelector.md +8 -0
- data/docs/V1NodeSelectorRequirement.md +10 -0
- data/docs/V1NodeSelectorTerm.md +9 -0
- data/docs/V1NodeSpec.md +13 -0
- data/docs/V1NodeStatus.md +18 -0
- data/docs/V1NodeSystemInfo.md +17 -0
- data/docs/V1NonResourceAttributes.md +9 -0
- data/docs/V1NonResourceRule.md +9 -0
- data/docs/V1ObjectFieldSelector.md +9 -0
- data/docs/V1ObjectMeta.md +23 -0
- data/docs/V1ObjectReference.md +14 -0
- data/docs/V1OwnerReference.md +13 -0
- data/docs/V1PersistentVolume.md +12 -0
- data/docs/V1PersistentVolumeClaim.md +12 -0
- data/docs/V1PersistentVolumeClaimCondition.md +13 -0
- data/docs/V1PersistentVolumeClaimList.md +11 -0
- data/docs/V1PersistentVolumeClaimSpec.md +14 -0
- data/docs/V1PersistentVolumeClaimStatus.md +11 -0
- data/docs/V1PersistentVolumeClaimVolumeSource.md +9 -0
- data/docs/V1PersistentVolumeList.md +11 -0
- data/docs/V1PersistentVolumeSpec.md +37 -0
- data/docs/V1PersistentVolumeStatus.md +10 -0
- data/docs/V1PhotonPersistentDiskVolumeSource.md +9 -0
- data/docs/V1Pod.md +12 -0
- data/docs/V1PodAffinity.md +9 -0
- data/docs/V1PodAffinityTerm.md +10 -0
- data/docs/V1PodAntiAffinity.md +9 -0
- data/docs/V1PodCondition.md +13 -0
- data/docs/V1PodDNSConfig.md +10 -0
- data/docs/V1PodDNSConfigOption.md +9 -0
- data/docs/V1PodList.md +11 -0
- data/docs/V1PodReadinessGate.md +8 -0
- data/docs/V1PodSecurityContext.md +14 -0
- data/docs/V1PodSpec.md +37 -0
- data/docs/V1PodStatus.md +18 -0
- data/docs/V1PodTemplate.md +11 -0
- data/docs/V1PodTemplateList.md +11 -0
- data/docs/V1PodTemplateSpec.md +9 -0
- data/docs/V1PolicyRule.md +12 -0
- data/docs/V1PortworxVolumeSource.md +10 -0
- data/docs/V1Preconditions.md +8 -0
- data/docs/V1PreferredSchedulingTerm.md +9 -0
- data/docs/V1Probe.md +15 -0
- data/docs/V1ProjectedVolumeSource.md +9 -0
- data/docs/V1QuobyteVolumeSource.md +12 -0
- data/docs/V1RBDPersistentVolumeSource.md +15 -0
- data/docs/V1RBDVolumeSource.md +15 -0
- data/docs/V1ReplicaSet.md +12 -0
- data/docs/V1ReplicaSetCondition.md +12 -0
- data/docs/V1ReplicaSetList.md +11 -0
- data/docs/V1ReplicaSetSpec.md +11 -0
- data/docs/V1ReplicaSetStatus.md +13 -0
- data/docs/V1ReplicationController.md +12 -0
- data/docs/V1ReplicationControllerCondition.md +12 -0
- data/docs/V1ReplicationControllerList.md +11 -0
- data/docs/V1ReplicationControllerSpec.md +11 -0
- data/docs/V1ReplicationControllerStatus.md +13 -0
- data/docs/V1ResourceAttributes.md +14 -0
- data/docs/V1ResourceFieldSelector.md +10 -0
- data/docs/V1ResourceQuota.md +12 -0
- data/docs/V1ResourceQuotaList.md +11 -0
- data/docs/V1ResourceQuotaSpec.md +10 -0
- data/docs/V1ResourceQuotaStatus.md +9 -0
- data/docs/V1ResourceRequirements.md +9 -0
- data/docs/V1ResourceRule.md +11 -0
- data/docs/V1Role.md +11 -0
- data/docs/V1RoleBinding.md +12 -0
- data/docs/V1RoleBindingList.md +11 -0
- data/docs/V1RoleList.md +11 -0
- data/docs/V1RoleRef.md +10 -0
- data/docs/V1RollingUpdateDaemonSet.md +8 -0
- data/docs/V1RollingUpdateDeployment.md +9 -0
- data/docs/V1RollingUpdateStatefulSetStrategy.md +8 -0
- data/docs/V1SELinuxOptions.md +11 -0
- data/docs/V1Scale.md +12 -0
- data/docs/V1ScaleIOPersistentVolumeSource.md +17 -0
- data/docs/V1ScaleIOVolumeSource.md +17 -0
- data/docs/V1ScaleSpec.md +8 -0
- data/docs/V1ScaleStatus.md +9 -0
- data/docs/V1ScopeSelector.md +8 -0
- data/docs/V1ScopedResourceSelectorRequirement.md +10 -0
- data/docs/V1Secret.md +13 -0
- data/docs/V1SecretEnvSource.md +9 -0
- data/docs/V1SecretKeySelector.md +10 -0
- data/docs/V1SecretList.md +11 -0
- data/docs/V1SecretProjection.md +10 -0
- data/docs/V1SecretReference.md +9 -0
- data/docs/V1SecretVolumeSource.md +11 -0
- data/docs/V1SecurityContext.md +16 -0
- data/docs/V1SelfSubjectAccessReview.md +12 -0
- data/docs/V1SelfSubjectAccessReviewSpec.md +9 -0
- data/docs/V1SelfSubjectRulesReview.md +12 -0
- data/docs/V1SelfSubjectRulesReviewSpec.md +8 -0
- data/docs/V1ServerAddressByClientCIDR.md +9 -0
- data/docs/V1Service.md +12 -0
- data/docs/V1ServiceAccount.md +13 -0
- data/docs/V1ServiceAccountList.md +11 -0
- data/docs/V1ServiceAccountTokenProjection.md +10 -0
- data/docs/V1ServiceList.md +11 -0
- data/docs/V1ServicePort.md +12 -0
- data/docs/V1ServiceReference.md +9 -0
- data/docs/V1ServiceSpec.md +20 -0
- data/docs/V1ServiceStatus.md +8 -0
- data/docs/V1SessionAffinityConfig.md +8 -0
- data/docs/V1StatefulSet.md +12 -0
- data/docs/V1StatefulSetCondition.md +12 -0
- data/docs/V1StatefulSetList.md +11 -0
- data/docs/V1StatefulSetSpec.md +15 -0
- data/docs/V1StatefulSetStatus.md +16 -0
- data/docs/V1StatefulSetUpdateStrategy.md +9 -0
- data/docs/V1Status.md +15 -0
- data/docs/V1StatusCause.md +10 -0
- data/docs/V1StatusDetails.md +13 -0
- data/docs/V1StorageClass.md +17 -0
- data/docs/V1StorageClassList.md +11 -0
- data/docs/V1StorageOSPersistentVolumeSource.md +12 -0
- data/docs/V1StorageOSVolumeSource.md +12 -0
- data/docs/V1Subject.md +11 -0
- data/docs/V1SubjectAccessReview.md +12 -0
- data/docs/V1SubjectAccessReviewSpec.md +13 -0
- data/docs/V1SubjectAccessReviewStatus.md +11 -0
- data/docs/V1SubjectRulesReviewStatus.md +11 -0
- data/docs/V1Sysctl.md +9 -0
- data/docs/V1TCPSocketAction.md +9 -0
- data/docs/V1Taint.md +11 -0
- data/docs/V1TokenReview.md +12 -0
- data/docs/V1TokenReviewSpec.md +9 -0
- data/docs/V1TokenReviewStatus.md +11 -0
- data/docs/V1Toleration.md +12 -0
- data/docs/V1TopologySelectorLabelRequirement.md +9 -0
- data/docs/V1TopologySelectorTerm.md +8 -0
- data/docs/V1TypedLocalObjectReference.md +10 -0
- data/docs/V1UserInfo.md +11 -0
- data/docs/V1Volume.md +35 -0
- data/docs/V1VolumeAttachment.md +12 -0
- data/docs/V1VolumeAttachmentList.md +11 -0
- data/docs/V1VolumeAttachmentSource.md +8 -0
- data/docs/V1VolumeAttachmentSpec.md +10 -0
- data/docs/V1VolumeAttachmentStatus.md +11 -0
- data/docs/V1VolumeDevice.md +9 -0
- data/docs/V1VolumeError.md +9 -0
- data/docs/V1VolumeMount.md +12 -0
- data/docs/V1VolumeNodeAffinity.md +8 -0
- data/docs/V1VolumeProjection.md +11 -0
- data/docs/V1VsphereVirtualDiskVolumeSource.md +11 -0
- data/docs/V1WatchEvent.md +9 -0
- data/docs/V1WeightedPodAffinityTerm.md +9 -0
- data/docs/V1alpha1AggregationRule.md +8 -0
- data/docs/V1alpha1AuditSink.md +11 -0
- data/docs/V1alpha1AuditSinkList.md +11 -0
- data/docs/V1alpha1AuditSinkSpec.md +9 -0
- data/docs/V1alpha1ClusterRole.md +12 -0
- data/docs/V1alpha1ClusterRoleBinding.md +12 -0
- data/docs/V1alpha1ClusterRoleBindingList.md +11 -0
- data/docs/V1alpha1ClusterRoleList.md +11 -0
- data/docs/V1alpha1Initializer.md +9 -0
- data/docs/V1alpha1InitializerConfiguration.md +11 -0
- data/docs/V1alpha1InitializerConfigurationList.md +11 -0
- data/docs/V1alpha1PodPreset.md +11 -0
- data/docs/V1alpha1PodPresetList.md +11 -0
- data/docs/V1alpha1PodPresetSpec.md +12 -0
- data/docs/V1alpha1Policy.md +9 -0
- data/docs/V1alpha1PolicyRule.md +12 -0
- data/docs/V1alpha1PriorityClass.md +13 -0
- data/docs/V1alpha1PriorityClassList.md +11 -0
- data/docs/V1alpha1Role.md +11 -0
- data/docs/V1alpha1RoleBinding.md +12 -0
- data/docs/V1alpha1RoleBindingList.md +11 -0
- data/docs/V1alpha1RoleList.md +11 -0
- data/docs/V1alpha1RoleRef.md +10 -0
- data/docs/V1alpha1Rule.md +10 -0
- data/docs/V1alpha1ServiceReference.md +10 -0
- data/docs/V1alpha1Subject.md +11 -0
- data/docs/V1alpha1VolumeAttachment.md +12 -0
- data/docs/V1alpha1VolumeAttachmentList.md +11 -0
- data/docs/V1alpha1VolumeAttachmentSource.md +8 -0
- data/docs/V1alpha1VolumeAttachmentSpec.md +10 -0
- data/docs/V1alpha1VolumeAttachmentStatus.md +11 -0
- data/docs/V1alpha1VolumeError.md +9 -0
- data/docs/V1alpha1Webhook.md +9 -0
- data/docs/V1alpha1WebhookClientConfig.md +10 -0
- data/docs/V1alpha1WebhookThrottleConfig.md +9 -0
- data/docs/V1beta1APIService.md +12 -0
- data/docs/V1beta1APIServiceCondition.md +12 -0
- data/docs/V1beta1APIServiceList.md +11 -0
- data/docs/V1beta1APIServiceSpec.md +14 -0
- data/docs/V1beta1APIServiceStatus.md +8 -0
- data/docs/V1beta1AggregationRule.md +8 -0
- data/docs/V1beta1CertificateSigningRequest.md +12 -0
- data/docs/V1beta1CertificateSigningRequestCondition.md +11 -0
- data/docs/V1beta1CertificateSigningRequestList.md +11 -0
- data/docs/V1beta1CertificateSigningRequestSpec.md +13 -0
- data/docs/V1beta1CertificateSigningRequestStatus.md +9 -0
- data/docs/V1beta1ClusterRole.md +12 -0
- data/docs/V1beta1ClusterRoleBinding.md +12 -0
- data/docs/V1beta1ClusterRoleBindingList.md +11 -0
- data/docs/V1beta1ClusterRoleList.md +11 -0
- data/docs/V1beta1ControllerRevision.md +12 -0
- data/docs/V1beta1ControllerRevisionList.md +11 -0
- data/docs/V1beta1CronJob.md +12 -0
- data/docs/V1beta1CronJobList.md +11 -0
- data/docs/V1beta1CronJobSpec.md +14 -0
- data/docs/V1beta1CronJobStatus.md +9 -0
- data/docs/V1beta1CustomResourceColumnDefinition.md +13 -0
- data/docs/V1beta1CustomResourceConversion.md +9 -0
- data/docs/V1beta1CustomResourceDefinition.md +12 -0
- data/docs/V1beta1CustomResourceDefinitionCondition.md +12 -0
- data/docs/V1beta1CustomResourceDefinitionList.md +11 -0
- data/docs/V1beta1CustomResourceDefinitionNames.md +13 -0
- data/docs/V1beta1CustomResourceDefinitionSpec.md +16 -0
- data/docs/V1beta1CustomResourceDefinitionStatus.md +10 -0
- data/docs/V1beta1CustomResourceDefinitionVersion.md +13 -0
- data/docs/V1beta1CustomResourceSubresourceScale.md +10 -0
- data/docs/V1beta1CustomResourceSubresources.md +9 -0
- data/docs/V1beta1CustomResourceValidation.md +8 -0
- data/docs/V1beta1DaemonSet.md +12 -0
- data/docs/V1beta1DaemonSetCondition.md +12 -0
- data/docs/V1beta1DaemonSetList.md +11 -0
- data/docs/V1beta1DaemonSetSpec.md +13 -0
- data/docs/V1beta1DaemonSetStatus.md +17 -0
- data/docs/V1beta1DaemonSetUpdateStrategy.md +9 -0
- data/docs/V1beta1Event.md +24 -0
- data/docs/V1beta1EventList.md +11 -0
- data/docs/V1beta1EventSeries.md +10 -0
- data/docs/V1beta1Eviction.md +11 -0
- data/docs/V1beta1ExternalDocumentation.md +9 -0
- data/docs/V1beta1HTTPIngressPath.md +9 -0
- data/docs/V1beta1HTTPIngressRuleValue.md +8 -0
- data/docs/V1beta1IPBlock.md +9 -0
- data/docs/V1beta1Ingress.md +12 -0
- data/docs/V1beta1IngressBackend.md +9 -0
- data/docs/V1beta1IngressList.md +11 -0
- data/docs/V1beta1IngressRule.md +9 -0
- data/docs/V1beta1IngressSpec.md +10 -0
- data/docs/V1beta1IngressStatus.md +8 -0
- data/docs/V1beta1IngressTLS.md +9 -0
- data/docs/V1beta1JSONSchemaProps.md +43 -0
- data/docs/V1beta1JobTemplateSpec.md +9 -0
- data/docs/V1beta1Lease.md +11 -0
- data/docs/V1beta1LeaseList.md +11 -0
- data/docs/V1beta1LeaseSpec.md +12 -0
- data/docs/V1beta1LocalSubjectAccessReview.md +12 -0
- data/docs/V1beta1MutatingWebhookConfiguration.md +11 -0
- data/docs/V1beta1MutatingWebhookConfigurationList.md +11 -0
- data/docs/V1beta1NetworkPolicy.md +11 -0
- data/docs/V1beta1NetworkPolicyEgressRule.md +9 -0
- data/docs/V1beta1NetworkPolicyIngressRule.md +9 -0
- data/docs/V1beta1NetworkPolicyList.md +11 -0
- data/docs/V1beta1NetworkPolicyPeer.md +10 -0
- data/docs/V1beta1NetworkPolicyPort.md +9 -0
- data/docs/V1beta1NetworkPolicySpec.md +11 -0
- data/docs/V1beta1NonResourceAttributes.md +9 -0
- data/docs/V1beta1NonResourceRule.md +9 -0
- data/docs/V1beta1PodDisruptionBudget.md +12 -0
- data/docs/V1beta1PodDisruptionBudgetList.md +11 -0
- data/docs/V1beta1PodDisruptionBudgetSpec.md +10 -0
- data/docs/V1beta1PodDisruptionBudgetStatus.md +13 -0
- data/docs/V1beta1PolicyRule.md +12 -0
- data/docs/V1beta1PriorityClass.md +13 -0
- data/docs/V1beta1PriorityClassList.md +11 -0
- data/docs/V1beta1ReplicaSet.md +12 -0
- data/docs/V1beta1ReplicaSetCondition.md +12 -0
- data/docs/V1beta1ReplicaSetList.md +11 -0
- data/docs/V1beta1ReplicaSetSpec.md +11 -0
- data/docs/V1beta1ReplicaSetStatus.md +13 -0
- data/docs/V1beta1ResourceAttributes.md +14 -0
- data/docs/V1beta1ResourceRule.md +11 -0
- data/docs/V1beta1Role.md +11 -0
- data/docs/V1beta1RoleBinding.md +12 -0
- data/docs/V1beta1RoleBindingList.md +11 -0
- data/docs/V1beta1RoleList.md +11 -0
- data/docs/V1beta1RoleRef.md +10 -0
- data/docs/V1beta1RollingUpdateDaemonSet.md +8 -0
- data/docs/V1beta1RollingUpdateStatefulSetStrategy.md +8 -0
- data/docs/V1beta1RuleWithOperations.md +11 -0
- data/docs/V1beta1SelfSubjectAccessReview.md +12 -0
- data/docs/V1beta1SelfSubjectAccessReviewSpec.md +9 -0
- data/docs/V1beta1SelfSubjectRulesReview.md +12 -0
- data/docs/V1beta1SelfSubjectRulesReviewSpec.md +8 -0
- data/docs/V1beta1StatefulSet.md +12 -0
- data/docs/V1beta1StatefulSetCondition.md +12 -0
- data/docs/V1beta1StatefulSetList.md +11 -0
- data/docs/V1beta1StatefulSetSpec.md +15 -0
- data/docs/V1beta1StatefulSetStatus.md +16 -0
- data/docs/V1beta1StatefulSetUpdateStrategy.md +9 -0
- data/docs/V1beta1StorageClass.md +17 -0
- data/docs/V1beta1StorageClassList.md +11 -0
- data/docs/V1beta1Subject.md +11 -0
- data/docs/V1beta1SubjectAccessReview.md +12 -0
- data/docs/V1beta1SubjectAccessReviewSpec.md +13 -0
- data/docs/V1beta1SubjectAccessReviewStatus.md +11 -0
- data/docs/V1beta1SubjectRulesReviewStatus.md +11 -0
- data/docs/V1beta1TokenReview.md +12 -0
- data/docs/V1beta1TokenReviewSpec.md +9 -0
- data/docs/V1beta1TokenReviewStatus.md +11 -0
- data/docs/V1beta1UserInfo.md +11 -0
- data/docs/V1beta1ValidatingWebhookConfiguration.md +11 -0
- data/docs/V1beta1ValidatingWebhookConfigurationList.md +11 -0
- data/docs/V1beta1VolumeAttachment.md +12 -0
- data/docs/V1beta1VolumeAttachmentList.md +11 -0
- data/docs/V1beta1VolumeAttachmentSource.md +8 -0
- data/docs/V1beta1VolumeAttachmentSpec.md +10 -0
- data/docs/V1beta1VolumeAttachmentStatus.md +11 -0
- data/docs/V1beta1VolumeError.md +9 -0
- data/docs/V1beta1Webhook.md +13 -0
- data/docs/V1beta2ControllerRevision.md +12 -0
- data/docs/V1beta2ControllerRevisionList.md +11 -0
- data/docs/V1beta2DaemonSet.md +12 -0
- data/docs/V1beta2DaemonSetCondition.md +12 -0
- data/docs/V1beta2DaemonSetList.md +11 -0
- data/docs/V1beta2DaemonSetSpec.md +12 -0
- data/docs/V1beta2DaemonSetStatus.md +17 -0
- data/docs/V1beta2DaemonSetUpdateStrategy.md +9 -0
- data/docs/V1beta2Deployment.md +12 -0
- data/docs/V1beta2DeploymentCondition.md +13 -0
- data/docs/V1beta2DeploymentList.md +11 -0
- data/docs/V1beta2DeploymentSpec.md +15 -0
- data/docs/V1beta2DeploymentStatus.md +15 -0
- data/docs/V1beta2DeploymentStrategy.md +9 -0
- data/docs/V1beta2ReplicaSet.md +12 -0
- data/docs/V1beta2ReplicaSetCondition.md +12 -0
- data/docs/V1beta2ReplicaSetList.md +11 -0
- data/docs/V1beta2ReplicaSetSpec.md +11 -0
- data/docs/V1beta2ReplicaSetStatus.md +13 -0
- data/docs/V1beta2RollingUpdateDaemonSet.md +8 -0
- data/docs/V1beta2RollingUpdateDeployment.md +9 -0
- data/docs/V1beta2RollingUpdateStatefulSetStrategy.md +8 -0
- data/docs/V1beta2Scale.md +12 -0
- data/docs/V1beta2ScaleSpec.md +8 -0
- data/docs/V1beta2ScaleStatus.md +10 -0
- data/docs/V1beta2StatefulSet.md +12 -0
- data/docs/V1beta2StatefulSetCondition.md +12 -0
- data/docs/V1beta2StatefulSetList.md +11 -0
- data/docs/V1beta2StatefulSetSpec.md +15 -0
- data/docs/V1beta2StatefulSetStatus.md +16 -0
- data/docs/V1beta2StatefulSetUpdateStrategy.md +9 -0
- data/docs/V2alpha1CronJob.md +12 -0
- data/docs/V2alpha1CronJobList.md +11 -0
- data/docs/V2alpha1CronJobSpec.md +14 -0
- data/docs/V2alpha1CronJobStatus.md +9 -0
- data/docs/V2alpha1JobTemplateSpec.md +9 -0
- data/docs/V2beta1CrossVersionObjectReference.md +10 -0
- data/docs/V2beta1ExternalMetricSource.md +11 -0
- data/docs/V2beta1ExternalMetricStatus.md +11 -0
- data/docs/V2beta1HorizontalPodAutoscaler.md +12 -0
- data/docs/V2beta1HorizontalPodAutoscalerCondition.md +12 -0
- data/docs/V2beta1HorizontalPodAutoscalerList.md +11 -0
- data/docs/V2beta1HorizontalPodAutoscalerSpec.md +11 -0
- data/docs/V2beta1HorizontalPodAutoscalerStatus.md +13 -0
- data/docs/V2beta1MetricSpec.md +12 -0
- data/docs/V2beta1MetricStatus.md +12 -0
- data/docs/V2beta1ObjectMetricSource.md +12 -0
- data/docs/V2beta1ObjectMetricStatus.md +12 -0
- data/docs/V2beta1PodsMetricSource.md +10 -0
- data/docs/V2beta1PodsMetricStatus.md +10 -0
- data/docs/V2beta1ResourceMetricSource.md +10 -0
- data/docs/V2beta1ResourceMetricStatus.md +10 -0
- data/docs/V2beta2CrossVersionObjectReference.md +10 -0
- data/docs/V2beta2ExternalMetricSource.md +9 -0
- data/docs/V2beta2ExternalMetricStatus.md +9 -0
- data/docs/V2beta2HorizontalPodAutoscaler.md +12 -0
- data/docs/V2beta2HorizontalPodAutoscalerCondition.md +12 -0
- data/docs/V2beta2HorizontalPodAutoscalerList.md +11 -0
- data/docs/V2beta2HorizontalPodAutoscalerSpec.md +11 -0
- data/docs/V2beta2HorizontalPodAutoscalerStatus.md +13 -0
- data/docs/V2beta2MetricIdentifier.md +9 -0
- data/docs/V2beta2MetricSpec.md +12 -0
- data/docs/V2beta2MetricStatus.md +12 -0
- data/docs/V2beta2MetricTarget.md +11 -0
- data/docs/V2beta2MetricValueStatus.md +10 -0
- data/docs/V2beta2ObjectMetricSource.md +10 -0
- data/docs/V2beta2ObjectMetricStatus.md +10 -0
- data/docs/V2beta2PodsMetricSource.md +9 -0
- data/docs/V2beta2PodsMetricStatus.md +9 -0
- data/docs/V2beta2ResourceMetricSource.md +9 -0
- data/docs/V2beta2ResourceMetricStatus.md +9 -0
- data/docs/VersionApi.md +56 -0
- data/docs/VersionInfo.md +16 -0
- data/git_push.sh +55 -0
- data/kubernetes.gemspec +45 -0
- data/lib/kubernetes.rb +679 -0
- data/lib/kubernetes/api/admissionregistration_api.rb +72 -0
- data/lib/kubernetes/api/admissionregistration_v1alpha1_api.rb +558 -0
- data/lib/kubernetes/api/admissionregistration_v1beta1_api.rb +1044 -0
- data/lib/kubernetes/api/apiextensions_api.rb +72 -0
- data/lib/kubernetes/api/apiextensions_v1beta1_api.rb +750 -0
- data/lib/kubernetes/api/apiregistration_api.rb +72 -0
- data/lib/kubernetes/api/apiregistration_v1_api.rb +750 -0
- data/lib/kubernetes/api/apiregistration_v1beta1_api.rb +750 -0
- data/lib/kubernetes/api/apis_api.rb +72 -0
- data/lib/kubernetes/api/apps_api.rb +72 -0
- data/lib/kubernetes/api/apps_v1_api.rb +4562 -0
- data/lib/kubernetes/api/apps_v1beta1_api.rb +2800 -0
- data/lib/kubernetes/api/apps_v1beta2_api.rb +4562 -0
- data/lib/kubernetes/api/auditregistration_api.rb +72 -0
- data/lib/kubernetes/api/auditregistration_v1alpha1_api.rb +558 -0
- data/lib/kubernetes/api/authentication_api.rb +72 -0
- data/lib/kubernetes/api/authentication_v1_api.rb +136 -0
- data/lib/kubernetes/api/authentication_v1beta1_api.rb +136 -0
- data/lib/kubernetes/api/authorization_api.rb +72 -0
- data/lib/kubernetes/api/authorization_v1_api.rb +334 -0
- data/lib/kubernetes/api/authorization_v1beta1_api.rb +334 -0
- data/lib/kubernetes/api/autoscaling_api.rb +72 -0
- data/lib/kubernetes/api/autoscaling_v1_api.rb +886 -0
- data/lib/kubernetes/api/autoscaling_v2beta1_api.rb +886 -0
- data/lib/kubernetes/api/autoscaling_v2beta2_api.rb +886 -0
- data/lib/kubernetes/api/batch_api.rb +72 -0
- data/lib/kubernetes/api/batch_v1_api.rb +886 -0
- data/lib/kubernetes/api/batch_v1beta1_api.rb +886 -0
- data/lib/kubernetes/api/batch_v2alpha1_api.rb +886 -0
- data/lib/kubernetes/api/certificates_api.rb +72 -0
- data/lib/kubernetes/api/certificates_v1beta1_api.rb +817 -0
- data/lib/kubernetes/api/coordination_api.rb +72 -0
- data/lib/kubernetes/api/coordination_v1beta1_api.rb +676 -0
- data/lib/kubernetes/api/core_api.rb +72 -0
- data/lib/kubernetes/api/core_v1_api.rb +14132 -0
- data/lib/kubernetes/api/custom_objects_api.rb +1969 -0
- data/lib/kubernetes/api/events_api.rb +72 -0
- data/lib/kubernetes/api/events_v1beta1_api.rb +676 -0
- data/lib/kubernetes/api/extensions_api.rb +72 -0
- data/lib/kubernetes/api/extensions_v1beta1_api.rb +5124 -0
- data/lib/kubernetes/api/logs_api.rb +117 -0
- data/lib/kubernetes/api/networking_api.rb +72 -0
- data/lib/kubernetes/api/networking_v1_api.rb +676 -0
- data/lib/kubernetes/api/policy_api.rb +72 -0
- data/lib/kubernetes/api/policy_v1beta1_api.rb +1372 -0
- data/lib/kubernetes/api/rbac_authorization_api.rb +72 -0
- data/lib/kubernetes/api/rbac_authorization_v1_api.rb +2228 -0
- data/lib/kubernetes/api/rbac_authorization_v1alpha1_api.rb +2228 -0
- data/lib/kubernetes/api/rbac_authorization_v1beta1_api.rb +2228 -0
- data/lib/kubernetes/api/scheduling_api.rb +72 -0
- data/lib/kubernetes/api/scheduling_v1alpha1_api.rb +558 -0
- data/lib/kubernetes/api/scheduling_v1beta1_api.rb +558 -0
- data/lib/kubernetes/api/settings_api.rb +72 -0
- data/lib/kubernetes/api/settings_v1alpha1_api.rb +676 -0
- data/lib/kubernetes/api/storage_api.rb +72 -0
- data/lib/kubernetes/api/storage_v1_api.rb +1236 -0
- data/lib/kubernetes/api/storage_v1alpha1_api.rb +558 -0
- data/lib/kubernetes/api/storage_v1beta1_api.rb +1044 -0
- data/lib/kubernetes/api/version_api.rb +72 -0
- data/lib/kubernetes/api_client.rb +389 -0
- data/lib/kubernetes/api_error.rb +38 -0
- data/lib/kubernetes/configuration.rb +209 -0
- data/lib/kubernetes/models/admissionregistration_v1beta1_service_reference.rb +219 -0
- data/lib/kubernetes/models/admissionregistration_v1beta1_webhook_client_config.rb +225 -0
- data/lib/kubernetes/models/apiextensions_v1beta1_service_reference.rb +219 -0
- data/lib/kubernetes/models/apiextensions_v1beta1_webhook_client_config.rb +225 -0
- data/lib/kubernetes/models/apiregistration_v1beta1_service_reference.rb +199 -0
- data/lib/kubernetes/models/apps_v1beta1_deployment.rb +229 -0
- data/lib/kubernetes/models/apps_v1beta1_deployment_condition.rb +249 -0
- data/lib/kubernetes/models/apps_v1beta1_deployment_list.rb +226 -0
- data/lib/kubernetes/models/apps_v1beta1_deployment_rollback.rb +241 -0
- data/lib/kubernetes/models/apps_v1beta1_deployment_spec.rb +274 -0
- data/lib/kubernetes/models/apps_v1beta1_deployment_status.rb +261 -0
- data/lib/kubernetes/models/apps_v1beta1_deployment_strategy.rb +199 -0
- data/lib/kubernetes/models/apps_v1beta1_rollback_config.rb +189 -0
- data/lib/kubernetes/models/apps_v1beta1_rolling_update_deployment.rb +199 -0
- data/lib/kubernetes/models/apps_v1beta1_scale.rb +229 -0
- data/lib/kubernetes/models/apps_v1beta1_scale_spec.rb +189 -0
- data/lib/kubernetes/models/apps_v1beta1_scale_status.rb +216 -0
- data/lib/kubernetes/models/extensions_v1beta1_allowed_flex_volume.rb +194 -0
- data/lib/kubernetes/models/extensions_v1beta1_allowed_host_path.rb +199 -0
- data/lib/kubernetes/models/extensions_v1beta1_deployment.rb +229 -0
- data/lib/kubernetes/models/extensions_v1beta1_deployment_condition.rb +249 -0
- data/lib/kubernetes/models/extensions_v1beta1_deployment_list.rb +226 -0
- data/lib/kubernetes/models/extensions_v1beta1_deployment_rollback.rb +241 -0
- data/lib/kubernetes/models/extensions_v1beta1_deployment_spec.rb +274 -0
- data/lib/kubernetes/models/extensions_v1beta1_deployment_status.rb +261 -0
- data/lib/kubernetes/models/extensions_v1beta1_deployment_strategy.rb +199 -0
- data/lib/kubernetes/models/extensions_v1beta1_fs_group_strategy_options.rb +201 -0
- data/lib/kubernetes/models/extensions_v1beta1_host_port_range.rb +209 -0
- data/lib/kubernetes/models/extensions_v1beta1_id_range.rb +209 -0
- data/lib/kubernetes/models/extensions_v1beta1_pod_security_policy.rb +219 -0
- data/lib/kubernetes/models/extensions_v1beta1_pod_security_policy_list.rb +226 -0
- data/lib/kubernetes/models/extensions_v1beta1_pod_security_policy_spec.rb +439 -0
- data/lib/kubernetes/models/extensions_v1beta1_rollback_config.rb +189 -0
- data/lib/kubernetes/models/extensions_v1beta1_rolling_update_deployment.rb +199 -0
- data/lib/kubernetes/models/extensions_v1beta1_run_as_group_strategy_options.rb +206 -0
- data/lib/kubernetes/models/extensions_v1beta1_run_as_user_strategy_options.rb +206 -0
- data/lib/kubernetes/models/extensions_v1beta1_scale.rb +229 -0
- data/lib/kubernetes/models/extensions_v1beta1_scale_spec.rb +189 -0
- data/lib/kubernetes/models/extensions_v1beta1_scale_status.rb +216 -0
- data/lib/kubernetes/models/extensions_v1beta1_se_linux_strategy_options.rb +204 -0
- data/lib/kubernetes/models/extensions_v1beta1_supplemental_groups_strategy_options.rb +201 -0
- data/lib/kubernetes/models/policy_v1beta1_allowed_flex_volume.rb +194 -0
- data/lib/kubernetes/models/policy_v1beta1_allowed_host_path.rb +199 -0
- data/lib/kubernetes/models/policy_v1beta1_fs_group_strategy_options.rb +201 -0
- data/lib/kubernetes/models/policy_v1beta1_host_port_range.rb +209 -0
- data/lib/kubernetes/models/policy_v1beta1_id_range.rb +209 -0
- data/lib/kubernetes/models/policy_v1beta1_pod_security_policy.rb +219 -0
- data/lib/kubernetes/models/policy_v1beta1_pod_security_policy_list.rb +226 -0
- data/lib/kubernetes/models/policy_v1beta1_pod_security_policy_spec.rb +439 -0
- data/lib/kubernetes/models/policy_v1beta1_run_as_group_strategy_options.rb +206 -0
- data/lib/kubernetes/models/policy_v1beta1_run_as_user_strategy_options.rb +206 -0
- data/lib/kubernetes/models/policy_v1beta1_se_linux_strategy_options.rb +204 -0
- data/lib/kubernetes/models/policy_v1beta1_supplemental_groups_strategy_options.rb +201 -0
- data/lib/kubernetes/models/runtime_raw_extension.rb +213 -0
- data/lib/kubernetes/models/v1_affinity.rb +209 -0
- data/lib/kubernetes/models/v1_aggregation_rule.rb +191 -0
- data/lib/kubernetes/models/v1_api_group.rb +253 -0
- data/lib/kubernetes/models/v1_api_group_list.rb +216 -0
- data/lib/kubernetes/models/v1_api_resource.rb +300 -0
- data/lib/kubernetes/models/v1_api_resource_list.rb +231 -0
- data/lib/kubernetes/models/v1_api_service.rb +228 -0
- data/lib/kubernetes/models/v1_api_service_condition.rb +239 -0
- data/lib/kubernetes/models/v1_api_service_list.rb +224 -0
- data/lib/kubernetes/models/v1_api_service_spec.rb +280 -0
- data/lib/kubernetes/models/v1_api_service_status.rb +191 -0
- data/lib/kubernetes/models/v1_api_versions.rb +233 -0
- data/lib/kubernetes/models/v1_attached_volume.rb +209 -0
- data/lib/kubernetes/models/v1_aws_elastic_block_store_volume_source.rb +224 -0
- data/lib/kubernetes/models/v1_azure_disk_volume_source.rb +249 -0
- data/lib/kubernetes/models/v1_azure_file_persistent_volume_source.rb +229 -0
- data/lib/kubernetes/models/v1_azure_file_volume_source.rb +219 -0
- data/lib/kubernetes/models/v1_binding.rb +224 -0
- data/lib/kubernetes/models/v1_capabilities.rb +203 -0
- data/lib/kubernetes/models/v1_ceph_fs_persistent_volume_source.rb +246 -0
- data/lib/kubernetes/models/v1_ceph_fs_volume_source.rb +246 -0
- data/lib/kubernetes/models/v1_cinder_persistent_volume_source.rb +224 -0
- data/lib/kubernetes/models/v1_cinder_volume_source.rb +224 -0
- data/lib/kubernetes/models/v1_client_ip_config.rb +189 -0
- data/lib/kubernetes/models/v1_cluster_role.rb +236 -0
- data/lib/kubernetes/models/v1_cluster_role_binding.rb +236 -0
- data/lib/kubernetes/models/v1_cluster_role_binding_list.rb +226 -0
- data/lib/kubernetes/models/v1_cluster_role_list.rb +226 -0
- data/lib/kubernetes/models/v1_component_condition.rb +229 -0
- data/lib/kubernetes/models/v1_component_status.rb +221 -0
- data/lib/kubernetes/models/v1_component_status_list.rb +226 -0
- data/lib/kubernetes/models/v1_config_map.rb +233 -0
- data/lib/kubernetes/models/v1_config_map_env_source.rb +199 -0
- data/lib/kubernetes/models/v1_config_map_key_selector.rb +214 -0
- data/lib/kubernetes/models/v1_config_map_list.rb +226 -0
- data/lib/kubernetes/models/v1_config_map_node_config_source.rb +244 -0
- data/lib/kubernetes/models/v1_config_map_projection.rb +211 -0
- data/lib/kubernetes/models/v1_config_map_volume_source.rb +221 -0
- data/lib/kubernetes/models/v1_container.rb +408 -0
- data/lib/kubernetes/models/v1_container_image.rb +206 -0
- data/lib/kubernetes/models/v1_container_port.rb +234 -0
- data/lib/kubernetes/models/v1_container_state.rb +209 -0
- data/lib/kubernetes/models/v1_container_state_running.rb +189 -0
- data/lib/kubernetes/models/v1_container_state_terminated.rb +254 -0
- data/lib/kubernetes/models/v1_container_state_waiting.rb +199 -0
- data/lib/kubernetes/models/v1_container_status.rb +284 -0
- data/lib/kubernetes/models/v1_controller_revision.rb +234 -0
- data/lib/kubernetes/models/v1_controller_revision_list.rb +226 -0
- data/lib/kubernetes/models/v1_cross_version_object_reference.rb +219 -0
- data/lib/kubernetes/models/v1_csi_persistent_volume_source.rb +271 -0
- data/lib/kubernetes/models/v1_daemon_endpoint.rb +194 -0
- data/lib/kubernetes/models/v1_daemon_set.rb +229 -0
- data/lib/kubernetes/models/v1_daemon_set_condition.rb +239 -0
- data/lib/kubernetes/models/v1_daemon_set_list.rb +226 -0
- data/lib/kubernetes/models/v1_daemon_set_spec.rb +239 -0
- data/lib/kubernetes/models/v1_daemon_set_status.rb +301 -0
- data/lib/kubernetes/models/v1_daemon_set_update_strategy.rb +199 -0
- data/lib/kubernetes/models/v1_delete_options.rb +251 -0
- data/lib/kubernetes/models/v1_deployment.rb +229 -0
- data/lib/kubernetes/models/v1_deployment_condition.rb +249 -0
- data/lib/kubernetes/models/v1_deployment_list.rb +226 -0
- data/lib/kubernetes/models/v1_deployment_spec.rb +269 -0
- data/lib/kubernetes/models/v1_deployment_status.rb +261 -0
- data/lib/kubernetes/models/v1_deployment_strategy.rb +199 -0
- data/lib/kubernetes/models/v1_downward_api_projection.rb +191 -0
- data/lib/kubernetes/models/v1_downward_api_volume_file.rb +224 -0
- data/lib/kubernetes/models/v1_downward_api_volume_source.rb +201 -0
- data/lib/kubernetes/models/v1_empty_dir_volume_source.rb +199 -0
- data/lib/kubernetes/models/v1_endpoint_address.rb +224 -0
- data/lib/kubernetes/models/v1_endpoint_port.rb +214 -0
- data/lib/kubernetes/models/v1_endpoint_subset.rb +215 -0
- data/lib/kubernetes/models/v1_endpoints.rb +221 -0
- data/lib/kubernetes/models/v1_endpoints_list.rb +226 -0
- data/lib/kubernetes/models/v1_env_from_source.rb +209 -0
- data/lib/kubernetes/models/v1_env_var.rb +214 -0
- data/lib/kubernetes/models/v1_env_var_source.rb +219 -0
- data/lib/kubernetes/models/v1_event.rb +359 -0
- data/lib/kubernetes/models/v1_event_list.rb +226 -0
- data/lib/kubernetes/models/v1_event_series.rb +209 -0
- data/lib/kubernetes/models/v1_event_source.rb +199 -0
- data/lib/kubernetes/models/v1_exec_action.rb +191 -0
- data/lib/kubernetes/models/v1_fc_volume_source.rb +233 -0
- data/lib/kubernetes/models/v1_flex_persistent_volume_source.rb +236 -0
- data/lib/kubernetes/models/v1_flex_volume_source.rb +236 -0
- data/lib/kubernetes/models/v1_flocker_volume_source.rb +199 -0
- data/lib/kubernetes/models/v1_gce_persistent_disk_volume_source.rb +224 -0
- data/lib/kubernetes/models/v1_git_repo_volume_source.rb +214 -0
- data/lib/kubernetes/models/v1_glusterfs_persistent_volume_source.rb +229 -0
- data/lib/kubernetes/models/v1_glusterfs_volume_source.rb +219 -0
- data/lib/kubernetes/models/v1_group_version_for_discovery.rb +209 -0
- data/lib/kubernetes/models/v1_handler.rb +209 -0
- data/lib/kubernetes/models/v1_horizontal_pod_autoscaler.rb +229 -0
- data/lib/kubernetes/models/v1_horizontal_pod_autoscaler_list.rb +226 -0
- data/lib/kubernetes/models/v1_horizontal_pod_autoscaler_spec.rb +229 -0
- data/lib/kubernetes/models/v1_horizontal_pod_autoscaler_status.rb +239 -0
- data/lib/kubernetes/models/v1_host_alias.rb +201 -0
- data/lib/kubernetes/models/v1_host_path_volume_source.rb +204 -0
- data/lib/kubernetes/models/v1_http_get_action.rb +236 -0
- data/lib/kubernetes/models/v1_http_header.rb +209 -0
- data/lib/kubernetes/models/v1_initializer.rb +194 -0
- data/lib/kubernetes/models/v1_initializers.rb +206 -0
- data/lib/kubernetes/models/v1_ip_block.rb +206 -0
- data/lib/kubernetes/models/v1_iscsi_persistent_volume_source.rb +306 -0
- data/lib/kubernetes/models/v1_iscsi_volume_source.rb +306 -0
- data/lib/kubernetes/models/v1_job.rb +229 -0
- data/lib/kubernetes/models/v1_job_condition.rb +249 -0
- data/lib/kubernetes/models/v1_job_list.rb +226 -0
- data/lib/kubernetes/models/v1_job_spec.rb +264 -0
- data/lib/kubernetes/models/v1_job_status.rb +241 -0
- data/lib/kubernetes/models/v1_key_to_path.rb +219 -0
- data/lib/kubernetes/models/v1_label_selector.rb +203 -0
- data/lib/kubernetes/models/v1_label_selector_requirement.rb +221 -0
- data/lib/kubernetes/models/v1_lifecycle.rb +199 -0
- data/lib/kubernetes/models/v1_limit_range.rb +219 -0
- data/lib/kubernetes/models/v1_limit_range_item.rb +249 -0
- data/lib/kubernetes/models/v1_limit_range_list.rb +226 -0
- data/lib/kubernetes/models/v1_limit_range_spec.rb +196 -0
- data/lib/kubernetes/models/v1_list_meta.rb +209 -0
- data/lib/kubernetes/models/v1_load_balancer_ingress.rb +199 -0
- data/lib/kubernetes/models/v1_load_balancer_status.rb +191 -0
- data/lib/kubernetes/models/v1_local_object_reference.rb +189 -0
- data/lib/kubernetes/models/v1_local_subject_access_review.rb +233 -0
- data/lib/kubernetes/models/v1_local_volume_source.rb +204 -0
- data/lib/kubernetes/models/v1_namespace.rb +229 -0
- data/lib/kubernetes/models/v1_namespace_list.rb +226 -0
- data/lib/kubernetes/models/v1_namespace_spec.rb +191 -0
- data/lib/kubernetes/models/v1_namespace_status.rb +189 -0
- data/lib/kubernetes/models/v1_network_policy.rb +219 -0
- data/lib/kubernetes/models/v1_network_policy_egress_rule.rb +203 -0
- data/lib/kubernetes/models/v1_network_policy_ingress_rule.rb +203 -0
- data/lib/kubernetes/models/v1_network_policy_list.rb +226 -0
- data/lib/kubernetes/models/v1_network_policy_peer.rb +209 -0
- data/lib/kubernetes/models/v1_network_policy_port.rb +199 -0
- data/lib/kubernetes/models/v1_network_policy_spec.rb +230 -0
- data/lib/kubernetes/models/v1_nfs_volume_source.rb +219 -0
- data/lib/kubernetes/models/v1_node.rb +229 -0
- data/lib/kubernetes/models/v1_node_address.rb +209 -0
- data/lib/kubernetes/models/v1_node_affinity.rb +201 -0
- data/lib/kubernetes/models/v1_node_condition.rb +249 -0
- data/lib/kubernetes/models/v1_node_config_source.rb +189 -0
- data/lib/kubernetes/models/v1_node_config_status.rb +219 -0
- data/lib/kubernetes/models/v1_node_daemon_endpoints.rb +189 -0
- data/lib/kubernetes/models/v1_node_list.rb +226 -0
- data/lib/kubernetes/models/v1_node_selector.rb +196 -0
- data/lib/kubernetes/models/v1_node_selector_requirement.rb +221 -0
- data/lib/kubernetes/models/v1_node_selector_term.rb +203 -0
- data/lib/kubernetes/models/v1_node_spec.rb +241 -0
- data/lib/kubernetes/models/v1_node_status.rb +303 -0
- data/lib/kubernetes/models/v1_node_system_info.rb +329 -0
- data/lib/kubernetes/models/v1_non_resource_attributes.rb +199 -0
- data/lib/kubernetes/models/v1_non_resource_rule.rb +208 -0
- data/lib/kubernetes/models/v1_object_field_selector.rb +204 -0
- data/lib/kubernetes/models/v1_object_meta.rb +347 -0
- data/lib/kubernetes/models/v1_object_reference.rb +249 -0
- data/lib/kubernetes/models/v1_owner_reference.rb +259 -0
- data/lib/kubernetes/models/v1_persistent_volume.rb +229 -0
- data/lib/kubernetes/models/v1_persistent_volume_claim.rb +229 -0
- data/lib/kubernetes/models/v1_persistent_volume_claim_condition.rb +247 -0
- data/lib/kubernetes/models/v1_persistent_volume_claim_list.rb +226 -0
- data/lib/kubernetes/models/v1_persistent_volume_claim_spec.rb +251 -0
- data/lib/kubernetes/models/v1_persistent_volume_claim_status.rb +225 -0
- data/lib/kubernetes/models/v1_persistent_volume_claim_volume_source.rb +204 -0
- data/lib/kubernetes/models/v1_persistent_volume_list.rb +226 -0
- data/lib/kubernetes/models/v1_persistent_volume_spec.rb +485 -0
- data/lib/kubernetes/models/v1_persistent_volume_status.rb +209 -0
- data/lib/kubernetes/models/v1_photon_persistent_disk_volume_source.rb +204 -0
- data/lib/kubernetes/models/v1_pod.rb +229 -0
- data/lib/kubernetes/models/v1_pod_affinity.rb +203 -0
- data/lib/kubernetes/models/v1_pod_affinity_term.rb +216 -0
- data/lib/kubernetes/models/v1_pod_anti_affinity.rb +203 -0
- data/lib/kubernetes/models/v1_pod_condition.rb +249 -0
- data/lib/kubernetes/models/v1_pod_dns_config.rb +215 -0
- data/lib/kubernetes/models/v1_pod_dns_config_option.rb +198 -0
- data/lib/kubernetes/models/v1_pod_list.rb +226 -0
- data/lib/kubernetes/models/v1_pod_readiness_gate.rb +194 -0
- data/lib/kubernetes/models/v1_pod_security_context.rb +253 -0
- data/lib/kubernetes/models/v1_pod_spec.rb +500 -0
- data/lib/kubernetes/models/v1_pod_status.rb +295 -0
- data/lib/kubernetes/models/v1_pod_template.rb +219 -0
- data/lib/kubernetes/models/v1_pod_template_list.rb +226 -0
- data/lib/kubernetes/models/v1_pod_template_spec.rb +199 -0
- data/lib/kubernetes/models/v1_policy_rule.rb +244 -0
- data/lib/kubernetes/models/v1_portworx_volume_source.rb +214 -0
- data/lib/kubernetes/models/v1_preconditions.rb +189 -0
- data/lib/kubernetes/models/v1_preferred_scheduling_term.rb +209 -0
- data/lib/kubernetes/models/v1_probe.rb +259 -0
- data/lib/kubernetes/models/v1_projected_volume_source.rb +206 -0
- data/lib/kubernetes/models/v1_quobyte_volume_source.rb +239 -0
- data/lib/kubernetes/models/v1_rbd_persistent_volume_source.rb +271 -0
- data/lib/kubernetes/models/v1_rbd_volume_source.rb +271 -0
- data/lib/kubernetes/models/v1_replica_set.rb +229 -0
- data/lib/kubernetes/models/v1_replica_set_condition.rb +239 -0
- data/lib/kubernetes/models/v1_replica_set_list.rb +226 -0
- data/lib/kubernetes/models/v1_replica_set_spec.rb +224 -0
- data/lib/kubernetes/models/v1_replica_set_status.rb +246 -0
- data/lib/kubernetes/models/v1_replication_controller.rb +229 -0
- data/lib/kubernetes/models/v1_replication_controller_condition.rb +239 -0
- data/lib/kubernetes/models/v1_replication_controller_list.rb +226 -0
- data/lib/kubernetes/models/v1_replication_controller_spec.rb +221 -0
- data/lib/kubernetes/models/v1_replication_controller_status.rb +246 -0
- data/lib/kubernetes/models/v1_resource_attributes.rb +249 -0
- data/lib/kubernetes/models/v1_resource_field_selector.rb +214 -0
- data/lib/kubernetes/models/v1_resource_quota.rb +229 -0
- data/lib/kubernetes/models/v1_resource_quota_list.rb +226 -0
- data/lib/kubernetes/models/v1_resource_quota_spec.rb +213 -0
- data/lib/kubernetes/models/v1_resource_quota_status.rb +203 -0
- data/lib/kubernetes/models/v1_resource_requirements.rb +203 -0
- data/lib/kubernetes/models/v1_resource_rule.rb +232 -0
- data/lib/kubernetes/models/v1_role.rb +226 -0
- data/lib/kubernetes/models/v1_role_binding.rb +236 -0
- data/lib/kubernetes/models/v1_role_binding_list.rb +226 -0
- data/lib/kubernetes/models/v1_role_list.rb +226 -0
- data/lib/kubernetes/models/v1_role_ref.rb +224 -0
- data/lib/kubernetes/models/v1_rolling_update_daemon_set.rb +189 -0
- data/lib/kubernetes/models/v1_rolling_update_deployment.rb +199 -0
- data/lib/kubernetes/models/v1_rolling_update_stateful_set_strategy.rb +189 -0
- data/lib/kubernetes/models/v1_scale.rb +229 -0
- data/lib/kubernetes/models/v1_scale_io_persistent_volume_source.rb +294 -0
- data/lib/kubernetes/models/v1_scale_io_volume_source.rb +294 -0
- data/lib/kubernetes/models/v1_scale_spec.rb +189 -0
- data/lib/kubernetes/models/v1_scale_status.rb +204 -0
- data/lib/kubernetes/models/v1_scope_selector.rb +191 -0
- data/lib/kubernetes/models/v1_scoped_resource_selector_requirement.rb +221 -0
- data/lib/kubernetes/models/v1_se_linux_options.rb +219 -0
- data/lib/kubernetes/models/v1_secret.rb +243 -0
- data/lib/kubernetes/models/v1_secret_env_source.rb +199 -0
- data/lib/kubernetes/models/v1_secret_key_selector.rb +214 -0
- data/lib/kubernetes/models/v1_secret_list.rb +226 -0
- data/lib/kubernetes/models/v1_secret_projection.rb +211 -0
- data/lib/kubernetes/models/v1_secret_reference.rb +199 -0
- data/lib/kubernetes/models/v1_secret_volume_source.rb +221 -0
- data/lib/kubernetes/models/v1_security_context.rb +269 -0
- data/lib/kubernetes/models/v1_self_subject_access_review.rb +233 -0
- data/lib/kubernetes/models/v1_self_subject_access_review_spec.rb +199 -0
- data/lib/kubernetes/models/v1_self_subject_rules_review.rb +233 -0
- data/lib/kubernetes/models/v1_self_subject_rules_review_spec.rb +189 -0
- data/lib/kubernetes/models/v1_server_address_by_client_cidr.rb +209 -0
- data/lib/kubernetes/models/v1_service.rb +229 -0
- data/lib/kubernetes/models/v1_service_account.rb +243 -0
- data/lib/kubernetes/models/v1_service_account_list.rb +226 -0
- data/lib/kubernetes/models/v1_service_account_token_projection.rb +214 -0
- data/lib/kubernetes/models/v1_service_list.rb +226 -0
- data/lib/kubernetes/models/v1_service_port.rb +234 -0
- data/lib/kubernetes/models/v1_service_reference.rb +199 -0
- data/lib/kubernetes/models/v1_service_spec.rb +317 -0
- data/lib/kubernetes/models/v1_service_status.rb +189 -0
- data/lib/kubernetes/models/v1_session_affinity_config.rb +189 -0
- data/lib/kubernetes/models/v1_stateful_set.rb +228 -0
- data/lib/kubernetes/models/v1_stateful_set_condition.rb +239 -0
- data/lib/kubernetes/models/v1_stateful_set_list.rb +224 -0
- data/lib/kubernetes/models/v1_stateful_set_spec.rb +276 -0
- data/lib/kubernetes/models/v1_stateful_set_status.rb +276 -0
- data/lib/kubernetes/models/v1_stateful_set_update_strategy.rb +199 -0
- data/lib/kubernetes/models/v1_status.rb +259 -0
- data/lib/kubernetes/models/v1_status_cause.rb +209 -0
- data/lib/kubernetes/models/v1_status_details.rb +241 -0
- data/lib/kubernetes/models/v1_storage_class.rb +290 -0
- data/lib/kubernetes/models/v1_storage_class_list.rb +226 -0
- data/lib/kubernetes/models/v1_storage_os_persistent_volume_source.rb +229 -0
- data/lib/kubernetes/models/v1_storage_os_volume_source.rb +229 -0
- data/lib/kubernetes/models/v1_subject.rb +229 -0
- data/lib/kubernetes/models/v1_subject_access_review.rb +233 -0
- data/lib/kubernetes/models/v1_subject_access_review_spec.rb +243 -0
- data/lib/kubernetes/models/v1_subject_access_review_status.rb +224 -0
- data/lib/kubernetes/models/v1_subject_rules_review_status.rb +238 -0
- data/lib/kubernetes/models/v1_sysctl.rb +209 -0
- data/lib/kubernetes/models/v1_taint.rb +229 -0
- data/lib/kubernetes/models/v1_tcp_socket_action.rb +204 -0
- data/lib/kubernetes/models/v1_token_review.rb +233 -0
- data/lib/kubernetes/models/v1_token_review_spec.rb +201 -0
- data/lib/kubernetes/models/v1_token_review_status.rb +221 -0
- data/lib/kubernetes/models/v1_toleration.rb +229 -0
- data/lib/kubernetes/models/v1_topology_selector_label_requirement.rb +211 -0
- data/lib/kubernetes/models/v1_topology_selector_term.rb +191 -0
- data/lib/kubernetes/models/v1_typed_local_object_reference.rb +219 -0
- data/lib/kubernetes/models/v1_user_info.rb +223 -0
- data/lib/kubernetes/models/v1_volume.rb +464 -0
- data/lib/kubernetes/models/v1_volume_attachment.rb +234 -0
- data/lib/kubernetes/models/v1_volume_attachment_list.rb +226 -0
- data/lib/kubernetes/models/v1_volume_attachment_source.rb +189 -0
- data/lib/kubernetes/models/v1_volume_attachment_spec.rb +224 -0
- data/lib/kubernetes/models/v1_volume_attachment_status.rb +226 -0
- data/lib/kubernetes/models/v1_volume_device.rb +209 -0
- data/lib/kubernetes/models/v1_volume_error.rb +199 -0
- data/lib/kubernetes/models/v1_volume_mount.rb +239 -0
- data/lib/kubernetes/models/v1_volume_node_affinity.rb +189 -0
- data/lib/kubernetes/models/v1_volume_projection.rb +219 -0
- data/lib/kubernetes/models/v1_vsphere_virtual_disk_volume_source.rb +224 -0
- data/lib/kubernetes/models/v1_watch_event.rb +208 -0
- data/lib/kubernetes/models/v1_weighted_pod_affinity_term.rb +209 -0
- data/lib/kubernetes/models/v1alpha1_aggregation_rule.rb +191 -0
- data/lib/kubernetes/models/v1alpha1_audit_sink.rb +218 -0
- data/lib/kubernetes/models/v1alpha1_audit_sink_list.rb +225 -0
- data/lib/kubernetes/models/v1alpha1_audit_sink_spec.rb +209 -0
- data/lib/kubernetes/models/v1alpha1_cluster_role.rb +236 -0
- data/lib/kubernetes/models/v1alpha1_cluster_role_binding.rb +236 -0
- data/lib/kubernetes/models/v1alpha1_cluster_role_binding_list.rb +226 -0
- data/lib/kubernetes/models/v1alpha1_cluster_role_list.rb +226 -0
- data/lib/kubernetes/models/v1alpha1_initializer.rb +206 -0
- data/lib/kubernetes/models/v1alpha1_initializer_configuration.rb +221 -0
- data/lib/kubernetes/models/v1alpha1_initializer_configuration_list.rb +226 -0
- data/lib/kubernetes/models/v1alpha1_pod_preset.rb +217 -0
- data/lib/kubernetes/models/v1alpha1_pod_preset_list.rb +226 -0
- data/lib/kubernetes/models/v1alpha1_pod_preset_spec.rb +237 -0
- data/lib/kubernetes/models/v1alpha1_policy.rb +206 -0
- data/lib/kubernetes/models/v1alpha1_policy_rule.rb +244 -0
- data/lib/kubernetes/models/v1alpha1_priority_class.rb +244 -0
- data/lib/kubernetes/models/v1alpha1_priority_class_list.rb +226 -0
- data/lib/kubernetes/models/v1alpha1_role.rb +226 -0
- data/lib/kubernetes/models/v1alpha1_role_binding.rb +236 -0
- data/lib/kubernetes/models/v1alpha1_role_binding_list.rb +226 -0
- data/lib/kubernetes/models/v1alpha1_role_list.rb +226 -0
- data/lib/kubernetes/models/v1alpha1_role_ref.rb +224 -0
- data/lib/kubernetes/models/v1alpha1_rule.rb +215 -0
- data/lib/kubernetes/models/v1alpha1_service_reference.rb +219 -0
- data/lib/kubernetes/models/v1alpha1_subject.rb +229 -0
- data/lib/kubernetes/models/v1alpha1_volume_attachment.rb +234 -0
- data/lib/kubernetes/models/v1alpha1_volume_attachment_list.rb +226 -0
- data/lib/kubernetes/models/v1alpha1_volume_attachment_source.rb +189 -0
- data/lib/kubernetes/models/v1alpha1_volume_attachment_spec.rb +224 -0
- data/lib/kubernetes/models/v1alpha1_volume_attachment_status.rb +226 -0
- data/lib/kubernetes/models/v1alpha1_volume_error.rb +199 -0
- data/lib/kubernetes/models/v1alpha1_webhook.rb +204 -0
- data/lib/kubernetes/models/v1alpha1_webhook_client_config.rb +225 -0
- data/lib/kubernetes/models/v1alpha1_webhook_throttle_config.rb +199 -0
- data/lib/kubernetes/models/v1beta1_aggregation_rule.rb +191 -0
- data/lib/kubernetes/models/v1beta1_api_service.rb +228 -0
- data/lib/kubernetes/models/v1beta1_api_service_condition.rb +239 -0
- data/lib/kubernetes/models/v1beta1_api_service_list.rb +224 -0
- data/lib/kubernetes/models/v1beta1_api_service_spec.rb +280 -0
- data/lib/kubernetes/models/v1beta1_api_service_status.rb +191 -0
- data/lib/kubernetes/models/v1beta1_certificate_signing_request.rb +228 -0
- data/lib/kubernetes/models/v1beta1_certificate_signing_request_condition.rb +224 -0
- data/lib/kubernetes/models/v1beta1_certificate_signing_request_list.rb +224 -0
- data/lib/kubernetes/models/v1beta1_certificate_signing_request_spec.rb +269 -0
- data/lib/kubernetes/models/v1beta1_certificate_signing_request_status.rb +217 -0
- data/lib/kubernetes/models/v1beta1_cluster_role.rb +236 -0
- data/lib/kubernetes/models/v1beta1_cluster_role_binding.rb +236 -0
- data/lib/kubernetes/models/v1beta1_cluster_role_binding_list.rb +226 -0
- data/lib/kubernetes/models/v1beta1_cluster_role_list.rb +226 -0
- data/lib/kubernetes/models/v1beta1_controller_revision.rb +234 -0
- data/lib/kubernetes/models/v1beta1_controller_revision_list.rb +226 -0
- data/lib/kubernetes/models/v1beta1_cron_job.rb +229 -0
- data/lib/kubernetes/models/v1beta1_cron_job_list.rb +226 -0
- data/lib/kubernetes/models/v1beta1_cron_job_spec.rb +259 -0
- data/lib/kubernetes/models/v1beta1_cron_job_status.rb +201 -0
- data/lib/kubernetes/models/v1beta1_custom_resource_column_definition.rb +254 -0
- data/lib/kubernetes/models/v1beta1_custom_resource_conversion.rb +204 -0
- data/lib/kubernetes/models/v1beta1_custom_resource_definition.rb +233 -0
- data/lib/kubernetes/models/v1beta1_custom_resource_definition_condition.rb +239 -0
- data/lib/kubernetes/models/v1beta1_custom_resource_definition_list.rb +225 -0
- data/lib/kubernetes/models/v1beta1_custom_resource_definition_names.rb +253 -0
- data/lib/kubernetes/models/v1beta1_custom_resource_definition_spec.rb +288 -0
- data/lib/kubernetes/models/v1beta1_custom_resource_definition_status.rb +228 -0
- data/lib/kubernetes/models/v1beta1_custom_resource_definition_version.rb +256 -0
- data/lib/kubernetes/models/v1beta1_custom_resource_subresource_scale.rb +219 -0
- data/lib/kubernetes/models/v1beta1_custom_resource_subresources.rb +199 -0
- data/lib/kubernetes/models/v1beta1_custom_resource_validation.rb +189 -0
- data/lib/kubernetes/models/v1beta1_daemon_set.rb +229 -0
- data/lib/kubernetes/models/v1beta1_daemon_set_condition.rb +239 -0
- data/lib/kubernetes/models/v1beta1_daemon_set_list.rb +226 -0
- data/lib/kubernetes/models/v1beta1_daemon_set_spec.rb +244 -0
- data/lib/kubernetes/models/v1beta1_daemon_set_status.rb +301 -0
- data/lib/kubernetes/models/v1beta1_daemon_set_update_strategy.rb +199 -0
- data/lib/kubernetes/models/v1beta1_event.rb +353 -0
- data/lib/kubernetes/models/v1beta1_event_list.rb +226 -0
- data/lib/kubernetes/models/v1beta1_event_series.rb +224 -0
- data/lib/kubernetes/models/v1beta1_eviction.rb +219 -0
- data/lib/kubernetes/models/v1beta1_external_documentation.rb +197 -0
- data/lib/kubernetes/models/v1beta1_http_ingress_path.rb +204 -0
- data/lib/kubernetes/models/v1beta1_http_ingress_rule_value.rb +196 -0
- data/lib/kubernetes/models/v1beta1_ingress.rb +229 -0
- data/lib/kubernetes/models/v1beta1_ingress_backend.rb +209 -0
- data/lib/kubernetes/models/v1beta1_ingress_list.rb +226 -0
- data/lib/kubernetes/models/v1beta1_ingress_rule.rb +198 -0
- data/lib/kubernetes/models/v1beta1_ingress_spec.rb +213 -0
- data/lib/kubernetes/models/v1beta1_ingress_status.rb +189 -0
- data/lib/kubernetes/models/v1beta1_ingress_tls.rb +201 -0
- data/lib/kubernetes/models/v1beta1_ip_block.rb +206 -0
- data/lib/kubernetes/models/v1beta1_job_template_spec.rb +199 -0
- data/lib/kubernetes/models/v1beta1_json_schema_props.rb +526 -0
- data/lib/kubernetes/models/v1beta1_lease.rb +219 -0
- data/lib/kubernetes/models/v1beta1_lease_list.rb +226 -0
- data/lib/kubernetes/models/v1beta1_lease_spec.rb +229 -0
- data/lib/kubernetes/models/v1beta1_local_subject_access_review.rb +233 -0
- data/lib/kubernetes/models/v1beta1_mutating_webhook_configuration.rb +221 -0
- data/lib/kubernetes/models/v1beta1_mutating_webhook_configuration_list.rb +226 -0
- data/lib/kubernetes/models/v1beta1_network_policy.rb +219 -0
- data/lib/kubernetes/models/v1beta1_network_policy_egress_rule.rb +203 -0
- data/lib/kubernetes/models/v1beta1_network_policy_ingress_rule.rb +203 -0
- data/lib/kubernetes/models/v1beta1_network_policy_list.rb +226 -0
- data/lib/kubernetes/models/v1beta1_network_policy_peer.rb +209 -0
- data/lib/kubernetes/models/v1beta1_network_policy_port.rb +199 -0
- data/lib/kubernetes/models/v1beta1_network_policy_spec.rb +230 -0
- data/lib/kubernetes/models/v1beta1_non_resource_attributes.rb +199 -0
- data/lib/kubernetes/models/v1beta1_non_resource_rule.rb +208 -0
- data/lib/kubernetes/models/v1beta1_pod_disruption_budget.rb +228 -0
- data/lib/kubernetes/models/v1beta1_pod_disruption_budget_list.rb +224 -0
- data/lib/kubernetes/models/v1beta1_pod_disruption_budget_spec.rb +209 -0
- data/lib/kubernetes/models/v1beta1_pod_disruption_budget_status.rb +261 -0
- data/lib/kubernetes/models/v1beta1_policy_rule.rb +244 -0
- data/lib/kubernetes/models/v1beta1_priority_class.rb +244 -0
- data/lib/kubernetes/models/v1beta1_priority_class_list.rb +226 -0
- data/lib/kubernetes/models/v1beta1_replica_set.rb +229 -0
- data/lib/kubernetes/models/v1beta1_replica_set_condition.rb +239 -0
- data/lib/kubernetes/models/v1beta1_replica_set_list.rb +226 -0
- data/lib/kubernetes/models/v1beta1_replica_set_spec.rb +219 -0
- data/lib/kubernetes/models/v1beta1_replica_set_status.rb +246 -0
- data/lib/kubernetes/models/v1beta1_resource_attributes.rb +249 -0
- data/lib/kubernetes/models/v1beta1_resource_rule.rb +232 -0
- data/lib/kubernetes/models/v1beta1_role.rb +226 -0
- data/lib/kubernetes/models/v1beta1_role_binding.rb +236 -0
- data/lib/kubernetes/models/v1beta1_role_binding_list.rb +226 -0
- data/lib/kubernetes/models/v1beta1_role_list.rb +226 -0
- data/lib/kubernetes/models/v1beta1_role_ref.rb +224 -0
- data/lib/kubernetes/models/v1beta1_rolling_update_daemon_set.rb +189 -0
- data/lib/kubernetes/models/v1beta1_rolling_update_stateful_set_strategy.rb +189 -0
- data/lib/kubernetes/models/v1beta1_rule_with_operations.rb +227 -0
- data/lib/kubernetes/models/v1beta1_self_subject_access_review.rb +233 -0
- data/lib/kubernetes/models/v1beta1_self_subject_access_review_spec.rb +199 -0
- data/lib/kubernetes/models/v1beta1_self_subject_rules_review.rb +233 -0
- data/lib/kubernetes/models/v1beta1_self_subject_rules_review_spec.rb +189 -0
- data/lib/kubernetes/models/v1beta1_stateful_set.rb +228 -0
- data/lib/kubernetes/models/v1beta1_stateful_set_condition.rb +239 -0
- data/lib/kubernetes/models/v1beta1_stateful_set_list.rb +224 -0
- data/lib/kubernetes/models/v1beta1_stateful_set_spec.rb +271 -0
- data/lib/kubernetes/models/v1beta1_stateful_set_status.rb +276 -0
- data/lib/kubernetes/models/v1beta1_stateful_set_update_strategy.rb +199 -0
- data/lib/kubernetes/models/v1beta1_storage_class.rb +290 -0
- data/lib/kubernetes/models/v1beta1_storage_class_list.rb +226 -0
- data/lib/kubernetes/models/v1beta1_subject.rb +229 -0
- data/lib/kubernetes/models/v1beta1_subject_access_review.rb +233 -0
- data/lib/kubernetes/models/v1beta1_subject_access_review_spec.rb +243 -0
- data/lib/kubernetes/models/v1beta1_subject_access_review_status.rb +224 -0
- data/lib/kubernetes/models/v1beta1_subject_rules_review_status.rb +238 -0
- data/lib/kubernetes/models/v1beta1_token_review.rb +233 -0
- data/lib/kubernetes/models/v1beta1_token_review_spec.rb +201 -0
- data/lib/kubernetes/models/v1beta1_token_review_status.rb +221 -0
- data/lib/kubernetes/models/v1beta1_user_info.rb +223 -0
- data/lib/kubernetes/models/v1beta1_validating_webhook_configuration.rb +221 -0
- data/lib/kubernetes/models/v1beta1_validating_webhook_configuration_list.rb +226 -0
- data/lib/kubernetes/models/v1beta1_volume_attachment.rb +234 -0
- data/lib/kubernetes/models/v1beta1_volume_attachment_list.rb +226 -0
- data/lib/kubernetes/models/v1beta1_volume_attachment_source.rb +189 -0
- data/lib/kubernetes/models/v1beta1_volume_attachment_spec.rb +224 -0
- data/lib/kubernetes/models/v1beta1_volume_attachment_status.rb +226 -0
- data/lib/kubernetes/models/v1beta1_volume_error.rb +199 -0
- data/lib/kubernetes/models/v1beta1_webhook.rb +251 -0
- data/lib/kubernetes/models/v1beta2_controller_revision.rb +234 -0
- data/lib/kubernetes/models/v1beta2_controller_revision_list.rb +226 -0
- data/lib/kubernetes/models/v1beta2_daemon_set.rb +229 -0
- data/lib/kubernetes/models/v1beta2_daemon_set_condition.rb +239 -0
- data/lib/kubernetes/models/v1beta2_daemon_set_list.rb +226 -0
- data/lib/kubernetes/models/v1beta2_daemon_set_spec.rb +239 -0
- data/lib/kubernetes/models/v1beta2_daemon_set_status.rb +301 -0
- data/lib/kubernetes/models/v1beta2_daemon_set_update_strategy.rb +199 -0
- data/lib/kubernetes/models/v1beta2_deployment.rb +229 -0
- data/lib/kubernetes/models/v1beta2_deployment_condition.rb +249 -0
- data/lib/kubernetes/models/v1beta2_deployment_list.rb +226 -0
- data/lib/kubernetes/models/v1beta2_deployment_spec.rb +269 -0
- data/lib/kubernetes/models/v1beta2_deployment_status.rb +261 -0
- data/lib/kubernetes/models/v1beta2_deployment_strategy.rb +199 -0
- data/lib/kubernetes/models/v1beta2_replica_set.rb +229 -0
- data/lib/kubernetes/models/v1beta2_replica_set_condition.rb +239 -0
- data/lib/kubernetes/models/v1beta2_replica_set_list.rb +226 -0
- data/lib/kubernetes/models/v1beta2_replica_set_spec.rb +224 -0
- data/lib/kubernetes/models/v1beta2_replica_set_status.rb +246 -0
- data/lib/kubernetes/models/v1beta2_rolling_update_daemon_set.rb +189 -0
- data/lib/kubernetes/models/v1beta2_rolling_update_deployment.rb +199 -0
- data/lib/kubernetes/models/v1beta2_rolling_update_stateful_set_strategy.rb +189 -0
- data/lib/kubernetes/models/v1beta2_scale.rb +229 -0
- data/lib/kubernetes/models/v1beta2_scale_spec.rb +189 -0
- data/lib/kubernetes/models/v1beta2_scale_status.rb +216 -0
- data/lib/kubernetes/models/v1beta2_stateful_set.rb +228 -0
- data/lib/kubernetes/models/v1beta2_stateful_set_condition.rb +239 -0
- data/lib/kubernetes/models/v1beta2_stateful_set_list.rb +224 -0
- data/lib/kubernetes/models/v1beta2_stateful_set_spec.rb +276 -0
- data/lib/kubernetes/models/v1beta2_stateful_set_status.rb +276 -0
- data/lib/kubernetes/models/v1beta2_stateful_set_update_strategy.rb +199 -0
- data/lib/kubernetes/models/v2alpha1_cron_job.rb +229 -0
- data/lib/kubernetes/models/v2alpha1_cron_job_list.rb +226 -0
- data/lib/kubernetes/models/v2alpha1_cron_job_spec.rb +259 -0
- data/lib/kubernetes/models/v2alpha1_cron_job_status.rb +201 -0
- data/lib/kubernetes/models/v2alpha1_job_template_spec.rb +199 -0
- data/lib/kubernetes/models/v2beta1_cross_version_object_reference.rb +219 -0
- data/lib/kubernetes/models/v2beta1_external_metric_source.rb +224 -0
- data/lib/kubernetes/models/v2beta1_external_metric_status.rb +229 -0
- data/lib/kubernetes/models/v2beta1_horizontal_pod_autoscaler.rb +229 -0
- data/lib/kubernetes/models/v2beta1_horizontal_pod_autoscaler_condition.rb +239 -0
- data/lib/kubernetes/models/v2beta1_horizontal_pod_autoscaler_list.rb +226 -0
- data/lib/kubernetes/models/v2beta1_horizontal_pod_autoscaler_spec.rb +231 -0
- data/lib/kubernetes/models/v2beta1_horizontal_pod_autoscaler_status.rb +258 -0
- data/lib/kubernetes/models/v2beta1_metric_spec.rb +234 -0
- data/lib/kubernetes/models/v2beta1_metric_status.rb +234 -0
- data/lib/kubernetes/models/v2beta1_object_metric_source.rb +244 -0
- data/lib/kubernetes/models/v2beta1_object_metric_status.rb +244 -0
- data/lib/kubernetes/models/v2beta1_pods_metric_source.rb +219 -0
- data/lib/kubernetes/models/v2beta1_pods_metric_status.rb +219 -0
- data/lib/kubernetes/models/v2beta1_resource_metric_source.rb +214 -0
- data/lib/kubernetes/models/v2beta1_resource_metric_status.rb +219 -0
- data/lib/kubernetes/models/v2beta2_cross_version_object_reference.rb +219 -0
- data/lib/kubernetes/models/v2beta2_external_metric_source.rb +209 -0
- data/lib/kubernetes/models/v2beta2_external_metric_status.rb +209 -0
- data/lib/kubernetes/models/v2beta2_horizontal_pod_autoscaler.rb +229 -0
- data/lib/kubernetes/models/v2beta2_horizontal_pod_autoscaler_condition.rb +239 -0
- data/lib/kubernetes/models/v2beta2_horizontal_pod_autoscaler_list.rb +226 -0
- data/lib/kubernetes/models/v2beta2_horizontal_pod_autoscaler_spec.rb +231 -0
- data/lib/kubernetes/models/v2beta2_horizontal_pod_autoscaler_status.rb +258 -0
- data/lib/kubernetes/models/v2beta2_metric_identifier.rb +204 -0
- data/lib/kubernetes/models/v2beta2_metric_spec.rb +234 -0
- data/lib/kubernetes/models/v2beta2_metric_status.rb +234 -0
- data/lib/kubernetes/models/v2beta2_metric_target.rb +224 -0
- data/lib/kubernetes/models/v2beta2_metric_value_status.rb +209 -0
- data/lib/kubernetes/models/v2beta2_object_metric_source.rb +223 -0
- data/lib/kubernetes/models/v2beta2_object_metric_status.rb +223 -0
- data/lib/kubernetes/models/v2beta2_pods_metric_source.rb +209 -0
- data/lib/kubernetes/models/v2beta2_pods_metric_status.rb +209 -0
- data/lib/kubernetes/models/v2beta2_resource_metric_source.rb +209 -0
- data/lib/kubernetes/models/v2beta2_resource_metric_status.rb +209 -0
- data/lib/kubernetes/models/version_info.rb +305 -0
- data/lib/kubernetes/version.rb +15 -0
- data/spec/config/incluster_config_spec.rb +144 -0
- data/spec/config/kube_config_spec.rb +319 -0
- data/spec/config/matchers.rb +29 -0
- data/spec/fixtures/config/kube_config_hash.rb +194 -0
- data/spec/fixtures/files/certs/ca.crt +27 -0
- data/spec/fixtures/files/certs/client.crt +28 -0
- data/spec/fixtures/files/certs/client.key +51 -0
- data/spec/fixtures/files/config/.kube/config +16 -0
- data/spec/fixtures/files/config/config +13 -0
- data/spec/fixtures/files/config/config_2 +15 -0
- data/spec/fixtures/files/config/empty +1 -0
- data/spec/fixtures/files/tokens/token +1 -0
- data/spec/helpers/file_fixtures.rb +41 -0
- data/spec/spec_helper.rb +108 -0
- data/spec/utils_spec.rb +118 -0
- data/spec/watch_spec.rb +36 -0
- data/src/kubernetes/config/error.rb +17 -0
- data/src/kubernetes/config/incluster_config.rb +80 -0
- data/src/kubernetes/config/kube_config.rb +171 -0
- data/src/kubernetes/loader.rb +55 -0
- data/src/kubernetes/utils.rb +92 -0
- data/src/kubernetes/watch.rb +51 -0
- data/swagger.json +89546 -0
- metadata +1541 -0
@@ -0,0 +1,1969 @@
|
|
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 CustomObjectsApi
|
17
|
+
attr_accessor :api_client
|
18
|
+
|
19
|
+
def initialize(api_client = ApiClient.default)
|
20
|
+
@api_client = api_client
|
21
|
+
end
|
22
|
+
|
23
|
+
#
|
24
|
+
# Creates a cluster scoped Custom object
|
25
|
+
# @param group The custom resource's group name
|
26
|
+
# @param version The custom resource's version
|
27
|
+
# @param plural The custom resource's plural name. For TPRs this would be lowercase plural kind.
|
28
|
+
# @param body The JSON schema of the Resource to create.
|
29
|
+
# @param [Hash] opts the optional parameters
|
30
|
+
# @option opts [String] :pretty If 'true', then the output is pretty printed.
|
31
|
+
# @return [Object]
|
32
|
+
def create_cluster_custom_object(group, version, plural, body, opts = {})
|
33
|
+
data, _status_code, _headers = create_cluster_custom_object_with_http_info(group, version, plural, body, opts)
|
34
|
+
return data
|
35
|
+
end
|
36
|
+
|
37
|
+
#
|
38
|
+
# Creates a cluster scoped Custom object
|
39
|
+
# @param group The custom resource's group name
|
40
|
+
# @param version The custom resource's version
|
41
|
+
# @param plural The custom resource's plural name. For TPRs this would be lowercase plural kind.
|
42
|
+
# @param body The JSON schema of the Resource to create.
|
43
|
+
# @param [Hash] opts the optional parameters
|
44
|
+
# @option opts [String] :pretty If 'true', then the output is pretty printed.
|
45
|
+
# @return [Array<(Object, Fixnum, Hash)>] Object data, response status code and response headers
|
46
|
+
def create_cluster_custom_object_with_http_info(group, version, plural, body, opts = {})
|
47
|
+
if @api_client.config.debugging
|
48
|
+
@api_client.config.logger.debug "Calling API: CustomObjectsApi.create_cluster_custom_object ..."
|
49
|
+
end
|
50
|
+
# verify the required parameter 'group' is set
|
51
|
+
if @api_client.config.client_side_validation && group.nil?
|
52
|
+
fail ArgumentError, "Missing the required parameter 'group' when calling CustomObjectsApi.create_cluster_custom_object"
|
53
|
+
end
|
54
|
+
# verify the required parameter 'version' is set
|
55
|
+
if @api_client.config.client_side_validation && version.nil?
|
56
|
+
fail ArgumentError, "Missing the required parameter 'version' when calling CustomObjectsApi.create_cluster_custom_object"
|
57
|
+
end
|
58
|
+
# verify the required parameter 'plural' is set
|
59
|
+
if @api_client.config.client_side_validation && plural.nil?
|
60
|
+
fail ArgumentError, "Missing the required parameter 'plural' when calling CustomObjectsApi.create_cluster_custom_object"
|
61
|
+
end
|
62
|
+
# verify the required parameter 'body' is set
|
63
|
+
if @api_client.config.client_side_validation && body.nil?
|
64
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling CustomObjectsApi.create_cluster_custom_object"
|
65
|
+
end
|
66
|
+
# resource path
|
67
|
+
local_var_path = "/apis/{group}/{version}/{plural}".sub('{' + 'group' + '}', group.to_s).sub('{' + 'version' + '}', version.to_s).sub('{' + 'plural' + '}', plural.to_s)
|
68
|
+
|
69
|
+
# query parameters
|
70
|
+
query_params = {}
|
71
|
+
query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil?
|
72
|
+
|
73
|
+
# header parameters
|
74
|
+
header_params = {}
|
75
|
+
# HTTP header 'Accept' (if needed)
|
76
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
77
|
+
|
78
|
+
# form parameters
|
79
|
+
form_params = {}
|
80
|
+
|
81
|
+
# http body (model)
|
82
|
+
post_body = @api_client.object_to_http_body(body)
|
83
|
+
auth_names = ['BearerToken']
|
84
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
85
|
+
:header_params => header_params,
|
86
|
+
:query_params => query_params,
|
87
|
+
:form_params => form_params,
|
88
|
+
:body => post_body,
|
89
|
+
:auth_names => auth_names,
|
90
|
+
:return_type => 'Object')
|
91
|
+
if @api_client.config.debugging
|
92
|
+
@api_client.config.logger.debug "API called: CustomObjectsApi#create_cluster_custom_object\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
93
|
+
end
|
94
|
+
return data, status_code, headers
|
95
|
+
end
|
96
|
+
|
97
|
+
#
|
98
|
+
# Creates a namespace scoped Custom object
|
99
|
+
# @param group The custom resource's group name
|
100
|
+
# @param version The custom resource's version
|
101
|
+
# @param namespace The custom resource's namespace
|
102
|
+
# @param plural The custom resource's plural name. For TPRs this would be lowercase plural kind.
|
103
|
+
# @param body The JSON schema of the Resource to create.
|
104
|
+
# @param [Hash] opts the optional parameters
|
105
|
+
# @option opts [String] :pretty If 'true', then the output is pretty printed.
|
106
|
+
# @return [Object]
|
107
|
+
def create_namespaced_custom_object(group, version, namespace, plural, body, opts = {})
|
108
|
+
data, _status_code, _headers = create_namespaced_custom_object_with_http_info(group, version, namespace, plural, body, opts)
|
109
|
+
return data
|
110
|
+
end
|
111
|
+
|
112
|
+
#
|
113
|
+
# Creates a namespace scoped Custom object
|
114
|
+
# @param group The custom resource's group name
|
115
|
+
# @param version The custom resource's version
|
116
|
+
# @param namespace The custom resource's namespace
|
117
|
+
# @param plural The custom resource's plural name. For TPRs this would be lowercase plural kind.
|
118
|
+
# @param body The JSON schema of the Resource to create.
|
119
|
+
# @param [Hash] opts the optional parameters
|
120
|
+
# @option opts [String] :pretty If 'true', then the output is pretty printed.
|
121
|
+
# @return [Array<(Object, Fixnum, Hash)>] Object data, response status code and response headers
|
122
|
+
def create_namespaced_custom_object_with_http_info(group, version, namespace, plural, body, opts = {})
|
123
|
+
if @api_client.config.debugging
|
124
|
+
@api_client.config.logger.debug "Calling API: CustomObjectsApi.create_namespaced_custom_object ..."
|
125
|
+
end
|
126
|
+
# verify the required parameter 'group' is set
|
127
|
+
if @api_client.config.client_side_validation && group.nil?
|
128
|
+
fail ArgumentError, "Missing the required parameter 'group' when calling CustomObjectsApi.create_namespaced_custom_object"
|
129
|
+
end
|
130
|
+
# verify the required parameter 'version' is set
|
131
|
+
if @api_client.config.client_side_validation && version.nil?
|
132
|
+
fail ArgumentError, "Missing the required parameter 'version' when calling CustomObjectsApi.create_namespaced_custom_object"
|
133
|
+
end
|
134
|
+
# verify the required parameter 'namespace' is set
|
135
|
+
if @api_client.config.client_side_validation && namespace.nil?
|
136
|
+
fail ArgumentError, "Missing the required parameter 'namespace' when calling CustomObjectsApi.create_namespaced_custom_object"
|
137
|
+
end
|
138
|
+
# verify the required parameter 'plural' is set
|
139
|
+
if @api_client.config.client_side_validation && plural.nil?
|
140
|
+
fail ArgumentError, "Missing the required parameter 'plural' when calling CustomObjectsApi.create_namespaced_custom_object"
|
141
|
+
end
|
142
|
+
# verify the required parameter 'body' is set
|
143
|
+
if @api_client.config.client_side_validation && body.nil?
|
144
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling CustomObjectsApi.create_namespaced_custom_object"
|
145
|
+
end
|
146
|
+
# resource path
|
147
|
+
local_var_path = "/apis/{group}/{version}/namespaces/{namespace}/{plural}".sub('{' + 'group' + '}', group.to_s).sub('{' + 'version' + '}', version.to_s).sub('{' + 'namespace' + '}', namespace.to_s).sub('{' + 'plural' + '}', plural.to_s)
|
148
|
+
|
149
|
+
# query parameters
|
150
|
+
query_params = {}
|
151
|
+
query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil?
|
152
|
+
|
153
|
+
# header parameters
|
154
|
+
header_params = {}
|
155
|
+
# HTTP header 'Accept' (if needed)
|
156
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
157
|
+
|
158
|
+
# form parameters
|
159
|
+
form_params = {}
|
160
|
+
|
161
|
+
# http body (model)
|
162
|
+
post_body = @api_client.object_to_http_body(body)
|
163
|
+
auth_names = ['BearerToken']
|
164
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
165
|
+
:header_params => header_params,
|
166
|
+
:query_params => query_params,
|
167
|
+
:form_params => form_params,
|
168
|
+
:body => post_body,
|
169
|
+
:auth_names => auth_names,
|
170
|
+
:return_type => 'Object')
|
171
|
+
if @api_client.config.debugging
|
172
|
+
@api_client.config.logger.debug "API called: CustomObjectsApi#create_namespaced_custom_object\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
173
|
+
end
|
174
|
+
return data, status_code, headers
|
175
|
+
end
|
176
|
+
|
177
|
+
#
|
178
|
+
# Deletes the specified cluster scoped custom object
|
179
|
+
# @param group the custom resource's group
|
180
|
+
# @param version the custom resource's version
|
181
|
+
# @param plural the custom object's plural name. For TPRs this would be lowercase plural kind.
|
182
|
+
# @param name the custom object's name
|
183
|
+
# @param body
|
184
|
+
# @param [Hash] opts the optional parameters
|
185
|
+
# @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.
|
186
|
+
# @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 \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
|
187
|
+
# @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.
|
188
|
+
# @return [Object]
|
189
|
+
def delete_cluster_custom_object(group, version, plural, name, body, opts = {})
|
190
|
+
data, _status_code, _headers = delete_cluster_custom_object_with_http_info(group, version, plural, name, body, opts)
|
191
|
+
return data
|
192
|
+
end
|
193
|
+
|
194
|
+
#
|
195
|
+
# Deletes the specified cluster scoped custom object
|
196
|
+
# @param group the custom resource's group
|
197
|
+
# @param version the custom resource's version
|
198
|
+
# @param plural the custom object's plural name. For TPRs this would be lowercase plural kind.
|
199
|
+
# @param name the custom object's name
|
200
|
+
# @param body
|
201
|
+
# @param [Hash] opts the optional parameters
|
202
|
+
# @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.
|
203
|
+
# @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 \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
|
204
|
+
# @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.
|
205
|
+
# @return [Array<(Object, Fixnum, Hash)>] Object data, response status code and response headers
|
206
|
+
def delete_cluster_custom_object_with_http_info(group, version, plural, name, body, opts = {})
|
207
|
+
if @api_client.config.debugging
|
208
|
+
@api_client.config.logger.debug "Calling API: CustomObjectsApi.delete_cluster_custom_object ..."
|
209
|
+
end
|
210
|
+
# verify the required parameter 'group' is set
|
211
|
+
if @api_client.config.client_side_validation && group.nil?
|
212
|
+
fail ArgumentError, "Missing the required parameter 'group' when calling CustomObjectsApi.delete_cluster_custom_object"
|
213
|
+
end
|
214
|
+
# verify the required parameter 'version' is set
|
215
|
+
if @api_client.config.client_side_validation && version.nil?
|
216
|
+
fail ArgumentError, "Missing the required parameter 'version' when calling CustomObjectsApi.delete_cluster_custom_object"
|
217
|
+
end
|
218
|
+
# verify the required parameter 'plural' is set
|
219
|
+
if @api_client.config.client_side_validation && plural.nil?
|
220
|
+
fail ArgumentError, "Missing the required parameter 'plural' when calling CustomObjectsApi.delete_cluster_custom_object"
|
221
|
+
end
|
222
|
+
# verify the required parameter 'name' is set
|
223
|
+
if @api_client.config.client_side_validation && name.nil?
|
224
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling CustomObjectsApi.delete_cluster_custom_object"
|
225
|
+
end
|
226
|
+
# verify the required parameter 'body' is set
|
227
|
+
if @api_client.config.client_side_validation && body.nil?
|
228
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling CustomObjectsApi.delete_cluster_custom_object"
|
229
|
+
end
|
230
|
+
# resource path
|
231
|
+
local_var_path = "/apis/{group}/{version}/{plural}/{name}".sub('{' + 'group' + '}', group.to_s).sub('{' + 'version' + '}', version.to_s).sub('{' + 'plural' + '}', plural.to_s).sub('{' + 'name' + '}', name.to_s)
|
232
|
+
|
233
|
+
# query parameters
|
234
|
+
query_params = {}
|
235
|
+
query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil?
|
236
|
+
query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil?
|
237
|
+
query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil?
|
238
|
+
|
239
|
+
# header parameters
|
240
|
+
header_params = {}
|
241
|
+
# HTTP header 'Accept' (if needed)
|
242
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
243
|
+
# HTTP header 'Content-Type'
|
244
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['*/*'])
|
245
|
+
|
246
|
+
# form parameters
|
247
|
+
form_params = {}
|
248
|
+
|
249
|
+
# http body (model)
|
250
|
+
post_body = @api_client.object_to_http_body(body)
|
251
|
+
auth_names = ['BearerToken']
|
252
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
253
|
+
:header_params => header_params,
|
254
|
+
:query_params => query_params,
|
255
|
+
:form_params => form_params,
|
256
|
+
:body => post_body,
|
257
|
+
:auth_names => auth_names,
|
258
|
+
:return_type => 'Object')
|
259
|
+
if @api_client.config.debugging
|
260
|
+
@api_client.config.logger.debug "API called: CustomObjectsApi#delete_cluster_custom_object\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
261
|
+
end
|
262
|
+
return data, status_code, headers
|
263
|
+
end
|
264
|
+
|
265
|
+
#
|
266
|
+
# Deletes the specified namespace scoped custom object
|
267
|
+
# @param group the custom resource's group
|
268
|
+
# @param version the custom resource's version
|
269
|
+
# @param namespace The custom resource's namespace
|
270
|
+
# @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind.
|
271
|
+
# @param name the custom object's name
|
272
|
+
# @param body
|
273
|
+
# @param [Hash] opts the optional parameters
|
274
|
+
# @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.
|
275
|
+
# @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 \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
|
276
|
+
# @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.
|
277
|
+
# @return [Object]
|
278
|
+
def delete_namespaced_custom_object(group, version, namespace, plural, name, body, opts = {})
|
279
|
+
data, _status_code, _headers = delete_namespaced_custom_object_with_http_info(group, version, namespace, plural, name, body, opts)
|
280
|
+
return data
|
281
|
+
end
|
282
|
+
|
283
|
+
#
|
284
|
+
# Deletes the specified namespace scoped custom object
|
285
|
+
# @param group the custom resource's group
|
286
|
+
# @param version the custom resource's version
|
287
|
+
# @param namespace The custom resource's namespace
|
288
|
+
# @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind.
|
289
|
+
# @param name the custom object's name
|
290
|
+
# @param body
|
291
|
+
# @param [Hash] opts the optional parameters
|
292
|
+
# @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.
|
293
|
+
# @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 \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
|
294
|
+
# @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.
|
295
|
+
# @return [Array<(Object, Fixnum, Hash)>] Object data, response status code and response headers
|
296
|
+
def delete_namespaced_custom_object_with_http_info(group, version, namespace, plural, name, body, opts = {})
|
297
|
+
if @api_client.config.debugging
|
298
|
+
@api_client.config.logger.debug "Calling API: CustomObjectsApi.delete_namespaced_custom_object ..."
|
299
|
+
end
|
300
|
+
# verify the required parameter 'group' is set
|
301
|
+
if @api_client.config.client_side_validation && group.nil?
|
302
|
+
fail ArgumentError, "Missing the required parameter 'group' when calling CustomObjectsApi.delete_namespaced_custom_object"
|
303
|
+
end
|
304
|
+
# verify the required parameter 'version' is set
|
305
|
+
if @api_client.config.client_side_validation && version.nil?
|
306
|
+
fail ArgumentError, "Missing the required parameter 'version' when calling CustomObjectsApi.delete_namespaced_custom_object"
|
307
|
+
end
|
308
|
+
# verify the required parameter 'namespace' is set
|
309
|
+
if @api_client.config.client_side_validation && namespace.nil?
|
310
|
+
fail ArgumentError, "Missing the required parameter 'namespace' when calling CustomObjectsApi.delete_namespaced_custom_object"
|
311
|
+
end
|
312
|
+
# verify the required parameter 'plural' is set
|
313
|
+
if @api_client.config.client_side_validation && plural.nil?
|
314
|
+
fail ArgumentError, "Missing the required parameter 'plural' when calling CustomObjectsApi.delete_namespaced_custom_object"
|
315
|
+
end
|
316
|
+
# verify the required parameter 'name' is set
|
317
|
+
if @api_client.config.client_side_validation && name.nil?
|
318
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling CustomObjectsApi.delete_namespaced_custom_object"
|
319
|
+
end
|
320
|
+
# verify the required parameter 'body' is set
|
321
|
+
if @api_client.config.client_side_validation && body.nil?
|
322
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling CustomObjectsApi.delete_namespaced_custom_object"
|
323
|
+
end
|
324
|
+
# resource path
|
325
|
+
local_var_path = "/apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}".sub('{' + 'group' + '}', group.to_s).sub('{' + 'version' + '}', version.to_s).sub('{' + 'namespace' + '}', namespace.to_s).sub('{' + 'plural' + '}', plural.to_s).sub('{' + 'name' + '}', name.to_s)
|
326
|
+
|
327
|
+
# query parameters
|
328
|
+
query_params = {}
|
329
|
+
query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil?
|
330
|
+
query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil?
|
331
|
+
query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil?
|
332
|
+
|
333
|
+
# header parameters
|
334
|
+
header_params = {}
|
335
|
+
# HTTP header 'Accept' (if needed)
|
336
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
337
|
+
# HTTP header 'Content-Type'
|
338
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['*/*'])
|
339
|
+
|
340
|
+
# form parameters
|
341
|
+
form_params = {}
|
342
|
+
|
343
|
+
# http body (model)
|
344
|
+
post_body = @api_client.object_to_http_body(body)
|
345
|
+
auth_names = ['BearerToken']
|
346
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
347
|
+
:header_params => header_params,
|
348
|
+
:query_params => query_params,
|
349
|
+
:form_params => form_params,
|
350
|
+
:body => post_body,
|
351
|
+
:auth_names => auth_names,
|
352
|
+
:return_type => 'Object')
|
353
|
+
if @api_client.config.debugging
|
354
|
+
@api_client.config.logger.debug "API called: CustomObjectsApi#delete_namespaced_custom_object\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
355
|
+
end
|
356
|
+
return data, status_code, headers
|
357
|
+
end
|
358
|
+
|
359
|
+
#
|
360
|
+
# Returns a cluster scoped custom object
|
361
|
+
# @param group the custom resource's group
|
362
|
+
# @param version the custom resource's version
|
363
|
+
# @param plural the custom object's plural name. For TPRs this would be lowercase plural kind.
|
364
|
+
# @param name the custom object's name
|
365
|
+
# @param [Hash] opts the optional parameters
|
366
|
+
# @return [Object]
|
367
|
+
def get_cluster_custom_object(group, version, plural, name, opts = {})
|
368
|
+
data, _status_code, _headers = get_cluster_custom_object_with_http_info(group, version, plural, name, opts)
|
369
|
+
return data
|
370
|
+
end
|
371
|
+
|
372
|
+
#
|
373
|
+
# Returns a cluster scoped custom object
|
374
|
+
# @param group the custom resource's group
|
375
|
+
# @param version the custom resource's version
|
376
|
+
# @param plural the custom object's plural name. For TPRs this would be lowercase plural kind.
|
377
|
+
# @param name the custom object's name
|
378
|
+
# @param [Hash] opts the optional parameters
|
379
|
+
# @return [Array<(Object, Fixnum, Hash)>] Object data, response status code and response headers
|
380
|
+
def get_cluster_custom_object_with_http_info(group, version, plural, name, opts = {})
|
381
|
+
if @api_client.config.debugging
|
382
|
+
@api_client.config.logger.debug "Calling API: CustomObjectsApi.get_cluster_custom_object ..."
|
383
|
+
end
|
384
|
+
# verify the required parameter 'group' is set
|
385
|
+
if @api_client.config.client_side_validation && group.nil?
|
386
|
+
fail ArgumentError, "Missing the required parameter 'group' when calling CustomObjectsApi.get_cluster_custom_object"
|
387
|
+
end
|
388
|
+
# verify the required parameter 'version' is set
|
389
|
+
if @api_client.config.client_side_validation && version.nil?
|
390
|
+
fail ArgumentError, "Missing the required parameter 'version' when calling CustomObjectsApi.get_cluster_custom_object"
|
391
|
+
end
|
392
|
+
# verify the required parameter 'plural' is set
|
393
|
+
if @api_client.config.client_side_validation && plural.nil?
|
394
|
+
fail ArgumentError, "Missing the required parameter 'plural' when calling CustomObjectsApi.get_cluster_custom_object"
|
395
|
+
end
|
396
|
+
# verify the required parameter 'name' is set
|
397
|
+
if @api_client.config.client_side_validation && name.nil?
|
398
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling CustomObjectsApi.get_cluster_custom_object"
|
399
|
+
end
|
400
|
+
# resource path
|
401
|
+
local_var_path = "/apis/{group}/{version}/{plural}/{name}".sub('{' + 'group' + '}', group.to_s).sub('{' + 'version' + '}', version.to_s).sub('{' + 'plural' + '}', plural.to_s).sub('{' + 'name' + '}', name.to_s)
|
402
|
+
|
403
|
+
# query parameters
|
404
|
+
query_params = {}
|
405
|
+
|
406
|
+
# header parameters
|
407
|
+
header_params = {}
|
408
|
+
# HTTP header 'Accept' (if needed)
|
409
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
410
|
+
# HTTP header 'Content-Type'
|
411
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['*/*'])
|
412
|
+
|
413
|
+
# form parameters
|
414
|
+
form_params = {}
|
415
|
+
|
416
|
+
# http body (model)
|
417
|
+
post_body = nil
|
418
|
+
auth_names = ['BearerToken']
|
419
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
420
|
+
:header_params => header_params,
|
421
|
+
:query_params => query_params,
|
422
|
+
:form_params => form_params,
|
423
|
+
:body => post_body,
|
424
|
+
:auth_names => auth_names,
|
425
|
+
:return_type => 'Object')
|
426
|
+
if @api_client.config.debugging
|
427
|
+
@api_client.config.logger.debug "API called: CustomObjectsApi#get_cluster_custom_object\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
428
|
+
end
|
429
|
+
return data, status_code, headers
|
430
|
+
end
|
431
|
+
|
432
|
+
#
|
433
|
+
# read scale of the specified custom object
|
434
|
+
# @param group the custom resource's group
|
435
|
+
# @param version the custom resource's version
|
436
|
+
# @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind.
|
437
|
+
# @param name the custom object's name
|
438
|
+
# @param [Hash] opts the optional parameters
|
439
|
+
# @return [Object]
|
440
|
+
def get_cluster_custom_object_scale(group, version, plural, name, opts = {})
|
441
|
+
data, _status_code, _headers = get_cluster_custom_object_scale_with_http_info(group, version, plural, name, opts)
|
442
|
+
return data
|
443
|
+
end
|
444
|
+
|
445
|
+
#
|
446
|
+
# read scale of the specified custom object
|
447
|
+
# @param group the custom resource's group
|
448
|
+
# @param version the custom resource's version
|
449
|
+
# @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind.
|
450
|
+
# @param name the custom object's name
|
451
|
+
# @param [Hash] opts the optional parameters
|
452
|
+
# @return [Array<(Object, Fixnum, Hash)>] Object data, response status code and response headers
|
453
|
+
def get_cluster_custom_object_scale_with_http_info(group, version, plural, name, opts = {})
|
454
|
+
if @api_client.config.debugging
|
455
|
+
@api_client.config.logger.debug "Calling API: CustomObjectsApi.get_cluster_custom_object_scale ..."
|
456
|
+
end
|
457
|
+
# verify the required parameter 'group' is set
|
458
|
+
if @api_client.config.client_side_validation && group.nil?
|
459
|
+
fail ArgumentError, "Missing the required parameter 'group' when calling CustomObjectsApi.get_cluster_custom_object_scale"
|
460
|
+
end
|
461
|
+
# verify the required parameter 'version' is set
|
462
|
+
if @api_client.config.client_side_validation && version.nil?
|
463
|
+
fail ArgumentError, "Missing the required parameter 'version' when calling CustomObjectsApi.get_cluster_custom_object_scale"
|
464
|
+
end
|
465
|
+
# verify the required parameter 'plural' is set
|
466
|
+
if @api_client.config.client_side_validation && plural.nil?
|
467
|
+
fail ArgumentError, "Missing the required parameter 'plural' when calling CustomObjectsApi.get_cluster_custom_object_scale"
|
468
|
+
end
|
469
|
+
# verify the required parameter 'name' is set
|
470
|
+
if @api_client.config.client_side_validation && name.nil?
|
471
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling CustomObjectsApi.get_cluster_custom_object_scale"
|
472
|
+
end
|
473
|
+
# resource path
|
474
|
+
local_var_path = "/apis/{group}/{version}/{plural}/{name}/scale".sub('{' + 'group' + '}', group.to_s).sub('{' + 'version' + '}', version.to_s).sub('{' + 'plural' + '}', plural.to_s).sub('{' + 'name' + '}', name.to_s)
|
475
|
+
|
476
|
+
# query parameters
|
477
|
+
query_params = {}
|
478
|
+
|
479
|
+
# header parameters
|
480
|
+
header_params = {}
|
481
|
+
# HTTP header 'Accept' (if needed)
|
482
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf'])
|
483
|
+
# HTTP header 'Content-Type'
|
484
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['*/*'])
|
485
|
+
|
486
|
+
# form parameters
|
487
|
+
form_params = {}
|
488
|
+
|
489
|
+
# http body (model)
|
490
|
+
post_body = nil
|
491
|
+
auth_names = ['BearerToken']
|
492
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
493
|
+
:header_params => header_params,
|
494
|
+
:query_params => query_params,
|
495
|
+
:form_params => form_params,
|
496
|
+
:body => post_body,
|
497
|
+
:auth_names => auth_names,
|
498
|
+
:return_type => 'Object')
|
499
|
+
if @api_client.config.debugging
|
500
|
+
@api_client.config.logger.debug "API called: CustomObjectsApi#get_cluster_custom_object_scale\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
501
|
+
end
|
502
|
+
return data, status_code, headers
|
503
|
+
end
|
504
|
+
|
505
|
+
#
|
506
|
+
# read status of the specified cluster scoped custom object
|
507
|
+
# @param group the custom resource's group
|
508
|
+
# @param version the custom resource's version
|
509
|
+
# @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind.
|
510
|
+
# @param name the custom object's name
|
511
|
+
# @param [Hash] opts the optional parameters
|
512
|
+
# @return [Object]
|
513
|
+
def get_cluster_custom_object_status(group, version, plural, name, opts = {})
|
514
|
+
data, _status_code, _headers = get_cluster_custom_object_status_with_http_info(group, version, plural, name, opts)
|
515
|
+
return data
|
516
|
+
end
|
517
|
+
|
518
|
+
#
|
519
|
+
# read status of the specified cluster scoped custom object
|
520
|
+
# @param group the custom resource's group
|
521
|
+
# @param version the custom resource's version
|
522
|
+
# @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind.
|
523
|
+
# @param name the custom object's name
|
524
|
+
# @param [Hash] opts the optional parameters
|
525
|
+
# @return [Array<(Object, Fixnum, Hash)>] Object data, response status code and response headers
|
526
|
+
def get_cluster_custom_object_status_with_http_info(group, version, plural, name, opts = {})
|
527
|
+
if @api_client.config.debugging
|
528
|
+
@api_client.config.logger.debug "Calling API: CustomObjectsApi.get_cluster_custom_object_status ..."
|
529
|
+
end
|
530
|
+
# verify the required parameter 'group' is set
|
531
|
+
if @api_client.config.client_side_validation && group.nil?
|
532
|
+
fail ArgumentError, "Missing the required parameter 'group' when calling CustomObjectsApi.get_cluster_custom_object_status"
|
533
|
+
end
|
534
|
+
# verify the required parameter 'version' is set
|
535
|
+
if @api_client.config.client_side_validation && version.nil?
|
536
|
+
fail ArgumentError, "Missing the required parameter 'version' when calling CustomObjectsApi.get_cluster_custom_object_status"
|
537
|
+
end
|
538
|
+
# verify the required parameter 'plural' is set
|
539
|
+
if @api_client.config.client_side_validation && plural.nil?
|
540
|
+
fail ArgumentError, "Missing the required parameter 'plural' when calling CustomObjectsApi.get_cluster_custom_object_status"
|
541
|
+
end
|
542
|
+
# verify the required parameter 'name' is set
|
543
|
+
if @api_client.config.client_side_validation && name.nil?
|
544
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling CustomObjectsApi.get_cluster_custom_object_status"
|
545
|
+
end
|
546
|
+
# resource path
|
547
|
+
local_var_path = "/apis/{group}/{version}/{plural}/{name}/status".sub('{' + 'group' + '}', group.to_s).sub('{' + 'version' + '}', version.to_s).sub('{' + 'plural' + '}', plural.to_s).sub('{' + 'name' + '}', name.to_s)
|
548
|
+
|
549
|
+
# query parameters
|
550
|
+
query_params = {}
|
551
|
+
|
552
|
+
# header parameters
|
553
|
+
header_params = {}
|
554
|
+
# HTTP header 'Accept' (if needed)
|
555
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf'])
|
556
|
+
# HTTP header 'Content-Type'
|
557
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['*/*'])
|
558
|
+
|
559
|
+
# form parameters
|
560
|
+
form_params = {}
|
561
|
+
|
562
|
+
# http body (model)
|
563
|
+
post_body = nil
|
564
|
+
auth_names = ['BearerToken']
|
565
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
566
|
+
:header_params => header_params,
|
567
|
+
:query_params => query_params,
|
568
|
+
:form_params => form_params,
|
569
|
+
:body => post_body,
|
570
|
+
:auth_names => auth_names,
|
571
|
+
:return_type => 'Object')
|
572
|
+
if @api_client.config.debugging
|
573
|
+
@api_client.config.logger.debug "API called: CustomObjectsApi#get_cluster_custom_object_status\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
574
|
+
end
|
575
|
+
return data, status_code, headers
|
576
|
+
end
|
577
|
+
|
578
|
+
#
|
579
|
+
# Returns a namespace scoped custom object
|
580
|
+
# @param group the custom resource's group
|
581
|
+
# @param version the custom resource's version
|
582
|
+
# @param namespace The custom resource's namespace
|
583
|
+
# @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind.
|
584
|
+
# @param name the custom object's name
|
585
|
+
# @param [Hash] opts the optional parameters
|
586
|
+
# @return [Object]
|
587
|
+
def get_namespaced_custom_object(group, version, namespace, plural, name, opts = {})
|
588
|
+
data, _status_code, _headers = get_namespaced_custom_object_with_http_info(group, version, namespace, plural, name, opts)
|
589
|
+
return data
|
590
|
+
end
|
591
|
+
|
592
|
+
#
|
593
|
+
# Returns a namespace scoped custom object
|
594
|
+
# @param group the custom resource's group
|
595
|
+
# @param version the custom resource's version
|
596
|
+
# @param namespace The custom resource's namespace
|
597
|
+
# @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind.
|
598
|
+
# @param name the custom object's name
|
599
|
+
# @param [Hash] opts the optional parameters
|
600
|
+
# @return [Array<(Object, Fixnum, Hash)>] Object data, response status code and response headers
|
601
|
+
def get_namespaced_custom_object_with_http_info(group, version, namespace, plural, name, opts = {})
|
602
|
+
if @api_client.config.debugging
|
603
|
+
@api_client.config.logger.debug "Calling API: CustomObjectsApi.get_namespaced_custom_object ..."
|
604
|
+
end
|
605
|
+
# verify the required parameter 'group' is set
|
606
|
+
if @api_client.config.client_side_validation && group.nil?
|
607
|
+
fail ArgumentError, "Missing the required parameter 'group' when calling CustomObjectsApi.get_namespaced_custom_object"
|
608
|
+
end
|
609
|
+
# verify the required parameter 'version' is set
|
610
|
+
if @api_client.config.client_side_validation && version.nil?
|
611
|
+
fail ArgumentError, "Missing the required parameter 'version' when calling CustomObjectsApi.get_namespaced_custom_object"
|
612
|
+
end
|
613
|
+
# verify the required parameter 'namespace' is set
|
614
|
+
if @api_client.config.client_side_validation && namespace.nil?
|
615
|
+
fail ArgumentError, "Missing the required parameter 'namespace' when calling CustomObjectsApi.get_namespaced_custom_object"
|
616
|
+
end
|
617
|
+
# verify the required parameter 'plural' is set
|
618
|
+
if @api_client.config.client_side_validation && plural.nil?
|
619
|
+
fail ArgumentError, "Missing the required parameter 'plural' when calling CustomObjectsApi.get_namespaced_custom_object"
|
620
|
+
end
|
621
|
+
# verify the required parameter 'name' is set
|
622
|
+
if @api_client.config.client_side_validation && name.nil?
|
623
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling CustomObjectsApi.get_namespaced_custom_object"
|
624
|
+
end
|
625
|
+
# resource path
|
626
|
+
local_var_path = "/apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}".sub('{' + 'group' + '}', group.to_s).sub('{' + 'version' + '}', version.to_s).sub('{' + 'namespace' + '}', namespace.to_s).sub('{' + 'plural' + '}', plural.to_s).sub('{' + 'name' + '}', name.to_s)
|
627
|
+
|
628
|
+
# query parameters
|
629
|
+
query_params = {}
|
630
|
+
|
631
|
+
# header parameters
|
632
|
+
header_params = {}
|
633
|
+
# HTTP header 'Accept' (if needed)
|
634
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
635
|
+
# HTTP header 'Content-Type'
|
636
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['*/*'])
|
637
|
+
|
638
|
+
# form parameters
|
639
|
+
form_params = {}
|
640
|
+
|
641
|
+
# http body (model)
|
642
|
+
post_body = nil
|
643
|
+
auth_names = ['BearerToken']
|
644
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
645
|
+
:header_params => header_params,
|
646
|
+
:query_params => query_params,
|
647
|
+
:form_params => form_params,
|
648
|
+
:body => post_body,
|
649
|
+
:auth_names => auth_names,
|
650
|
+
:return_type => 'Object')
|
651
|
+
if @api_client.config.debugging
|
652
|
+
@api_client.config.logger.debug "API called: CustomObjectsApi#get_namespaced_custom_object\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
653
|
+
end
|
654
|
+
return data, status_code, headers
|
655
|
+
end
|
656
|
+
|
657
|
+
#
|
658
|
+
# read scale of the specified namespace scoped custom object
|
659
|
+
# @param group the custom resource's group
|
660
|
+
# @param version the custom resource's version
|
661
|
+
# @param namespace The custom resource's namespace
|
662
|
+
# @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind.
|
663
|
+
# @param name the custom object's name
|
664
|
+
# @param [Hash] opts the optional parameters
|
665
|
+
# @return [Object]
|
666
|
+
def get_namespaced_custom_object_scale(group, version, namespace, plural, name, opts = {})
|
667
|
+
data, _status_code, _headers = get_namespaced_custom_object_scale_with_http_info(group, version, namespace, plural, name, opts)
|
668
|
+
return data
|
669
|
+
end
|
670
|
+
|
671
|
+
#
|
672
|
+
# read scale of the specified namespace scoped custom object
|
673
|
+
# @param group the custom resource's group
|
674
|
+
# @param version the custom resource's version
|
675
|
+
# @param namespace The custom resource's namespace
|
676
|
+
# @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind.
|
677
|
+
# @param name the custom object's name
|
678
|
+
# @param [Hash] opts the optional parameters
|
679
|
+
# @return [Array<(Object, Fixnum, Hash)>] Object data, response status code and response headers
|
680
|
+
def get_namespaced_custom_object_scale_with_http_info(group, version, namespace, plural, name, opts = {})
|
681
|
+
if @api_client.config.debugging
|
682
|
+
@api_client.config.logger.debug "Calling API: CustomObjectsApi.get_namespaced_custom_object_scale ..."
|
683
|
+
end
|
684
|
+
# verify the required parameter 'group' is set
|
685
|
+
if @api_client.config.client_side_validation && group.nil?
|
686
|
+
fail ArgumentError, "Missing the required parameter 'group' when calling CustomObjectsApi.get_namespaced_custom_object_scale"
|
687
|
+
end
|
688
|
+
# verify the required parameter 'version' is set
|
689
|
+
if @api_client.config.client_side_validation && version.nil?
|
690
|
+
fail ArgumentError, "Missing the required parameter 'version' when calling CustomObjectsApi.get_namespaced_custom_object_scale"
|
691
|
+
end
|
692
|
+
# verify the required parameter 'namespace' is set
|
693
|
+
if @api_client.config.client_side_validation && namespace.nil?
|
694
|
+
fail ArgumentError, "Missing the required parameter 'namespace' when calling CustomObjectsApi.get_namespaced_custom_object_scale"
|
695
|
+
end
|
696
|
+
# verify the required parameter 'plural' is set
|
697
|
+
if @api_client.config.client_side_validation && plural.nil?
|
698
|
+
fail ArgumentError, "Missing the required parameter 'plural' when calling CustomObjectsApi.get_namespaced_custom_object_scale"
|
699
|
+
end
|
700
|
+
# verify the required parameter 'name' is set
|
701
|
+
if @api_client.config.client_side_validation && name.nil?
|
702
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling CustomObjectsApi.get_namespaced_custom_object_scale"
|
703
|
+
end
|
704
|
+
# resource path
|
705
|
+
local_var_path = "/apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}/scale".sub('{' + 'group' + '}', group.to_s).sub('{' + 'version' + '}', version.to_s).sub('{' + 'namespace' + '}', namespace.to_s).sub('{' + 'plural' + '}', plural.to_s).sub('{' + 'name' + '}', name.to_s)
|
706
|
+
|
707
|
+
# query parameters
|
708
|
+
query_params = {}
|
709
|
+
|
710
|
+
# header parameters
|
711
|
+
header_params = {}
|
712
|
+
# HTTP header 'Accept' (if needed)
|
713
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf'])
|
714
|
+
# HTTP header 'Content-Type'
|
715
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['*/*'])
|
716
|
+
|
717
|
+
# form parameters
|
718
|
+
form_params = {}
|
719
|
+
|
720
|
+
# http body (model)
|
721
|
+
post_body = nil
|
722
|
+
auth_names = ['BearerToken']
|
723
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
724
|
+
:header_params => header_params,
|
725
|
+
:query_params => query_params,
|
726
|
+
:form_params => form_params,
|
727
|
+
:body => post_body,
|
728
|
+
:auth_names => auth_names,
|
729
|
+
:return_type => 'Object')
|
730
|
+
if @api_client.config.debugging
|
731
|
+
@api_client.config.logger.debug "API called: CustomObjectsApi#get_namespaced_custom_object_scale\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
732
|
+
end
|
733
|
+
return data, status_code, headers
|
734
|
+
end
|
735
|
+
|
736
|
+
#
|
737
|
+
# read status of the specified namespace scoped custom object
|
738
|
+
# @param group the custom resource's group
|
739
|
+
# @param version the custom resource's version
|
740
|
+
# @param namespace The custom resource's namespace
|
741
|
+
# @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind.
|
742
|
+
# @param name the custom object's name
|
743
|
+
# @param [Hash] opts the optional parameters
|
744
|
+
# @return [Object]
|
745
|
+
def get_namespaced_custom_object_status(group, version, namespace, plural, name, opts = {})
|
746
|
+
data, _status_code, _headers = get_namespaced_custom_object_status_with_http_info(group, version, namespace, plural, name, opts)
|
747
|
+
return data
|
748
|
+
end
|
749
|
+
|
750
|
+
#
|
751
|
+
# read status of the specified namespace scoped custom object
|
752
|
+
# @param group the custom resource's group
|
753
|
+
# @param version the custom resource's version
|
754
|
+
# @param namespace The custom resource's namespace
|
755
|
+
# @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind.
|
756
|
+
# @param name the custom object's name
|
757
|
+
# @param [Hash] opts the optional parameters
|
758
|
+
# @return [Array<(Object, Fixnum, Hash)>] Object data, response status code and response headers
|
759
|
+
def get_namespaced_custom_object_status_with_http_info(group, version, namespace, plural, name, opts = {})
|
760
|
+
if @api_client.config.debugging
|
761
|
+
@api_client.config.logger.debug "Calling API: CustomObjectsApi.get_namespaced_custom_object_status ..."
|
762
|
+
end
|
763
|
+
# verify the required parameter 'group' is set
|
764
|
+
if @api_client.config.client_side_validation && group.nil?
|
765
|
+
fail ArgumentError, "Missing the required parameter 'group' when calling CustomObjectsApi.get_namespaced_custom_object_status"
|
766
|
+
end
|
767
|
+
# verify the required parameter 'version' is set
|
768
|
+
if @api_client.config.client_side_validation && version.nil?
|
769
|
+
fail ArgumentError, "Missing the required parameter 'version' when calling CustomObjectsApi.get_namespaced_custom_object_status"
|
770
|
+
end
|
771
|
+
# verify the required parameter 'namespace' is set
|
772
|
+
if @api_client.config.client_side_validation && namespace.nil?
|
773
|
+
fail ArgumentError, "Missing the required parameter 'namespace' when calling CustomObjectsApi.get_namespaced_custom_object_status"
|
774
|
+
end
|
775
|
+
# verify the required parameter 'plural' is set
|
776
|
+
if @api_client.config.client_side_validation && plural.nil?
|
777
|
+
fail ArgumentError, "Missing the required parameter 'plural' when calling CustomObjectsApi.get_namespaced_custom_object_status"
|
778
|
+
end
|
779
|
+
# verify the required parameter 'name' is set
|
780
|
+
if @api_client.config.client_side_validation && name.nil?
|
781
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling CustomObjectsApi.get_namespaced_custom_object_status"
|
782
|
+
end
|
783
|
+
# resource path
|
784
|
+
local_var_path = "/apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}/status".sub('{' + 'group' + '}', group.to_s).sub('{' + 'version' + '}', version.to_s).sub('{' + 'namespace' + '}', namespace.to_s).sub('{' + 'plural' + '}', plural.to_s).sub('{' + 'name' + '}', name.to_s)
|
785
|
+
|
786
|
+
# query parameters
|
787
|
+
query_params = {}
|
788
|
+
|
789
|
+
# header parameters
|
790
|
+
header_params = {}
|
791
|
+
# HTTP header 'Accept' (if needed)
|
792
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf'])
|
793
|
+
# HTTP header 'Content-Type'
|
794
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['*/*'])
|
795
|
+
|
796
|
+
# form parameters
|
797
|
+
form_params = {}
|
798
|
+
|
799
|
+
# http body (model)
|
800
|
+
post_body = nil
|
801
|
+
auth_names = ['BearerToken']
|
802
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
803
|
+
:header_params => header_params,
|
804
|
+
:query_params => query_params,
|
805
|
+
:form_params => form_params,
|
806
|
+
:body => post_body,
|
807
|
+
:auth_names => auth_names,
|
808
|
+
:return_type => 'Object')
|
809
|
+
if @api_client.config.debugging
|
810
|
+
@api_client.config.logger.debug "API called: CustomObjectsApi#get_namespaced_custom_object_status\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
811
|
+
end
|
812
|
+
return data, status_code, headers
|
813
|
+
end
|
814
|
+
|
815
|
+
#
|
816
|
+
# list or watch cluster scoped custom objects
|
817
|
+
# @param group The custom resource's group name
|
818
|
+
# @param version The custom resource's version
|
819
|
+
# @param plural The custom resource's plural name. For TPRs this would be lowercase plural kind.
|
820
|
+
# @param [Hash] opts the optional parameters
|
821
|
+
# @option opts [String] :pretty If 'true', then the output is pretty printed.
|
822
|
+
# @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything.
|
823
|
+
# @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'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.
|
824
|
+
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
825
|
+
# @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications.
|
826
|
+
# @return [Object]
|
827
|
+
def list_cluster_custom_object(group, version, plural, opts = {})
|
828
|
+
data, _status_code, _headers = list_cluster_custom_object_with_http_info(group, version, plural, opts)
|
829
|
+
return data
|
830
|
+
end
|
831
|
+
|
832
|
+
#
|
833
|
+
# list or watch cluster scoped custom objects
|
834
|
+
# @param group The custom resource's group name
|
835
|
+
# @param version The custom resource's version
|
836
|
+
# @param plural The custom resource's plural name. For TPRs this would be lowercase plural kind.
|
837
|
+
# @param [Hash] opts the optional parameters
|
838
|
+
# @option opts [String] :pretty If 'true', then the output is pretty printed.
|
839
|
+
# @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything.
|
840
|
+
# @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'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.
|
841
|
+
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
842
|
+
# @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications.
|
843
|
+
# @return [Array<(Object, Fixnum, Hash)>] Object data, response status code and response headers
|
844
|
+
def list_cluster_custom_object_with_http_info(group, version, plural, opts = {})
|
845
|
+
if @api_client.config.debugging
|
846
|
+
@api_client.config.logger.debug "Calling API: CustomObjectsApi.list_cluster_custom_object ..."
|
847
|
+
end
|
848
|
+
# verify the required parameter 'group' is set
|
849
|
+
if @api_client.config.client_side_validation && group.nil?
|
850
|
+
fail ArgumentError, "Missing the required parameter 'group' when calling CustomObjectsApi.list_cluster_custom_object"
|
851
|
+
end
|
852
|
+
# verify the required parameter 'version' is set
|
853
|
+
if @api_client.config.client_side_validation && version.nil?
|
854
|
+
fail ArgumentError, "Missing the required parameter 'version' when calling CustomObjectsApi.list_cluster_custom_object"
|
855
|
+
end
|
856
|
+
# verify the required parameter 'plural' is set
|
857
|
+
if @api_client.config.client_side_validation && plural.nil?
|
858
|
+
fail ArgumentError, "Missing the required parameter 'plural' when calling CustomObjectsApi.list_cluster_custom_object"
|
859
|
+
end
|
860
|
+
# resource path
|
861
|
+
local_var_path = "/apis/{group}/{version}/{plural}".sub('{' + 'group' + '}', group.to_s).sub('{' + 'version' + '}', version.to_s).sub('{' + 'plural' + '}', plural.to_s)
|
862
|
+
|
863
|
+
# query parameters
|
864
|
+
query_params = {}
|
865
|
+
query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil?
|
866
|
+
query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil?
|
867
|
+
query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil?
|
868
|
+
query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil?
|
869
|
+
query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil?
|
870
|
+
|
871
|
+
# header parameters
|
872
|
+
header_params = {}
|
873
|
+
# HTTP header 'Accept' (if needed)
|
874
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/json;stream=watch'])
|
875
|
+
# HTTP header 'Content-Type'
|
876
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['*/*'])
|
877
|
+
|
878
|
+
# form parameters
|
879
|
+
form_params = {}
|
880
|
+
|
881
|
+
# http body (model)
|
882
|
+
post_body = nil
|
883
|
+
auth_names = ['BearerToken']
|
884
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
885
|
+
:header_params => header_params,
|
886
|
+
:query_params => query_params,
|
887
|
+
:form_params => form_params,
|
888
|
+
:body => post_body,
|
889
|
+
:auth_names => auth_names,
|
890
|
+
:return_type => 'Object')
|
891
|
+
if @api_client.config.debugging
|
892
|
+
@api_client.config.logger.debug "API called: CustomObjectsApi#list_cluster_custom_object\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
893
|
+
end
|
894
|
+
return data, status_code, headers
|
895
|
+
end
|
896
|
+
|
897
|
+
#
|
898
|
+
# list or watch namespace scoped custom objects
|
899
|
+
# @param group The custom resource's group name
|
900
|
+
# @param version The custom resource's version
|
901
|
+
# @param namespace The custom resource's namespace
|
902
|
+
# @param plural The custom resource's plural name. For TPRs this would be lowercase plural kind.
|
903
|
+
# @param [Hash] opts the optional parameters
|
904
|
+
# @option opts [String] :pretty If 'true', then the output is pretty printed.
|
905
|
+
# @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything.
|
906
|
+
# @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'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.
|
907
|
+
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
908
|
+
# @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications.
|
909
|
+
# @return [Object]
|
910
|
+
def list_namespaced_custom_object(group, version, namespace, plural, opts = {})
|
911
|
+
data, _status_code, _headers = list_namespaced_custom_object_with_http_info(group, version, namespace, plural, opts)
|
912
|
+
return data
|
913
|
+
end
|
914
|
+
|
915
|
+
#
|
916
|
+
# list or watch namespace scoped custom objects
|
917
|
+
# @param group The custom resource's group name
|
918
|
+
# @param version The custom resource's version
|
919
|
+
# @param namespace The custom resource's namespace
|
920
|
+
# @param plural The custom resource's plural name. For TPRs this would be lowercase plural kind.
|
921
|
+
# @param [Hash] opts the optional parameters
|
922
|
+
# @option opts [String] :pretty If 'true', then the output is pretty printed.
|
923
|
+
# @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything.
|
924
|
+
# @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'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.
|
925
|
+
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
926
|
+
# @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications.
|
927
|
+
# @return [Array<(Object, Fixnum, Hash)>] Object data, response status code and response headers
|
928
|
+
def list_namespaced_custom_object_with_http_info(group, version, namespace, plural, opts = {})
|
929
|
+
if @api_client.config.debugging
|
930
|
+
@api_client.config.logger.debug "Calling API: CustomObjectsApi.list_namespaced_custom_object ..."
|
931
|
+
end
|
932
|
+
# verify the required parameter 'group' is set
|
933
|
+
if @api_client.config.client_side_validation && group.nil?
|
934
|
+
fail ArgumentError, "Missing the required parameter 'group' when calling CustomObjectsApi.list_namespaced_custom_object"
|
935
|
+
end
|
936
|
+
# verify the required parameter 'version' is set
|
937
|
+
if @api_client.config.client_side_validation && version.nil?
|
938
|
+
fail ArgumentError, "Missing the required parameter 'version' when calling CustomObjectsApi.list_namespaced_custom_object"
|
939
|
+
end
|
940
|
+
# verify the required parameter 'namespace' is set
|
941
|
+
if @api_client.config.client_side_validation && namespace.nil?
|
942
|
+
fail ArgumentError, "Missing the required parameter 'namespace' when calling CustomObjectsApi.list_namespaced_custom_object"
|
943
|
+
end
|
944
|
+
# verify the required parameter 'plural' is set
|
945
|
+
if @api_client.config.client_side_validation && plural.nil?
|
946
|
+
fail ArgumentError, "Missing the required parameter 'plural' when calling CustomObjectsApi.list_namespaced_custom_object"
|
947
|
+
end
|
948
|
+
# resource path
|
949
|
+
local_var_path = "/apis/{group}/{version}/namespaces/{namespace}/{plural}".sub('{' + 'group' + '}', group.to_s).sub('{' + 'version' + '}', version.to_s).sub('{' + 'namespace' + '}', namespace.to_s).sub('{' + 'plural' + '}', plural.to_s)
|
950
|
+
|
951
|
+
# query parameters
|
952
|
+
query_params = {}
|
953
|
+
query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil?
|
954
|
+
query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil?
|
955
|
+
query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil?
|
956
|
+
query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil?
|
957
|
+
query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil?
|
958
|
+
|
959
|
+
# header parameters
|
960
|
+
header_params = {}
|
961
|
+
# HTTP header 'Accept' (if needed)
|
962
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/json;stream=watch'])
|
963
|
+
# HTTP header 'Content-Type'
|
964
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['*/*'])
|
965
|
+
|
966
|
+
# form parameters
|
967
|
+
form_params = {}
|
968
|
+
|
969
|
+
# http body (model)
|
970
|
+
post_body = nil
|
971
|
+
auth_names = ['BearerToken']
|
972
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
973
|
+
:header_params => header_params,
|
974
|
+
:query_params => query_params,
|
975
|
+
:form_params => form_params,
|
976
|
+
:body => post_body,
|
977
|
+
:auth_names => auth_names,
|
978
|
+
:return_type => 'Object')
|
979
|
+
if @api_client.config.debugging
|
980
|
+
@api_client.config.logger.debug "API called: CustomObjectsApi#list_namespaced_custom_object\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
981
|
+
end
|
982
|
+
return data, status_code, headers
|
983
|
+
end
|
984
|
+
|
985
|
+
#
|
986
|
+
# patch the specified cluster scoped custom object
|
987
|
+
# @param group the custom resource's group
|
988
|
+
# @param version the custom resource's version
|
989
|
+
# @param plural the custom object's plural name. For TPRs this would be lowercase plural kind.
|
990
|
+
# @param name the custom object's name
|
991
|
+
# @param body The JSON schema of the Resource to patch.
|
992
|
+
# @param [Hash] opts the optional parameters
|
993
|
+
# @return [Object]
|
994
|
+
def patch_cluster_custom_object(group, version, plural, name, body, opts = {})
|
995
|
+
data, _status_code, _headers = patch_cluster_custom_object_with_http_info(group, version, plural, name, body, opts)
|
996
|
+
return data
|
997
|
+
end
|
998
|
+
|
999
|
+
#
|
1000
|
+
# patch the specified cluster scoped custom object
|
1001
|
+
# @param group the custom resource's group
|
1002
|
+
# @param version the custom resource's version
|
1003
|
+
# @param plural the custom object's plural name. For TPRs this would be lowercase plural kind.
|
1004
|
+
# @param name the custom object's name
|
1005
|
+
# @param body The JSON schema of the Resource to patch.
|
1006
|
+
# @param [Hash] opts the optional parameters
|
1007
|
+
# @return [Array<(Object, Fixnum, Hash)>] Object data, response status code and response headers
|
1008
|
+
def patch_cluster_custom_object_with_http_info(group, version, plural, name, body, opts = {})
|
1009
|
+
if @api_client.config.debugging
|
1010
|
+
@api_client.config.logger.debug "Calling API: CustomObjectsApi.patch_cluster_custom_object ..."
|
1011
|
+
end
|
1012
|
+
# verify the required parameter 'group' is set
|
1013
|
+
if @api_client.config.client_side_validation && group.nil?
|
1014
|
+
fail ArgumentError, "Missing the required parameter 'group' when calling CustomObjectsApi.patch_cluster_custom_object"
|
1015
|
+
end
|
1016
|
+
# verify the required parameter 'version' is set
|
1017
|
+
if @api_client.config.client_side_validation && version.nil?
|
1018
|
+
fail ArgumentError, "Missing the required parameter 'version' when calling CustomObjectsApi.patch_cluster_custom_object"
|
1019
|
+
end
|
1020
|
+
# verify the required parameter 'plural' is set
|
1021
|
+
if @api_client.config.client_side_validation && plural.nil?
|
1022
|
+
fail ArgumentError, "Missing the required parameter 'plural' when calling CustomObjectsApi.patch_cluster_custom_object"
|
1023
|
+
end
|
1024
|
+
# verify the required parameter 'name' is set
|
1025
|
+
if @api_client.config.client_side_validation && name.nil?
|
1026
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling CustomObjectsApi.patch_cluster_custom_object"
|
1027
|
+
end
|
1028
|
+
# verify the required parameter 'body' is set
|
1029
|
+
if @api_client.config.client_side_validation && body.nil?
|
1030
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling CustomObjectsApi.patch_cluster_custom_object"
|
1031
|
+
end
|
1032
|
+
# resource path
|
1033
|
+
local_var_path = "/apis/{group}/{version}/{plural}/{name}".sub('{' + 'group' + '}', group.to_s).sub('{' + 'version' + '}', version.to_s).sub('{' + 'plural' + '}', plural.to_s).sub('{' + 'name' + '}', name.to_s)
|
1034
|
+
|
1035
|
+
# query parameters
|
1036
|
+
query_params = {}
|
1037
|
+
|
1038
|
+
# header parameters
|
1039
|
+
header_params = {}
|
1040
|
+
# HTTP header 'Accept' (if needed)
|
1041
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1042
|
+
# HTTP header 'Content-Type'
|
1043
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/merge-patch+json'])
|
1044
|
+
|
1045
|
+
# form parameters
|
1046
|
+
form_params = {}
|
1047
|
+
|
1048
|
+
# http body (model)
|
1049
|
+
post_body = @api_client.object_to_http_body(body)
|
1050
|
+
auth_names = ['BearerToken']
|
1051
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
1052
|
+
:header_params => header_params,
|
1053
|
+
:query_params => query_params,
|
1054
|
+
:form_params => form_params,
|
1055
|
+
:body => post_body,
|
1056
|
+
:auth_names => auth_names,
|
1057
|
+
:return_type => 'Object')
|
1058
|
+
if @api_client.config.debugging
|
1059
|
+
@api_client.config.logger.debug "API called: CustomObjectsApi#patch_cluster_custom_object\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1060
|
+
end
|
1061
|
+
return data, status_code, headers
|
1062
|
+
end
|
1063
|
+
|
1064
|
+
#
|
1065
|
+
# partially update scale of the specified cluster scoped custom object
|
1066
|
+
# @param group the custom resource's group
|
1067
|
+
# @param version the custom resource's version
|
1068
|
+
# @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind.
|
1069
|
+
# @param name the custom object's name
|
1070
|
+
# @param body
|
1071
|
+
# @param [Hash] opts the optional parameters
|
1072
|
+
# @return [Object]
|
1073
|
+
def patch_cluster_custom_object_scale(group, version, plural, name, body, opts = {})
|
1074
|
+
data, _status_code, _headers = patch_cluster_custom_object_scale_with_http_info(group, version, plural, name, body, opts)
|
1075
|
+
return data
|
1076
|
+
end
|
1077
|
+
|
1078
|
+
#
|
1079
|
+
# partially update scale of the specified cluster scoped custom object
|
1080
|
+
# @param group the custom resource's group
|
1081
|
+
# @param version the custom resource's version
|
1082
|
+
# @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind.
|
1083
|
+
# @param name the custom object's name
|
1084
|
+
# @param body
|
1085
|
+
# @param [Hash] opts the optional parameters
|
1086
|
+
# @return [Array<(Object, Fixnum, Hash)>] Object data, response status code and response headers
|
1087
|
+
def patch_cluster_custom_object_scale_with_http_info(group, version, plural, name, body, opts = {})
|
1088
|
+
if @api_client.config.debugging
|
1089
|
+
@api_client.config.logger.debug "Calling API: CustomObjectsApi.patch_cluster_custom_object_scale ..."
|
1090
|
+
end
|
1091
|
+
# verify the required parameter 'group' is set
|
1092
|
+
if @api_client.config.client_side_validation && group.nil?
|
1093
|
+
fail ArgumentError, "Missing the required parameter 'group' when calling CustomObjectsApi.patch_cluster_custom_object_scale"
|
1094
|
+
end
|
1095
|
+
# verify the required parameter 'version' is set
|
1096
|
+
if @api_client.config.client_side_validation && version.nil?
|
1097
|
+
fail ArgumentError, "Missing the required parameter 'version' when calling CustomObjectsApi.patch_cluster_custom_object_scale"
|
1098
|
+
end
|
1099
|
+
# verify the required parameter 'plural' is set
|
1100
|
+
if @api_client.config.client_side_validation && plural.nil?
|
1101
|
+
fail ArgumentError, "Missing the required parameter 'plural' when calling CustomObjectsApi.patch_cluster_custom_object_scale"
|
1102
|
+
end
|
1103
|
+
# verify the required parameter 'name' is set
|
1104
|
+
if @api_client.config.client_side_validation && name.nil?
|
1105
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling CustomObjectsApi.patch_cluster_custom_object_scale"
|
1106
|
+
end
|
1107
|
+
# verify the required parameter 'body' is set
|
1108
|
+
if @api_client.config.client_side_validation && body.nil?
|
1109
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling CustomObjectsApi.patch_cluster_custom_object_scale"
|
1110
|
+
end
|
1111
|
+
# resource path
|
1112
|
+
local_var_path = "/apis/{group}/{version}/{plural}/{name}/scale".sub('{' + 'group' + '}', group.to_s).sub('{' + 'version' + '}', version.to_s).sub('{' + 'plural' + '}', plural.to_s).sub('{' + 'name' + '}', name.to_s)
|
1113
|
+
|
1114
|
+
# query parameters
|
1115
|
+
query_params = {}
|
1116
|
+
|
1117
|
+
# header parameters
|
1118
|
+
header_params = {}
|
1119
|
+
# HTTP header 'Accept' (if needed)
|
1120
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf'])
|
1121
|
+
# HTTP header 'Content-Type'
|
1122
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/merge-patch+json'])
|
1123
|
+
|
1124
|
+
# form parameters
|
1125
|
+
form_params = {}
|
1126
|
+
|
1127
|
+
# http body (model)
|
1128
|
+
post_body = @api_client.object_to_http_body(body)
|
1129
|
+
auth_names = ['BearerToken']
|
1130
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
1131
|
+
:header_params => header_params,
|
1132
|
+
:query_params => query_params,
|
1133
|
+
:form_params => form_params,
|
1134
|
+
:body => post_body,
|
1135
|
+
:auth_names => auth_names,
|
1136
|
+
:return_type => 'Object')
|
1137
|
+
if @api_client.config.debugging
|
1138
|
+
@api_client.config.logger.debug "API called: CustomObjectsApi#patch_cluster_custom_object_scale\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1139
|
+
end
|
1140
|
+
return data, status_code, headers
|
1141
|
+
end
|
1142
|
+
|
1143
|
+
#
|
1144
|
+
# partially update status of the specified cluster scoped custom object
|
1145
|
+
# @param group the custom resource's group
|
1146
|
+
# @param version the custom resource's version
|
1147
|
+
# @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind.
|
1148
|
+
# @param name the custom object's name
|
1149
|
+
# @param body
|
1150
|
+
# @param [Hash] opts the optional parameters
|
1151
|
+
# @return [Object]
|
1152
|
+
def patch_cluster_custom_object_status(group, version, plural, name, body, opts = {})
|
1153
|
+
data, _status_code, _headers = patch_cluster_custom_object_status_with_http_info(group, version, plural, name, body, opts)
|
1154
|
+
return data
|
1155
|
+
end
|
1156
|
+
|
1157
|
+
#
|
1158
|
+
# partially update status of the specified cluster scoped custom object
|
1159
|
+
# @param group the custom resource's group
|
1160
|
+
# @param version the custom resource's version
|
1161
|
+
# @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind.
|
1162
|
+
# @param name the custom object's name
|
1163
|
+
# @param body
|
1164
|
+
# @param [Hash] opts the optional parameters
|
1165
|
+
# @return [Array<(Object, Fixnum, Hash)>] Object data, response status code and response headers
|
1166
|
+
def patch_cluster_custom_object_status_with_http_info(group, version, plural, name, body, opts = {})
|
1167
|
+
if @api_client.config.debugging
|
1168
|
+
@api_client.config.logger.debug "Calling API: CustomObjectsApi.patch_cluster_custom_object_status ..."
|
1169
|
+
end
|
1170
|
+
# verify the required parameter 'group' is set
|
1171
|
+
if @api_client.config.client_side_validation && group.nil?
|
1172
|
+
fail ArgumentError, "Missing the required parameter 'group' when calling CustomObjectsApi.patch_cluster_custom_object_status"
|
1173
|
+
end
|
1174
|
+
# verify the required parameter 'version' is set
|
1175
|
+
if @api_client.config.client_side_validation && version.nil?
|
1176
|
+
fail ArgumentError, "Missing the required parameter 'version' when calling CustomObjectsApi.patch_cluster_custom_object_status"
|
1177
|
+
end
|
1178
|
+
# verify the required parameter 'plural' is set
|
1179
|
+
if @api_client.config.client_side_validation && plural.nil?
|
1180
|
+
fail ArgumentError, "Missing the required parameter 'plural' when calling CustomObjectsApi.patch_cluster_custom_object_status"
|
1181
|
+
end
|
1182
|
+
# verify the required parameter 'name' is set
|
1183
|
+
if @api_client.config.client_side_validation && name.nil?
|
1184
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling CustomObjectsApi.patch_cluster_custom_object_status"
|
1185
|
+
end
|
1186
|
+
# verify the required parameter 'body' is set
|
1187
|
+
if @api_client.config.client_side_validation && body.nil?
|
1188
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling CustomObjectsApi.patch_cluster_custom_object_status"
|
1189
|
+
end
|
1190
|
+
# resource path
|
1191
|
+
local_var_path = "/apis/{group}/{version}/{plural}/{name}/status".sub('{' + 'group' + '}', group.to_s).sub('{' + 'version' + '}', version.to_s).sub('{' + 'plural' + '}', plural.to_s).sub('{' + 'name' + '}', name.to_s)
|
1192
|
+
|
1193
|
+
# query parameters
|
1194
|
+
query_params = {}
|
1195
|
+
|
1196
|
+
# header parameters
|
1197
|
+
header_params = {}
|
1198
|
+
# HTTP header 'Accept' (if needed)
|
1199
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf'])
|
1200
|
+
# HTTP header 'Content-Type'
|
1201
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/merge-patch+json'])
|
1202
|
+
|
1203
|
+
# form parameters
|
1204
|
+
form_params = {}
|
1205
|
+
|
1206
|
+
# http body (model)
|
1207
|
+
post_body = @api_client.object_to_http_body(body)
|
1208
|
+
auth_names = ['BearerToken']
|
1209
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
1210
|
+
:header_params => header_params,
|
1211
|
+
:query_params => query_params,
|
1212
|
+
:form_params => form_params,
|
1213
|
+
:body => post_body,
|
1214
|
+
:auth_names => auth_names,
|
1215
|
+
:return_type => 'Object')
|
1216
|
+
if @api_client.config.debugging
|
1217
|
+
@api_client.config.logger.debug "API called: CustomObjectsApi#patch_cluster_custom_object_status\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1218
|
+
end
|
1219
|
+
return data, status_code, headers
|
1220
|
+
end
|
1221
|
+
|
1222
|
+
#
|
1223
|
+
# patch the specified namespace scoped custom object
|
1224
|
+
# @param group the custom resource's group
|
1225
|
+
# @param version the custom resource's version
|
1226
|
+
# @param namespace The custom resource's namespace
|
1227
|
+
# @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind.
|
1228
|
+
# @param name the custom object's name
|
1229
|
+
# @param body The JSON schema of the Resource to patch.
|
1230
|
+
# @param [Hash] opts the optional parameters
|
1231
|
+
# @return [Object]
|
1232
|
+
def patch_namespaced_custom_object(group, version, namespace, plural, name, body, opts = {})
|
1233
|
+
data, _status_code, _headers = patch_namespaced_custom_object_with_http_info(group, version, namespace, plural, name, body, opts)
|
1234
|
+
return data
|
1235
|
+
end
|
1236
|
+
|
1237
|
+
#
|
1238
|
+
# patch the specified namespace scoped custom object
|
1239
|
+
# @param group the custom resource's group
|
1240
|
+
# @param version the custom resource's version
|
1241
|
+
# @param namespace The custom resource's namespace
|
1242
|
+
# @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind.
|
1243
|
+
# @param name the custom object's name
|
1244
|
+
# @param body The JSON schema of the Resource to patch.
|
1245
|
+
# @param [Hash] opts the optional parameters
|
1246
|
+
# @return [Array<(Object, Fixnum, Hash)>] Object data, response status code and response headers
|
1247
|
+
def patch_namespaced_custom_object_with_http_info(group, version, namespace, plural, name, body, opts = {})
|
1248
|
+
if @api_client.config.debugging
|
1249
|
+
@api_client.config.logger.debug "Calling API: CustomObjectsApi.patch_namespaced_custom_object ..."
|
1250
|
+
end
|
1251
|
+
# verify the required parameter 'group' is set
|
1252
|
+
if @api_client.config.client_side_validation && group.nil?
|
1253
|
+
fail ArgumentError, "Missing the required parameter 'group' when calling CustomObjectsApi.patch_namespaced_custom_object"
|
1254
|
+
end
|
1255
|
+
# verify the required parameter 'version' is set
|
1256
|
+
if @api_client.config.client_side_validation && version.nil?
|
1257
|
+
fail ArgumentError, "Missing the required parameter 'version' when calling CustomObjectsApi.patch_namespaced_custom_object"
|
1258
|
+
end
|
1259
|
+
# verify the required parameter 'namespace' is set
|
1260
|
+
if @api_client.config.client_side_validation && namespace.nil?
|
1261
|
+
fail ArgumentError, "Missing the required parameter 'namespace' when calling CustomObjectsApi.patch_namespaced_custom_object"
|
1262
|
+
end
|
1263
|
+
# verify the required parameter 'plural' is set
|
1264
|
+
if @api_client.config.client_side_validation && plural.nil?
|
1265
|
+
fail ArgumentError, "Missing the required parameter 'plural' when calling CustomObjectsApi.patch_namespaced_custom_object"
|
1266
|
+
end
|
1267
|
+
# verify the required parameter 'name' is set
|
1268
|
+
if @api_client.config.client_side_validation && name.nil?
|
1269
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling CustomObjectsApi.patch_namespaced_custom_object"
|
1270
|
+
end
|
1271
|
+
# verify the required parameter 'body' is set
|
1272
|
+
if @api_client.config.client_side_validation && body.nil?
|
1273
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling CustomObjectsApi.patch_namespaced_custom_object"
|
1274
|
+
end
|
1275
|
+
# resource path
|
1276
|
+
local_var_path = "/apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}".sub('{' + 'group' + '}', group.to_s).sub('{' + 'version' + '}', version.to_s).sub('{' + 'namespace' + '}', namespace.to_s).sub('{' + 'plural' + '}', plural.to_s).sub('{' + 'name' + '}', name.to_s)
|
1277
|
+
|
1278
|
+
# query parameters
|
1279
|
+
query_params = {}
|
1280
|
+
|
1281
|
+
# header parameters
|
1282
|
+
header_params = {}
|
1283
|
+
# HTTP header 'Accept' (if needed)
|
1284
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1285
|
+
# HTTP header 'Content-Type'
|
1286
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/merge-patch+json'])
|
1287
|
+
|
1288
|
+
# form parameters
|
1289
|
+
form_params = {}
|
1290
|
+
|
1291
|
+
# http body (model)
|
1292
|
+
post_body = @api_client.object_to_http_body(body)
|
1293
|
+
auth_names = ['BearerToken']
|
1294
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
1295
|
+
:header_params => header_params,
|
1296
|
+
:query_params => query_params,
|
1297
|
+
:form_params => form_params,
|
1298
|
+
:body => post_body,
|
1299
|
+
:auth_names => auth_names,
|
1300
|
+
:return_type => 'Object')
|
1301
|
+
if @api_client.config.debugging
|
1302
|
+
@api_client.config.logger.debug "API called: CustomObjectsApi#patch_namespaced_custom_object\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1303
|
+
end
|
1304
|
+
return data, status_code, headers
|
1305
|
+
end
|
1306
|
+
|
1307
|
+
#
|
1308
|
+
# partially update scale of the specified namespace scoped custom object
|
1309
|
+
# @param group the custom resource's group
|
1310
|
+
# @param version the custom resource's version
|
1311
|
+
# @param namespace The custom resource's namespace
|
1312
|
+
# @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind.
|
1313
|
+
# @param name the custom object's name
|
1314
|
+
# @param body
|
1315
|
+
# @param [Hash] opts the optional parameters
|
1316
|
+
# @return [Object]
|
1317
|
+
def patch_namespaced_custom_object_scale(group, version, namespace, plural, name, body, opts = {})
|
1318
|
+
data, _status_code, _headers = patch_namespaced_custom_object_scale_with_http_info(group, version, namespace, plural, name, body, opts)
|
1319
|
+
return data
|
1320
|
+
end
|
1321
|
+
|
1322
|
+
#
|
1323
|
+
# partially update scale of the specified namespace scoped custom object
|
1324
|
+
# @param group the custom resource's group
|
1325
|
+
# @param version the custom resource's version
|
1326
|
+
# @param namespace The custom resource's namespace
|
1327
|
+
# @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind.
|
1328
|
+
# @param name the custom object's name
|
1329
|
+
# @param body
|
1330
|
+
# @param [Hash] opts the optional parameters
|
1331
|
+
# @return [Array<(Object, Fixnum, Hash)>] Object data, response status code and response headers
|
1332
|
+
def patch_namespaced_custom_object_scale_with_http_info(group, version, namespace, plural, name, body, opts = {})
|
1333
|
+
if @api_client.config.debugging
|
1334
|
+
@api_client.config.logger.debug "Calling API: CustomObjectsApi.patch_namespaced_custom_object_scale ..."
|
1335
|
+
end
|
1336
|
+
# verify the required parameter 'group' is set
|
1337
|
+
if @api_client.config.client_side_validation && group.nil?
|
1338
|
+
fail ArgumentError, "Missing the required parameter 'group' when calling CustomObjectsApi.patch_namespaced_custom_object_scale"
|
1339
|
+
end
|
1340
|
+
# verify the required parameter 'version' is set
|
1341
|
+
if @api_client.config.client_side_validation && version.nil?
|
1342
|
+
fail ArgumentError, "Missing the required parameter 'version' when calling CustomObjectsApi.patch_namespaced_custom_object_scale"
|
1343
|
+
end
|
1344
|
+
# verify the required parameter 'namespace' is set
|
1345
|
+
if @api_client.config.client_side_validation && namespace.nil?
|
1346
|
+
fail ArgumentError, "Missing the required parameter 'namespace' when calling CustomObjectsApi.patch_namespaced_custom_object_scale"
|
1347
|
+
end
|
1348
|
+
# verify the required parameter 'plural' is set
|
1349
|
+
if @api_client.config.client_side_validation && plural.nil?
|
1350
|
+
fail ArgumentError, "Missing the required parameter 'plural' when calling CustomObjectsApi.patch_namespaced_custom_object_scale"
|
1351
|
+
end
|
1352
|
+
# verify the required parameter 'name' is set
|
1353
|
+
if @api_client.config.client_side_validation && name.nil?
|
1354
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling CustomObjectsApi.patch_namespaced_custom_object_scale"
|
1355
|
+
end
|
1356
|
+
# verify the required parameter 'body' is set
|
1357
|
+
if @api_client.config.client_side_validation && body.nil?
|
1358
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling CustomObjectsApi.patch_namespaced_custom_object_scale"
|
1359
|
+
end
|
1360
|
+
# resource path
|
1361
|
+
local_var_path = "/apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}/scale".sub('{' + 'group' + '}', group.to_s).sub('{' + 'version' + '}', version.to_s).sub('{' + 'namespace' + '}', namespace.to_s).sub('{' + 'plural' + '}', plural.to_s).sub('{' + 'name' + '}', name.to_s)
|
1362
|
+
|
1363
|
+
# query parameters
|
1364
|
+
query_params = {}
|
1365
|
+
|
1366
|
+
# header parameters
|
1367
|
+
header_params = {}
|
1368
|
+
# HTTP header 'Accept' (if needed)
|
1369
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf'])
|
1370
|
+
# HTTP header 'Content-Type'
|
1371
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/merge-patch+json'])
|
1372
|
+
|
1373
|
+
# form parameters
|
1374
|
+
form_params = {}
|
1375
|
+
|
1376
|
+
# http body (model)
|
1377
|
+
post_body = @api_client.object_to_http_body(body)
|
1378
|
+
auth_names = ['BearerToken']
|
1379
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
1380
|
+
:header_params => header_params,
|
1381
|
+
:query_params => query_params,
|
1382
|
+
:form_params => form_params,
|
1383
|
+
:body => post_body,
|
1384
|
+
:auth_names => auth_names,
|
1385
|
+
:return_type => 'Object')
|
1386
|
+
if @api_client.config.debugging
|
1387
|
+
@api_client.config.logger.debug "API called: CustomObjectsApi#patch_namespaced_custom_object_scale\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1388
|
+
end
|
1389
|
+
return data, status_code, headers
|
1390
|
+
end
|
1391
|
+
|
1392
|
+
#
|
1393
|
+
# partially update status of the specified namespace scoped custom object
|
1394
|
+
# @param group the custom resource's group
|
1395
|
+
# @param version the custom resource's version
|
1396
|
+
# @param namespace The custom resource's namespace
|
1397
|
+
# @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind.
|
1398
|
+
# @param name the custom object's name
|
1399
|
+
# @param body
|
1400
|
+
# @param [Hash] opts the optional parameters
|
1401
|
+
# @return [Object]
|
1402
|
+
def patch_namespaced_custom_object_status(group, version, namespace, plural, name, body, opts = {})
|
1403
|
+
data, _status_code, _headers = patch_namespaced_custom_object_status_with_http_info(group, version, namespace, plural, name, body, opts)
|
1404
|
+
return data
|
1405
|
+
end
|
1406
|
+
|
1407
|
+
#
|
1408
|
+
# partially update status of the specified namespace scoped custom object
|
1409
|
+
# @param group the custom resource's group
|
1410
|
+
# @param version the custom resource's version
|
1411
|
+
# @param namespace The custom resource's namespace
|
1412
|
+
# @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind.
|
1413
|
+
# @param name the custom object's name
|
1414
|
+
# @param body
|
1415
|
+
# @param [Hash] opts the optional parameters
|
1416
|
+
# @return [Array<(Object, Fixnum, Hash)>] Object data, response status code and response headers
|
1417
|
+
def patch_namespaced_custom_object_status_with_http_info(group, version, namespace, plural, name, body, opts = {})
|
1418
|
+
if @api_client.config.debugging
|
1419
|
+
@api_client.config.logger.debug "Calling API: CustomObjectsApi.patch_namespaced_custom_object_status ..."
|
1420
|
+
end
|
1421
|
+
# verify the required parameter 'group' is set
|
1422
|
+
if @api_client.config.client_side_validation && group.nil?
|
1423
|
+
fail ArgumentError, "Missing the required parameter 'group' when calling CustomObjectsApi.patch_namespaced_custom_object_status"
|
1424
|
+
end
|
1425
|
+
# verify the required parameter 'version' is set
|
1426
|
+
if @api_client.config.client_side_validation && version.nil?
|
1427
|
+
fail ArgumentError, "Missing the required parameter 'version' when calling CustomObjectsApi.patch_namespaced_custom_object_status"
|
1428
|
+
end
|
1429
|
+
# verify the required parameter 'namespace' is set
|
1430
|
+
if @api_client.config.client_side_validation && namespace.nil?
|
1431
|
+
fail ArgumentError, "Missing the required parameter 'namespace' when calling CustomObjectsApi.patch_namespaced_custom_object_status"
|
1432
|
+
end
|
1433
|
+
# verify the required parameter 'plural' is set
|
1434
|
+
if @api_client.config.client_side_validation && plural.nil?
|
1435
|
+
fail ArgumentError, "Missing the required parameter 'plural' when calling CustomObjectsApi.patch_namespaced_custom_object_status"
|
1436
|
+
end
|
1437
|
+
# verify the required parameter 'name' is set
|
1438
|
+
if @api_client.config.client_side_validation && name.nil?
|
1439
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling CustomObjectsApi.patch_namespaced_custom_object_status"
|
1440
|
+
end
|
1441
|
+
# verify the required parameter 'body' is set
|
1442
|
+
if @api_client.config.client_side_validation && body.nil?
|
1443
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling CustomObjectsApi.patch_namespaced_custom_object_status"
|
1444
|
+
end
|
1445
|
+
# resource path
|
1446
|
+
local_var_path = "/apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}/status".sub('{' + 'group' + '}', group.to_s).sub('{' + 'version' + '}', version.to_s).sub('{' + 'namespace' + '}', namespace.to_s).sub('{' + 'plural' + '}', plural.to_s).sub('{' + 'name' + '}', name.to_s)
|
1447
|
+
|
1448
|
+
# query parameters
|
1449
|
+
query_params = {}
|
1450
|
+
|
1451
|
+
# header parameters
|
1452
|
+
header_params = {}
|
1453
|
+
# HTTP header 'Accept' (if needed)
|
1454
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf'])
|
1455
|
+
# HTTP header 'Content-Type'
|
1456
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/merge-patch+json'])
|
1457
|
+
|
1458
|
+
# form parameters
|
1459
|
+
form_params = {}
|
1460
|
+
|
1461
|
+
# http body (model)
|
1462
|
+
post_body = @api_client.object_to_http_body(body)
|
1463
|
+
auth_names = ['BearerToken']
|
1464
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
1465
|
+
:header_params => header_params,
|
1466
|
+
:query_params => query_params,
|
1467
|
+
:form_params => form_params,
|
1468
|
+
:body => post_body,
|
1469
|
+
:auth_names => auth_names,
|
1470
|
+
:return_type => 'Object')
|
1471
|
+
if @api_client.config.debugging
|
1472
|
+
@api_client.config.logger.debug "API called: CustomObjectsApi#patch_namespaced_custom_object_status\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1473
|
+
end
|
1474
|
+
return data, status_code, headers
|
1475
|
+
end
|
1476
|
+
|
1477
|
+
#
|
1478
|
+
# replace the specified cluster scoped custom object
|
1479
|
+
# @param group the custom resource's group
|
1480
|
+
# @param version the custom resource's version
|
1481
|
+
# @param plural the custom object's plural name. For TPRs this would be lowercase plural kind.
|
1482
|
+
# @param name the custom object's name
|
1483
|
+
# @param body The JSON schema of the Resource to replace.
|
1484
|
+
# @param [Hash] opts the optional parameters
|
1485
|
+
# @return [Object]
|
1486
|
+
def replace_cluster_custom_object(group, version, plural, name, body, opts = {})
|
1487
|
+
data, _status_code, _headers = replace_cluster_custom_object_with_http_info(group, version, plural, name, body, opts)
|
1488
|
+
return data
|
1489
|
+
end
|
1490
|
+
|
1491
|
+
#
|
1492
|
+
# replace the specified cluster scoped custom object
|
1493
|
+
# @param group the custom resource's group
|
1494
|
+
# @param version the custom resource's version
|
1495
|
+
# @param plural the custom object's plural name. For TPRs this would be lowercase plural kind.
|
1496
|
+
# @param name the custom object's name
|
1497
|
+
# @param body The JSON schema of the Resource to replace.
|
1498
|
+
# @param [Hash] opts the optional parameters
|
1499
|
+
# @return [Array<(Object, Fixnum, Hash)>] Object data, response status code and response headers
|
1500
|
+
def replace_cluster_custom_object_with_http_info(group, version, plural, name, body, opts = {})
|
1501
|
+
if @api_client.config.debugging
|
1502
|
+
@api_client.config.logger.debug "Calling API: CustomObjectsApi.replace_cluster_custom_object ..."
|
1503
|
+
end
|
1504
|
+
# verify the required parameter 'group' is set
|
1505
|
+
if @api_client.config.client_side_validation && group.nil?
|
1506
|
+
fail ArgumentError, "Missing the required parameter 'group' when calling CustomObjectsApi.replace_cluster_custom_object"
|
1507
|
+
end
|
1508
|
+
# verify the required parameter 'version' is set
|
1509
|
+
if @api_client.config.client_side_validation && version.nil?
|
1510
|
+
fail ArgumentError, "Missing the required parameter 'version' when calling CustomObjectsApi.replace_cluster_custom_object"
|
1511
|
+
end
|
1512
|
+
# verify the required parameter 'plural' is set
|
1513
|
+
if @api_client.config.client_side_validation && plural.nil?
|
1514
|
+
fail ArgumentError, "Missing the required parameter 'plural' when calling CustomObjectsApi.replace_cluster_custom_object"
|
1515
|
+
end
|
1516
|
+
# verify the required parameter 'name' is set
|
1517
|
+
if @api_client.config.client_side_validation && name.nil?
|
1518
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling CustomObjectsApi.replace_cluster_custom_object"
|
1519
|
+
end
|
1520
|
+
# verify the required parameter 'body' is set
|
1521
|
+
if @api_client.config.client_side_validation && body.nil?
|
1522
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling CustomObjectsApi.replace_cluster_custom_object"
|
1523
|
+
end
|
1524
|
+
# resource path
|
1525
|
+
local_var_path = "/apis/{group}/{version}/{plural}/{name}".sub('{' + 'group' + '}', group.to_s).sub('{' + 'version' + '}', version.to_s).sub('{' + 'plural' + '}', plural.to_s).sub('{' + 'name' + '}', name.to_s)
|
1526
|
+
|
1527
|
+
# query parameters
|
1528
|
+
query_params = {}
|
1529
|
+
|
1530
|
+
# header parameters
|
1531
|
+
header_params = {}
|
1532
|
+
# HTTP header 'Accept' (if needed)
|
1533
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1534
|
+
# HTTP header 'Content-Type'
|
1535
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['*/*'])
|
1536
|
+
|
1537
|
+
# form parameters
|
1538
|
+
form_params = {}
|
1539
|
+
|
1540
|
+
# http body (model)
|
1541
|
+
post_body = @api_client.object_to_http_body(body)
|
1542
|
+
auth_names = ['BearerToken']
|
1543
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
1544
|
+
:header_params => header_params,
|
1545
|
+
:query_params => query_params,
|
1546
|
+
:form_params => form_params,
|
1547
|
+
:body => post_body,
|
1548
|
+
:auth_names => auth_names,
|
1549
|
+
:return_type => 'Object')
|
1550
|
+
if @api_client.config.debugging
|
1551
|
+
@api_client.config.logger.debug "API called: CustomObjectsApi#replace_cluster_custom_object\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1552
|
+
end
|
1553
|
+
return data, status_code, headers
|
1554
|
+
end
|
1555
|
+
|
1556
|
+
#
|
1557
|
+
# replace scale of the specified cluster scoped custom object
|
1558
|
+
# @param group the custom resource's group
|
1559
|
+
# @param version the custom resource's version
|
1560
|
+
# @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind.
|
1561
|
+
# @param name the custom object's name
|
1562
|
+
# @param body
|
1563
|
+
# @param [Hash] opts the optional parameters
|
1564
|
+
# @return [Object]
|
1565
|
+
def replace_cluster_custom_object_scale(group, version, plural, name, body, opts = {})
|
1566
|
+
data, _status_code, _headers = replace_cluster_custom_object_scale_with_http_info(group, version, plural, name, body, opts)
|
1567
|
+
return data
|
1568
|
+
end
|
1569
|
+
|
1570
|
+
#
|
1571
|
+
# replace scale of the specified cluster scoped custom object
|
1572
|
+
# @param group the custom resource's group
|
1573
|
+
# @param version the custom resource's version
|
1574
|
+
# @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind.
|
1575
|
+
# @param name the custom object's name
|
1576
|
+
# @param body
|
1577
|
+
# @param [Hash] opts the optional parameters
|
1578
|
+
# @return [Array<(Object, Fixnum, Hash)>] Object data, response status code and response headers
|
1579
|
+
def replace_cluster_custom_object_scale_with_http_info(group, version, plural, name, body, opts = {})
|
1580
|
+
if @api_client.config.debugging
|
1581
|
+
@api_client.config.logger.debug "Calling API: CustomObjectsApi.replace_cluster_custom_object_scale ..."
|
1582
|
+
end
|
1583
|
+
# verify the required parameter 'group' is set
|
1584
|
+
if @api_client.config.client_side_validation && group.nil?
|
1585
|
+
fail ArgumentError, "Missing the required parameter 'group' when calling CustomObjectsApi.replace_cluster_custom_object_scale"
|
1586
|
+
end
|
1587
|
+
# verify the required parameter 'version' is set
|
1588
|
+
if @api_client.config.client_side_validation && version.nil?
|
1589
|
+
fail ArgumentError, "Missing the required parameter 'version' when calling CustomObjectsApi.replace_cluster_custom_object_scale"
|
1590
|
+
end
|
1591
|
+
# verify the required parameter 'plural' is set
|
1592
|
+
if @api_client.config.client_side_validation && plural.nil?
|
1593
|
+
fail ArgumentError, "Missing the required parameter 'plural' when calling CustomObjectsApi.replace_cluster_custom_object_scale"
|
1594
|
+
end
|
1595
|
+
# verify the required parameter 'name' is set
|
1596
|
+
if @api_client.config.client_side_validation && name.nil?
|
1597
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling CustomObjectsApi.replace_cluster_custom_object_scale"
|
1598
|
+
end
|
1599
|
+
# verify the required parameter 'body' is set
|
1600
|
+
if @api_client.config.client_side_validation && body.nil?
|
1601
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling CustomObjectsApi.replace_cluster_custom_object_scale"
|
1602
|
+
end
|
1603
|
+
# resource path
|
1604
|
+
local_var_path = "/apis/{group}/{version}/{plural}/{name}/scale".sub('{' + 'group' + '}', group.to_s).sub('{' + 'version' + '}', version.to_s).sub('{' + 'plural' + '}', plural.to_s).sub('{' + 'name' + '}', name.to_s)
|
1605
|
+
|
1606
|
+
# query parameters
|
1607
|
+
query_params = {}
|
1608
|
+
|
1609
|
+
# header parameters
|
1610
|
+
header_params = {}
|
1611
|
+
# HTTP header 'Accept' (if needed)
|
1612
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf'])
|
1613
|
+
# HTTP header 'Content-Type'
|
1614
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['*/*'])
|
1615
|
+
|
1616
|
+
# form parameters
|
1617
|
+
form_params = {}
|
1618
|
+
|
1619
|
+
# http body (model)
|
1620
|
+
post_body = @api_client.object_to_http_body(body)
|
1621
|
+
auth_names = ['BearerToken']
|
1622
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
1623
|
+
:header_params => header_params,
|
1624
|
+
:query_params => query_params,
|
1625
|
+
:form_params => form_params,
|
1626
|
+
:body => post_body,
|
1627
|
+
:auth_names => auth_names,
|
1628
|
+
:return_type => 'Object')
|
1629
|
+
if @api_client.config.debugging
|
1630
|
+
@api_client.config.logger.debug "API called: CustomObjectsApi#replace_cluster_custom_object_scale\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1631
|
+
end
|
1632
|
+
return data, status_code, headers
|
1633
|
+
end
|
1634
|
+
|
1635
|
+
#
|
1636
|
+
# replace status of the cluster scoped specified custom object
|
1637
|
+
# @param group the custom resource's group
|
1638
|
+
# @param version the custom resource's version
|
1639
|
+
# @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind.
|
1640
|
+
# @param name the custom object's name
|
1641
|
+
# @param body
|
1642
|
+
# @param [Hash] opts the optional parameters
|
1643
|
+
# @return [Object]
|
1644
|
+
def replace_cluster_custom_object_status(group, version, plural, name, body, opts = {})
|
1645
|
+
data, _status_code, _headers = replace_cluster_custom_object_status_with_http_info(group, version, plural, name, body, opts)
|
1646
|
+
return data
|
1647
|
+
end
|
1648
|
+
|
1649
|
+
#
|
1650
|
+
# replace status of the cluster scoped specified custom object
|
1651
|
+
# @param group the custom resource's group
|
1652
|
+
# @param version the custom resource's version
|
1653
|
+
# @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind.
|
1654
|
+
# @param name the custom object's name
|
1655
|
+
# @param body
|
1656
|
+
# @param [Hash] opts the optional parameters
|
1657
|
+
# @return [Array<(Object, Fixnum, Hash)>] Object data, response status code and response headers
|
1658
|
+
def replace_cluster_custom_object_status_with_http_info(group, version, plural, name, body, opts = {})
|
1659
|
+
if @api_client.config.debugging
|
1660
|
+
@api_client.config.logger.debug "Calling API: CustomObjectsApi.replace_cluster_custom_object_status ..."
|
1661
|
+
end
|
1662
|
+
# verify the required parameter 'group' is set
|
1663
|
+
if @api_client.config.client_side_validation && group.nil?
|
1664
|
+
fail ArgumentError, "Missing the required parameter 'group' when calling CustomObjectsApi.replace_cluster_custom_object_status"
|
1665
|
+
end
|
1666
|
+
# verify the required parameter 'version' is set
|
1667
|
+
if @api_client.config.client_side_validation && version.nil?
|
1668
|
+
fail ArgumentError, "Missing the required parameter 'version' when calling CustomObjectsApi.replace_cluster_custom_object_status"
|
1669
|
+
end
|
1670
|
+
# verify the required parameter 'plural' is set
|
1671
|
+
if @api_client.config.client_side_validation && plural.nil?
|
1672
|
+
fail ArgumentError, "Missing the required parameter 'plural' when calling CustomObjectsApi.replace_cluster_custom_object_status"
|
1673
|
+
end
|
1674
|
+
# verify the required parameter 'name' is set
|
1675
|
+
if @api_client.config.client_side_validation && name.nil?
|
1676
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling CustomObjectsApi.replace_cluster_custom_object_status"
|
1677
|
+
end
|
1678
|
+
# verify the required parameter 'body' is set
|
1679
|
+
if @api_client.config.client_side_validation && body.nil?
|
1680
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling CustomObjectsApi.replace_cluster_custom_object_status"
|
1681
|
+
end
|
1682
|
+
# resource path
|
1683
|
+
local_var_path = "/apis/{group}/{version}/{plural}/{name}/status".sub('{' + 'group' + '}', group.to_s).sub('{' + 'version' + '}', version.to_s).sub('{' + 'plural' + '}', plural.to_s).sub('{' + 'name' + '}', name.to_s)
|
1684
|
+
|
1685
|
+
# query parameters
|
1686
|
+
query_params = {}
|
1687
|
+
|
1688
|
+
# header parameters
|
1689
|
+
header_params = {}
|
1690
|
+
# HTTP header 'Accept' (if needed)
|
1691
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf'])
|
1692
|
+
# HTTP header 'Content-Type'
|
1693
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['*/*'])
|
1694
|
+
|
1695
|
+
# form parameters
|
1696
|
+
form_params = {}
|
1697
|
+
|
1698
|
+
# http body (model)
|
1699
|
+
post_body = @api_client.object_to_http_body(body)
|
1700
|
+
auth_names = ['BearerToken']
|
1701
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
1702
|
+
:header_params => header_params,
|
1703
|
+
:query_params => query_params,
|
1704
|
+
:form_params => form_params,
|
1705
|
+
:body => post_body,
|
1706
|
+
:auth_names => auth_names,
|
1707
|
+
:return_type => 'Object')
|
1708
|
+
if @api_client.config.debugging
|
1709
|
+
@api_client.config.logger.debug "API called: CustomObjectsApi#replace_cluster_custom_object_status\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1710
|
+
end
|
1711
|
+
return data, status_code, headers
|
1712
|
+
end
|
1713
|
+
|
1714
|
+
#
|
1715
|
+
# replace the specified namespace scoped custom object
|
1716
|
+
# @param group the custom resource's group
|
1717
|
+
# @param version the custom resource's version
|
1718
|
+
# @param namespace The custom resource's namespace
|
1719
|
+
# @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind.
|
1720
|
+
# @param name the custom object's name
|
1721
|
+
# @param body The JSON schema of the Resource to replace.
|
1722
|
+
# @param [Hash] opts the optional parameters
|
1723
|
+
# @return [Object]
|
1724
|
+
def replace_namespaced_custom_object(group, version, namespace, plural, name, body, opts = {})
|
1725
|
+
data, _status_code, _headers = replace_namespaced_custom_object_with_http_info(group, version, namespace, plural, name, body, opts)
|
1726
|
+
return data
|
1727
|
+
end
|
1728
|
+
|
1729
|
+
#
|
1730
|
+
# replace the specified namespace scoped custom object
|
1731
|
+
# @param group the custom resource's group
|
1732
|
+
# @param version the custom resource's version
|
1733
|
+
# @param namespace The custom resource's namespace
|
1734
|
+
# @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind.
|
1735
|
+
# @param name the custom object's name
|
1736
|
+
# @param body The JSON schema of the Resource to replace.
|
1737
|
+
# @param [Hash] opts the optional parameters
|
1738
|
+
# @return [Array<(Object, Fixnum, Hash)>] Object data, response status code and response headers
|
1739
|
+
def replace_namespaced_custom_object_with_http_info(group, version, namespace, plural, name, body, opts = {})
|
1740
|
+
if @api_client.config.debugging
|
1741
|
+
@api_client.config.logger.debug "Calling API: CustomObjectsApi.replace_namespaced_custom_object ..."
|
1742
|
+
end
|
1743
|
+
# verify the required parameter 'group' is set
|
1744
|
+
if @api_client.config.client_side_validation && group.nil?
|
1745
|
+
fail ArgumentError, "Missing the required parameter 'group' when calling CustomObjectsApi.replace_namespaced_custom_object"
|
1746
|
+
end
|
1747
|
+
# verify the required parameter 'version' is set
|
1748
|
+
if @api_client.config.client_side_validation && version.nil?
|
1749
|
+
fail ArgumentError, "Missing the required parameter 'version' when calling CustomObjectsApi.replace_namespaced_custom_object"
|
1750
|
+
end
|
1751
|
+
# verify the required parameter 'namespace' is set
|
1752
|
+
if @api_client.config.client_side_validation && namespace.nil?
|
1753
|
+
fail ArgumentError, "Missing the required parameter 'namespace' when calling CustomObjectsApi.replace_namespaced_custom_object"
|
1754
|
+
end
|
1755
|
+
# verify the required parameter 'plural' is set
|
1756
|
+
if @api_client.config.client_side_validation && plural.nil?
|
1757
|
+
fail ArgumentError, "Missing the required parameter 'plural' when calling CustomObjectsApi.replace_namespaced_custom_object"
|
1758
|
+
end
|
1759
|
+
# verify the required parameter 'name' is set
|
1760
|
+
if @api_client.config.client_side_validation && name.nil?
|
1761
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling CustomObjectsApi.replace_namespaced_custom_object"
|
1762
|
+
end
|
1763
|
+
# verify the required parameter 'body' is set
|
1764
|
+
if @api_client.config.client_side_validation && body.nil?
|
1765
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling CustomObjectsApi.replace_namespaced_custom_object"
|
1766
|
+
end
|
1767
|
+
# resource path
|
1768
|
+
local_var_path = "/apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}".sub('{' + 'group' + '}', group.to_s).sub('{' + 'version' + '}', version.to_s).sub('{' + 'namespace' + '}', namespace.to_s).sub('{' + 'plural' + '}', plural.to_s).sub('{' + 'name' + '}', name.to_s)
|
1769
|
+
|
1770
|
+
# query parameters
|
1771
|
+
query_params = {}
|
1772
|
+
|
1773
|
+
# header parameters
|
1774
|
+
header_params = {}
|
1775
|
+
# HTTP header 'Accept' (if needed)
|
1776
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1777
|
+
# HTTP header 'Content-Type'
|
1778
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['*/*'])
|
1779
|
+
|
1780
|
+
# form parameters
|
1781
|
+
form_params = {}
|
1782
|
+
|
1783
|
+
# http body (model)
|
1784
|
+
post_body = @api_client.object_to_http_body(body)
|
1785
|
+
auth_names = ['BearerToken']
|
1786
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
1787
|
+
:header_params => header_params,
|
1788
|
+
:query_params => query_params,
|
1789
|
+
:form_params => form_params,
|
1790
|
+
:body => post_body,
|
1791
|
+
:auth_names => auth_names,
|
1792
|
+
:return_type => 'Object')
|
1793
|
+
if @api_client.config.debugging
|
1794
|
+
@api_client.config.logger.debug "API called: CustomObjectsApi#replace_namespaced_custom_object\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1795
|
+
end
|
1796
|
+
return data, status_code, headers
|
1797
|
+
end
|
1798
|
+
|
1799
|
+
#
|
1800
|
+
# replace scale of the specified namespace scoped custom object
|
1801
|
+
# @param group the custom resource's group
|
1802
|
+
# @param version the custom resource's version
|
1803
|
+
# @param namespace The custom resource's namespace
|
1804
|
+
# @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind.
|
1805
|
+
# @param name the custom object's name
|
1806
|
+
# @param body
|
1807
|
+
# @param [Hash] opts the optional parameters
|
1808
|
+
# @return [Object]
|
1809
|
+
def replace_namespaced_custom_object_scale(group, version, namespace, plural, name, body, opts = {})
|
1810
|
+
data, _status_code, _headers = replace_namespaced_custom_object_scale_with_http_info(group, version, namespace, plural, name, body, opts)
|
1811
|
+
return data
|
1812
|
+
end
|
1813
|
+
|
1814
|
+
#
|
1815
|
+
# replace scale of the specified namespace scoped custom object
|
1816
|
+
# @param group the custom resource's group
|
1817
|
+
# @param version the custom resource's version
|
1818
|
+
# @param namespace The custom resource's namespace
|
1819
|
+
# @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind.
|
1820
|
+
# @param name the custom object's name
|
1821
|
+
# @param body
|
1822
|
+
# @param [Hash] opts the optional parameters
|
1823
|
+
# @return [Array<(Object, Fixnum, Hash)>] Object data, response status code and response headers
|
1824
|
+
def replace_namespaced_custom_object_scale_with_http_info(group, version, namespace, plural, name, body, opts = {})
|
1825
|
+
if @api_client.config.debugging
|
1826
|
+
@api_client.config.logger.debug "Calling API: CustomObjectsApi.replace_namespaced_custom_object_scale ..."
|
1827
|
+
end
|
1828
|
+
# verify the required parameter 'group' is set
|
1829
|
+
if @api_client.config.client_side_validation && group.nil?
|
1830
|
+
fail ArgumentError, "Missing the required parameter 'group' when calling CustomObjectsApi.replace_namespaced_custom_object_scale"
|
1831
|
+
end
|
1832
|
+
# verify the required parameter 'version' is set
|
1833
|
+
if @api_client.config.client_side_validation && version.nil?
|
1834
|
+
fail ArgumentError, "Missing the required parameter 'version' when calling CustomObjectsApi.replace_namespaced_custom_object_scale"
|
1835
|
+
end
|
1836
|
+
# verify the required parameter 'namespace' is set
|
1837
|
+
if @api_client.config.client_side_validation && namespace.nil?
|
1838
|
+
fail ArgumentError, "Missing the required parameter 'namespace' when calling CustomObjectsApi.replace_namespaced_custom_object_scale"
|
1839
|
+
end
|
1840
|
+
# verify the required parameter 'plural' is set
|
1841
|
+
if @api_client.config.client_side_validation && plural.nil?
|
1842
|
+
fail ArgumentError, "Missing the required parameter 'plural' when calling CustomObjectsApi.replace_namespaced_custom_object_scale"
|
1843
|
+
end
|
1844
|
+
# verify the required parameter 'name' is set
|
1845
|
+
if @api_client.config.client_side_validation && name.nil?
|
1846
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling CustomObjectsApi.replace_namespaced_custom_object_scale"
|
1847
|
+
end
|
1848
|
+
# verify the required parameter 'body' is set
|
1849
|
+
if @api_client.config.client_side_validation && body.nil?
|
1850
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling CustomObjectsApi.replace_namespaced_custom_object_scale"
|
1851
|
+
end
|
1852
|
+
# resource path
|
1853
|
+
local_var_path = "/apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}/scale".sub('{' + 'group' + '}', group.to_s).sub('{' + 'version' + '}', version.to_s).sub('{' + 'namespace' + '}', namespace.to_s).sub('{' + 'plural' + '}', plural.to_s).sub('{' + 'name' + '}', name.to_s)
|
1854
|
+
|
1855
|
+
# query parameters
|
1856
|
+
query_params = {}
|
1857
|
+
|
1858
|
+
# header parameters
|
1859
|
+
header_params = {}
|
1860
|
+
# HTTP header 'Accept' (if needed)
|
1861
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf'])
|
1862
|
+
# HTTP header 'Content-Type'
|
1863
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['*/*'])
|
1864
|
+
|
1865
|
+
# form parameters
|
1866
|
+
form_params = {}
|
1867
|
+
|
1868
|
+
# http body (model)
|
1869
|
+
post_body = @api_client.object_to_http_body(body)
|
1870
|
+
auth_names = ['BearerToken']
|
1871
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
1872
|
+
:header_params => header_params,
|
1873
|
+
:query_params => query_params,
|
1874
|
+
:form_params => form_params,
|
1875
|
+
:body => post_body,
|
1876
|
+
:auth_names => auth_names,
|
1877
|
+
:return_type => 'Object')
|
1878
|
+
if @api_client.config.debugging
|
1879
|
+
@api_client.config.logger.debug "API called: CustomObjectsApi#replace_namespaced_custom_object_scale\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1880
|
+
end
|
1881
|
+
return data, status_code, headers
|
1882
|
+
end
|
1883
|
+
|
1884
|
+
#
|
1885
|
+
# replace status of the specified namespace scoped custom object
|
1886
|
+
# @param group the custom resource's group
|
1887
|
+
# @param version the custom resource's version
|
1888
|
+
# @param namespace The custom resource's namespace
|
1889
|
+
# @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind.
|
1890
|
+
# @param name the custom object's name
|
1891
|
+
# @param body
|
1892
|
+
# @param [Hash] opts the optional parameters
|
1893
|
+
# @return [Object]
|
1894
|
+
def replace_namespaced_custom_object_status(group, version, namespace, plural, name, body, opts = {})
|
1895
|
+
data, _status_code, _headers = replace_namespaced_custom_object_status_with_http_info(group, version, namespace, plural, name, body, opts)
|
1896
|
+
return data
|
1897
|
+
end
|
1898
|
+
|
1899
|
+
#
|
1900
|
+
# replace status of the specified namespace scoped custom object
|
1901
|
+
# @param group the custom resource's group
|
1902
|
+
# @param version the custom resource's version
|
1903
|
+
# @param namespace The custom resource's namespace
|
1904
|
+
# @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind.
|
1905
|
+
# @param name the custom object's name
|
1906
|
+
# @param body
|
1907
|
+
# @param [Hash] opts the optional parameters
|
1908
|
+
# @return [Array<(Object, Fixnum, Hash)>] Object data, response status code and response headers
|
1909
|
+
def replace_namespaced_custom_object_status_with_http_info(group, version, namespace, plural, name, body, opts = {})
|
1910
|
+
if @api_client.config.debugging
|
1911
|
+
@api_client.config.logger.debug "Calling API: CustomObjectsApi.replace_namespaced_custom_object_status ..."
|
1912
|
+
end
|
1913
|
+
# verify the required parameter 'group' is set
|
1914
|
+
if @api_client.config.client_side_validation && group.nil?
|
1915
|
+
fail ArgumentError, "Missing the required parameter 'group' when calling CustomObjectsApi.replace_namespaced_custom_object_status"
|
1916
|
+
end
|
1917
|
+
# verify the required parameter 'version' is set
|
1918
|
+
if @api_client.config.client_side_validation && version.nil?
|
1919
|
+
fail ArgumentError, "Missing the required parameter 'version' when calling CustomObjectsApi.replace_namespaced_custom_object_status"
|
1920
|
+
end
|
1921
|
+
# verify the required parameter 'namespace' is set
|
1922
|
+
if @api_client.config.client_side_validation && namespace.nil?
|
1923
|
+
fail ArgumentError, "Missing the required parameter 'namespace' when calling CustomObjectsApi.replace_namespaced_custom_object_status"
|
1924
|
+
end
|
1925
|
+
# verify the required parameter 'plural' is set
|
1926
|
+
if @api_client.config.client_side_validation && plural.nil?
|
1927
|
+
fail ArgumentError, "Missing the required parameter 'plural' when calling CustomObjectsApi.replace_namespaced_custom_object_status"
|
1928
|
+
end
|
1929
|
+
# verify the required parameter 'name' is set
|
1930
|
+
if @api_client.config.client_side_validation && name.nil?
|
1931
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling CustomObjectsApi.replace_namespaced_custom_object_status"
|
1932
|
+
end
|
1933
|
+
# verify the required parameter 'body' is set
|
1934
|
+
if @api_client.config.client_side_validation && body.nil?
|
1935
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling CustomObjectsApi.replace_namespaced_custom_object_status"
|
1936
|
+
end
|
1937
|
+
# resource path
|
1938
|
+
local_var_path = "/apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}/status".sub('{' + 'group' + '}', group.to_s).sub('{' + 'version' + '}', version.to_s).sub('{' + 'namespace' + '}', namespace.to_s).sub('{' + 'plural' + '}', plural.to_s).sub('{' + 'name' + '}', name.to_s)
|
1939
|
+
|
1940
|
+
# query parameters
|
1941
|
+
query_params = {}
|
1942
|
+
|
1943
|
+
# header parameters
|
1944
|
+
header_params = {}
|
1945
|
+
# HTTP header 'Accept' (if needed)
|
1946
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf'])
|
1947
|
+
# HTTP header 'Content-Type'
|
1948
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['*/*'])
|
1949
|
+
|
1950
|
+
# form parameters
|
1951
|
+
form_params = {}
|
1952
|
+
|
1953
|
+
# http body (model)
|
1954
|
+
post_body = @api_client.object_to_http_body(body)
|
1955
|
+
auth_names = ['BearerToken']
|
1956
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
1957
|
+
:header_params => header_params,
|
1958
|
+
:query_params => query_params,
|
1959
|
+
:form_params => form_params,
|
1960
|
+
:body => post_body,
|
1961
|
+
:auth_names => auth_names,
|
1962
|
+
:return_type => 'Object')
|
1963
|
+
if @api_client.config.debugging
|
1964
|
+
@api_client.config.logger.debug "API called: CustomObjectsApi#replace_namespaced_custom_object_status\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1965
|
+
end
|
1966
|
+
return data, status_code, headers
|
1967
|
+
end
|
1968
|
+
end
|
1969
|
+
end
|