k8s-io 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +14 -0
- data/Gemfile.lock +93 -0
- data/README.md +1515 -0
- data/Rakefile +10 -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 +37 -0
- data/lib/kubernetes/api/admissionregistration_api.rb +76 -0
- data/lib/kubernetes/api/admissionregistration_v1alpha1_api.rb +618 -0
- data/lib/kubernetes/api/admissionregistration_v1beta1_api.rb +1165 -0
- data/lib/kubernetes/api/apiextensions_api.rb +76 -0
- data/lib/kubernetes/api/apiextensions_v1beta1_api.rb +835 -0
- data/lib/kubernetes/api/apiregistration_api.rb +76 -0
- data/lib/kubernetes/api/apiregistration_v1_api.rb +826 -0
- data/lib/kubernetes/api/apiregistration_v1beta1_api.rb +830 -0
- data/lib/kubernetes/api/apis_api.rb +76 -0
- data/lib/kubernetes/api/apps_api.rb +76 -0
- data/lib/kubernetes/api/apps_v1_api.rb +5169 -0
- data/lib/kubernetes/api/apps_v1beta1_api.rb +3173 -0
- data/lib/kubernetes/api/apps_v1beta2_api.rb +5169 -0
- data/lib/kubernetes/api/auditregistration_api.rb +76 -0
- data/lib/kubernetes/api/auditregistration_v1alpha1_api.rb +616 -0
- data/lib/kubernetes/api/authentication_api.rb +76 -0
- data/lib/kubernetes/api/authentication_v1_api.rb +147 -0
- data/lib/kubernetes/api/authentication_v1beta1_api.rb +147 -0
- data/lib/kubernetes/api/authorization_api.rb +76 -0
- data/lib/kubernetes/api/authorization_v1_api.rb +371 -0
- data/lib/kubernetes/api/authorization_v1beta1_api.rb +371 -0
- data/lib/kubernetes/api/autoscaling_api.rb +76 -0
- data/lib/kubernetes/api/autoscaling_v1_api.rb +1011 -0
- data/lib/kubernetes/api/autoscaling_v2beta1_api.rb +1011 -0
- data/lib/kubernetes/api/autoscaling_v2beta2_api.rb +1011 -0
- data/lib/kubernetes/api/batch_api.rb +76 -0
- data/lib/kubernetes/api/batch_v1_api.rb +992 -0
- data/lib/kubernetes/api/batch_v1beta1_api.rb +998 -0
- data/lib/kubernetes/api/batch_v2alpha1_api.rb +998 -0
- data/lib/kubernetes/api/certificates_api.rb +76 -0
- data/lib/kubernetes/api/certificates_v1beta1_api.rb +912 -0
- data/lib/kubernetes/api/coordination_api.rb +76 -0
- data/lib/kubernetes/api/coordination_v1beta1_api.rb +757 -0
- data/lib/kubernetes/api/core_api.rb +76 -0
- data/lib/kubernetes/api/core_v1_api.rb +15779 -0
- data/lib/kubernetes/api/custom_objects_api.rb +2254 -0
- data/lib/kubernetes/api/events_api.rb +76 -0
- data/lib/kubernetes/api/events_v1beta1_api.rb +757 -0
- data/lib/kubernetes/api/extensions_api.rb +76 -0
- data/lib/kubernetes/api/extensions_v1beta1_api.rb +5797 -0
- data/lib/kubernetes/api/logs_api.rb +119 -0
- data/lib/kubernetes/api/networking_api.rb +76 -0
- data/lib/kubernetes/api/networking_v1_api.rb +761 -0
- data/lib/kubernetes/api/policy_api.rb +76 -0
- data/lib/kubernetes/api/policy_v1beta1_api.rb +1543 -0
- data/lib/kubernetes/api/rbac_authorization_api.rb +76 -0
- data/lib/kubernetes/api/rbac_authorization_v1_api.rb +2498 -0
- data/lib/kubernetes/api/rbac_authorization_v1alpha1_api.rb +2498 -0
- data/lib/kubernetes/api/rbac_authorization_v1beta1_api.rb +2498 -0
- data/lib/kubernetes/api/scheduling_api.rb +76 -0
- data/lib/kubernetes/api/scheduling_v1alpha1_api.rb +616 -0
- data/lib/kubernetes/api/scheduling_v1beta1_api.rb +616 -0
- data/lib/kubernetes/api/settings_api.rb +76 -0
- data/lib/kubernetes/api/settings_v1alpha1_api.rb +761 -0
- data/lib/kubernetes/api/storage_api.rb +76 -0
- data/lib/kubernetes/api/storage_v1_api.rb +1363 -0
- data/lib/kubernetes/api/storage_v1alpha1_api.rb +616 -0
- data/lib/kubernetes/api/storage_v1beta1_api.rb +1152 -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 +207 -0
- data/lib/kubernetes/models/admissionregistration_v1beta1_service_reference.rb +213 -0
- data/lib/kubernetes/models/admissionregistration_v1beta1_webhook_client_config.rb +223 -0
- data/lib/kubernetes/models/apiextensions_v1beta1_service_reference.rb +213 -0
- data/lib/kubernetes/models/apiextensions_v1beta1_webhook_client_config.rb +223 -0
- data/lib/kubernetes/models/apiregistration_v1beta1_service_reference.rb +195 -0
- data/lib/kubernetes/models/apps_v1beta1_deployment.rb +219 -0
- data/lib/kubernetes/models/apps_v1beta1_deployment_condition.rb +237 -0
- data/lib/kubernetes/models/apps_v1beta1_deployment_list.rb +218 -0
- data/lib/kubernetes/models/apps_v1beta1_deployment_rollback.rb +232 -0
- data/lib/kubernetes/models/apps_v1beta1_deployment_spec.rb +263 -0
- data/lib/kubernetes/models/apps_v1beta1_deployment_status.rb +254 -0
- data/lib/kubernetes/models/apps_v1beta1_deployment_strategy.rb +195 -0
- data/lib/kubernetes/models/apps_v1beta1_rollback_config.rb +187 -0
- data/lib/kubernetes/models/apps_v1beta1_rolling_update_deployment.rb +197 -0
- data/lib/kubernetes/models/apps_v1beta1_scale.rb +219 -0
- data/lib/kubernetes/models/apps_v1beta1_scale_spec.rb +187 -0
- data/lib/kubernetes/models/apps_v1beta1_scale_status.rb +214 -0
- data/lib/kubernetes/models/extensions_v1beta1_allowed_flex_volume.rb +192 -0
- data/lib/kubernetes/models/extensions_v1beta1_allowed_host_path.rb +195 -0
- data/lib/kubernetes/models/extensions_v1beta1_deployment.rb +219 -0
- data/lib/kubernetes/models/extensions_v1beta1_deployment_condition.rb +237 -0
- data/lib/kubernetes/models/extensions_v1beta1_deployment_list.rb +218 -0
- data/lib/kubernetes/models/extensions_v1beta1_deployment_rollback.rb +232 -0
- data/lib/kubernetes/models/extensions_v1beta1_deployment_spec.rb +263 -0
- data/lib/kubernetes/models/extensions_v1beta1_deployment_status.rb +254 -0
- data/lib/kubernetes/models/extensions_v1beta1_deployment_strategy.rb +195 -0
- data/lib/kubernetes/models/extensions_v1beta1_fs_group_strategy_options.rb +197 -0
- data/lib/kubernetes/models/extensions_v1beta1_host_port_range.rb +203 -0
- data/lib/kubernetes/models/extensions_v1beta1_id_range.rb +203 -0
- data/lib/kubernetes/models/extensions_v1beta1_pod_security_policy.rb +211 -0
- data/lib/kubernetes/models/extensions_v1beta1_pod_security_policy_list.rb +218 -0
- data/lib/kubernetes/models/extensions_v1beta1_pod_security_policy_spec.rb +407 -0
- data/lib/kubernetes/models/extensions_v1beta1_rollback_config.rb +187 -0
- data/lib/kubernetes/models/extensions_v1beta1_rolling_update_deployment.rb +197 -0
- data/lib/kubernetes/models/extensions_v1beta1_run_as_group_strategy_options.rb +202 -0
- data/lib/kubernetes/models/extensions_v1beta1_run_as_user_strategy_options.rb +202 -0
- data/lib/kubernetes/models/extensions_v1beta1_scale.rb +219 -0
- data/lib/kubernetes/models/extensions_v1beta1_scale_spec.rb +187 -0
- data/lib/kubernetes/models/extensions_v1beta1_scale_status.rb +214 -0
- data/lib/kubernetes/models/extensions_v1beta1_se_linux_strategy_options.rb +202 -0
- data/lib/kubernetes/models/extensions_v1beta1_supplemental_groups_strategy_options.rb +197 -0
- data/lib/kubernetes/models/policy_v1beta1_allowed_flex_volume.rb +192 -0
- data/lib/kubernetes/models/policy_v1beta1_allowed_host_path.rb +195 -0
- data/lib/kubernetes/models/policy_v1beta1_fs_group_strategy_options.rb +197 -0
- data/lib/kubernetes/models/policy_v1beta1_host_port_range.rb +203 -0
- data/lib/kubernetes/models/policy_v1beta1_id_range.rb +203 -0
- data/lib/kubernetes/models/policy_v1beta1_pod_security_policy.rb +211 -0
- data/lib/kubernetes/models/policy_v1beta1_pod_security_policy_list.rb +218 -0
- data/lib/kubernetes/models/policy_v1beta1_pod_security_policy_spec.rb +407 -0
- data/lib/kubernetes/models/policy_v1beta1_run_as_group_strategy_options.rb +202 -0
- data/lib/kubernetes/models/policy_v1beta1_run_as_user_strategy_options.rb +202 -0
- data/lib/kubernetes/models/policy_v1beta1_se_linux_strategy_options.rb +202 -0
- data/lib/kubernetes/models/policy_v1beta1_supplemental_groups_strategy_options.rb +197 -0
- data/lib/kubernetes/models/runtime_raw_extension.rb +212 -0
- data/lib/kubernetes/models/v1_affinity.rb +205 -0
- data/lib/kubernetes/models/v1_aggregation_rule.rb +190 -0
- data/lib/kubernetes/models/v1_api_group.rb +242 -0
- data/lib/kubernetes/models/v1_api_group_list.rb +210 -0
- data/lib/kubernetes/models/v1_api_resource.rb +278 -0
- data/lib/kubernetes/models/v1_api_resource_list.rb +226 -0
- data/lib/kubernetes/models/v1_api_service.rb +218 -0
- data/lib/kubernetes/models/v1_api_service_condition.rb +228 -0
- data/lib/kubernetes/models/v1_api_service_list.rb +214 -0
- data/lib/kubernetes/models/v1_api_service_spec.rb +274 -0
- data/lib/kubernetes/models/v1_api_service_status.rb +190 -0
- data/lib/kubernetes/models/v1_api_versions.rb +228 -0
- data/lib/kubernetes/models/v1_attached_volume.rb +205 -0
- data/lib/kubernetes/models/v1_aws_elastic_block_store_volume_source.rb +218 -0
- data/lib/kubernetes/models/v1_azure_disk_volume_source.rb +239 -0
- data/lib/kubernetes/models/v1_azure_file_persistent_volume_source.rb +223 -0
- data/lib/kubernetes/models/v1_azure_file_volume_source.rb +215 -0
- data/lib/kubernetes/models/v1_binding.rb +216 -0
- data/lib/kubernetes/models/v1_capabilities.rb +200 -0
- data/lib/kubernetes/models/v1_ceph_fs_persistent_volume_source.rb +236 -0
- data/lib/kubernetes/models/v1_ceph_fs_volume_source.rb +236 -0
- data/lib/kubernetes/models/v1_cinder_persistent_volume_source.rb +218 -0
- data/lib/kubernetes/models/v1_cinder_volume_source.rb +218 -0
- data/lib/kubernetes/models/v1_client_ip_config.rb +189 -0
- data/lib/kubernetes/models/v1_cluster_role.rb +227 -0
- data/lib/kubernetes/models/v1_cluster_role_binding.rb +229 -0
- data/lib/kubernetes/models/v1_cluster_role_binding_list.rb +218 -0
- data/lib/kubernetes/models/v1_cluster_role_list.rb +218 -0
- data/lib/kubernetes/models/v1_component_condition.rb +219 -0
- data/lib/kubernetes/models/v1_component_status.rb +213 -0
- data/lib/kubernetes/models/v1_component_status_list.rb +218 -0
- data/lib/kubernetes/models/v1_config_map.rb +223 -0
- data/lib/kubernetes/models/v1_config_map_env_source.rb +195 -0
- data/lib/kubernetes/models/v1_config_map_key_selector.rb +208 -0
- data/lib/kubernetes/models/v1_config_map_list.rb +218 -0
- data/lib/kubernetes/models/v1_config_map_node_config_source.rb +234 -0
- data/lib/kubernetes/models/v1_config_map_projection.rb +205 -0
- data/lib/kubernetes/models/v1_config_map_volume_source.rb +213 -0
- data/lib/kubernetes/models/v1_container.rb +371 -0
- data/lib/kubernetes/models/v1_container_image.rb +202 -0
- data/lib/kubernetes/models/v1_container_port.rb +226 -0
- data/lib/kubernetes/models/v1_container_state.rb +203 -0
- data/lib/kubernetes/models/v1_container_state_running.rb +187 -0
- data/lib/kubernetes/models/v1_container_state_terminated.rb +242 -0
- data/lib/kubernetes/models/v1_container_state_waiting.rb +195 -0
- data/lib/kubernetes/models/v1_container_status.rb +264 -0
- data/lib/kubernetes/models/v1_controller_revision.rb +226 -0
- data/lib/kubernetes/models/v1_controller_revision_list.rb +218 -0
- data/lib/kubernetes/models/v1_cross_version_object_reference.rb +211 -0
- data/lib/kubernetes/models/v1_csi_persistent_volume_source.rb +264 -0
- data/lib/kubernetes/models/v1_daemon_endpoint.rb +192 -0
- data/lib/kubernetes/models/v1_daemon_set.rb +219 -0
- data/lib/kubernetes/models/v1_daemon_set_condition.rb +229 -0
- data/lib/kubernetes/models/v1_daemon_set_list.rb +218 -0
- data/lib/kubernetes/models/v1_daemon_set_spec.rb +235 -0
- data/lib/kubernetes/models/v1_daemon_set_status.rb +296 -0
- data/lib/kubernetes/models/v1_daemon_set_update_strategy.rb +195 -0
- data/lib/kubernetes/models/v1_delete_options.rb +242 -0
- data/lib/kubernetes/models/v1_deployment.rb +219 -0
- data/lib/kubernetes/models/v1_deployment_condition.rb +237 -0
- data/lib/kubernetes/models/v1_deployment_list.rb +218 -0
- data/lib/kubernetes/models/v1_deployment_spec.rb +260 -0
- data/lib/kubernetes/models/v1_deployment_status.rb +254 -0
- data/lib/kubernetes/models/v1_deployment_strategy.rb +195 -0
- data/lib/kubernetes/models/v1_downward_api_projection.rb +190 -0
- data/lib/kubernetes/models/v1_downward_api_volume_file.rb +218 -0
- data/lib/kubernetes/models/v1_downward_api_volume_source.rb +198 -0
- data/lib/kubernetes/models/v1_empty_dir_volume_source.rb +195 -0
- data/lib/kubernetes/models/v1_endpoint_address.rb +216 -0
- data/lib/kubernetes/models/v1_endpoint_port.rb +208 -0
- data/lib/kubernetes/models/v1_endpoint_subset.rb +210 -0
- data/lib/kubernetes/models/v1_endpoints.rb +214 -0
- data/lib/kubernetes/models/v1_endpoints_list.rb +218 -0
- data/lib/kubernetes/models/v1_env_from_source.rb +203 -0
- data/lib/kubernetes/models/v1_env_var.rb +208 -0
- data/lib/kubernetes/models/v1_env_var_source.rb +213 -0
- data/lib/kubernetes/models/v1_event.rb +332 -0
- data/lib/kubernetes/models/v1_event_list.rb +218 -0
- data/lib/kubernetes/models/v1_event_series.rb +203 -0
- data/lib/kubernetes/models/v1_event_source.rb +195 -0
- data/lib/kubernetes/models/v1_exec_action.rb +190 -0
- data/lib/kubernetes/models/v1_fc_volume_source.rb +224 -0
- data/lib/kubernetes/models/v1_flex_persistent_volume_source.rb +226 -0
- data/lib/kubernetes/models/v1_flex_volume_source.rb +226 -0
- data/lib/kubernetes/models/v1_flocker_volume_source.rb +197 -0
- data/lib/kubernetes/models/v1_gce_persistent_disk_volume_source.rb +218 -0
- data/lib/kubernetes/models/v1_git_repo_volume_source.rb +210 -0
- data/lib/kubernetes/models/v1_glusterfs_persistent_volume_source.rb +223 -0
- data/lib/kubernetes/models/v1_glusterfs_volume_source.rb +213 -0
- data/lib/kubernetes/models/v1_group_version_for_discovery.rb +207 -0
- data/lib/kubernetes/models/v1_handler.rb +203 -0
- data/lib/kubernetes/models/v1_horizontal_pod_autoscaler.rb +219 -0
- data/lib/kubernetes/models/v1_horizontal_pod_autoscaler_list.rb +218 -0
- data/lib/kubernetes/models/v1_horizontal_pod_autoscaler_spec.rb +225 -0
- data/lib/kubernetes/models/v1_horizontal_pod_autoscaler_status.rb +236 -0
- data/lib/kubernetes/models/v1_host_alias.rb +197 -0
- data/lib/kubernetes/models/v1_host_path_volume_source.rb +200 -0
- data/lib/kubernetes/models/v1_http_get_action.rb +226 -0
- data/lib/kubernetes/models/v1_http_header.rb +203 -0
- data/lib/kubernetes/models/v1_initializer.rb +192 -0
- data/lib/kubernetes/models/v1_initializers.rb +204 -0
- data/lib/kubernetes/models/v1_ip_block.rb +203 -0
- data/lib/kubernetes/models/v1_iscsi_persistent_volume_source.rb +287 -0
- data/lib/kubernetes/models/v1_iscsi_volume_source.rb +287 -0
- data/lib/kubernetes/models/v1_job.rb +219 -0
- data/lib/kubernetes/models/v1_job_condition.rb +237 -0
- data/lib/kubernetes/models/v1_job_list.rb +218 -0
- data/lib/kubernetes/models/v1_job_spec.rb +255 -0
- data/lib/kubernetes/models/v1_job_status.rb +229 -0
- data/lib/kubernetes/models/v1_key_to_path.rb +211 -0
- data/lib/kubernetes/models/v1_label_selector.rb +200 -0
- data/lib/kubernetes/models/v1_label_selector_requirement.rb +216 -0
- data/lib/kubernetes/models/v1_lifecycle.rb +195 -0
- data/lib/kubernetes/models/v1_limit_range.rb +211 -0
- data/lib/kubernetes/models/v1_limit_range_item.rb +237 -0
- data/lib/kubernetes/models/v1_limit_range_list.rb +218 -0
- data/lib/kubernetes/models/v1_limit_range_spec.rb +195 -0
- data/lib/kubernetes/models/v1_list_meta.rb +203 -0
- data/lib/kubernetes/models/v1_load_balancer_ingress.rb +195 -0
- data/lib/kubernetes/models/v1_load_balancer_status.rb +190 -0
- data/lib/kubernetes/models/v1_local_object_reference.rb +187 -0
- data/lib/kubernetes/models/v1_local_subject_access_review.rb +223 -0
- data/lib/kubernetes/models/v1_local_volume_source.rb +200 -0
- data/lib/kubernetes/models/v1_namespace.rb +219 -0
- data/lib/kubernetes/models/v1_namespace_list.rb +218 -0
- data/lib/kubernetes/models/v1_namespace_spec.rb +190 -0
- data/lib/kubernetes/models/v1_namespace_status.rb +187 -0
- data/lib/kubernetes/models/v1_network_policy.rb +211 -0
- data/lib/kubernetes/models/v1_network_policy_egress_rule.rb +200 -0
- data/lib/kubernetes/models/v1_network_policy_ingress_rule.rb +200 -0
- data/lib/kubernetes/models/v1_network_policy_list.rb +218 -0
- data/lib/kubernetes/models/v1_network_policy_peer.rb +207 -0
- data/lib/kubernetes/models/v1_network_policy_port.rb +195 -0
- data/lib/kubernetes/models/v1_network_policy_spec.rb +225 -0
- data/lib/kubernetes/models/v1_nfs_volume_source.rb +211 -0
- data/lib/kubernetes/models/v1_node.rb +219 -0
- data/lib/kubernetes/models/v1_node_address.rb +205 -0
- data/lib/kubernetes/models/v1_node_affinity.rb +200 -0
- data/lib/kubernetes/models/v1_node_condition.rb +239 -0
- data/lib/kubernetes/models/v1_node_config_source.rb +187 -0
- data/lib/kubernetes/models/v1_node_config_status.rb +213 -0
- data/lib/kubernetes/models/v1_node_daemon_endpoints.rb +189 -0
- data/lib/kubernetes/models/v1_node_list.rb +218 -0
- data/lib/kubernetes/models/v1_node_selector.rb +197 -0
- data/lib/kubernetes/models/v1_node_selector_requirement.rb +216 -0
- data/lib/kubernetes/models/v1_node_selector_term.rb +200 -0
- data/lib/kubernetes/models/v1_node_spec.rb +231 -0
- data/lib/kubernetes/models/v1_node_status.rb +283 -0
- data/lib/kubernetes/models/v1_node_system_info.rb +314 -0
- data/lib/kubernetes/models/v1_non_resource_attributes.rb +195 -0
- data/lib/kubernetes/models/v1_non_resource_rule.rb +205 -0
- data/lib/kubernetes/models/v1_object_field_selector.rb +202 -0
- data/lib/kubernetes/models/v1_object_meta.rb +322 -0
- data/lib/kubernetes/models/v1_object_reference.rb +235 -0
- data/lib/kubernetes/models/v1_owner_reference.rb +245 -0
- data/lib/kubernetes/models/v1_persistent_volume.rb +219 -0
- data/lib/kubernetes/models/v1_persistent_volume_claim.rb +219 -0
- data/lib/kubernetes/models/v1_persistent_volume_claim_condition.rb +233 -0
- data/lib/kubernetes/models/v1_persistent_volume_claim_list.rb +218 -0
- data/lib/kubernetes/models/v1_persistent_volume_claim_spec.rb +238 -0
- data/lib/kubernetes/models/v1_persistent_volume_claim_status.rb +217 -0
- data/lib/kubernetes/models/v1_persistent_volume_claim_volume_source.rb +202 -0
- data/lib/kubernetes/models/v1_persistent_volume_list.rb +218 -0
- data/lib/kubernetes/models/v1_persistent_volume_spec.rb +436 -0
- data/lib/kubernetes/models/v1_persistent_volume_status.rb +203 -0
- data/lib/kubernetes/models/v1_photon_persistent_disk_volume_source.rb +200 -0
- data/lib/kubernetes/models/v1_pod.rb +219 -0
- data/lib/kubernetes/models/v1_pod_affinity.rb +201 -0
- data/lib/kubernetes/models/v1_pod_affinity_term.rb +214 -0
- data/lib/kubernetes/models/v1_pod_anti_affinity.rb +200 -0
- data/lib/kubernetes/models/v1_pod_condition.rb +237 -0
- data/lib/kubernetes/models/v1_pod_dns_config.rb +210 -0
- data/lib/kubernetes/models/v1_pod_dns_config_option.rb +194 -0
- data/lib/kubernetes/models/v1_pod_list.rb +218 -0
- data/lib/kubernetes/models/v1_pod_readiness_gate.rb +196 -0
- data/lib/kubernetes/models/v1_pod_security_context.rb +241 -0
- data/lib/kubernetes/models/v1_pod_spec.rb +458 -0
- data/lib/kubernetes/models/v1_pod_status.rb +276 -0
- data/lib/kubernetes/models/v1_pod_template.rb +211 -0
- data/lib/kubernetes/models/v1_pod_template_list.rb +218 -0
- data/lib/kubernetes/models/v1_pod_template_spec.rb +195 -0
- data/lib/kubernetes/models/v1_policy_rule.rb +235 -0
- data/lib/kubernetes/models/v1_portworx_volume_source.rb +210 -0
- data/lib/kubernetes/models/v1_preconditions.rb +187 -0
- data/lib/kubernetes/models/v1_preferred_scheduling_term.rb +205 -0
- data/lib/kubernetes/models/v1_probe.rb +248 -0
- data/lib/kubernetes/models/v1_projected_volume_source.rb +205 -0
- data/lib/kubernetes/models/v1_quobyte_volume_source.rb +229 -0
- data/lib/kubernetes/models/v1_rbd_persistent_volume_source.rb +255 -0
- data/lib/kubernetes/models/v1_rbd_volume_source.rb +255 -0
- data/lib/kubernetes/models/v1_replica_set.rb +219 -0
- data/lib/kubernetes/models/v1_replica_set_condition.rb +229 -0
- data/lib/kubernetes/models/v1_replica_set_list.rb +218 -0
- data/lib/kubernetes/models/v1_replica_set_spec.rb +218 -0
- data/lib/kubernetes/models/v1_replica_set_status.rb +243 -0
- data/lib/kubernetes/models/v1_replication_controller.rb +219 -0
- data/lib/kubernetes/models/v1_replication_controller_condition.rb +229 -0
- data/lib/kubernetes/models/v1_replication_controller_list.rb +218 -0
- data/lib/kubernetes/models/v1_replication_controller_spec.rb +213 -0
- data/lib/kubernetes/models/v1_replication_controller_status.rb +243 -0
- data/lib/kubernetes/models/v1_resource_attributes.rb +235 -0
- data/lib/kubernetes/models/v1_resource_field_selector.rb +210 -0
- data/lib/kubernetes/models/v1_resource_quota.rb +219 -0
- data/lib/kubernetes/models/v1_resource_quota_list.rb +218 -0
- data/lib/kubernetes/models/v1_resource_quota_spec.rb +208 -0
- data/lib/kubernetes/models/v1_resource_quota_status.rb +200 -0
- data/lib/kubernetes/models/v1_resource_requirements.rb +200 -0
- data/lib/kubernetes/models/v1_resource_rule.rb +225 -0
- data/lib/kubernetes/models/v1_role.rb +219 -0
- data/lib/kubernetes/models/v1_role_binding.rb +229 -0
- data/lib/kubernetes/models/v1_role_binding_list.rb +218 -0
- data/lib/kubernetes/models/v1_role_list.rb +218 -0
- data/lib/kubernetes/models/v1_role_ref.rb +216 -0
- data/lib/kubernetes/models/v1_rolling_update_daemon_set.rb +189 -0
- data/lib/kubernetes/models/v1_rolling_update_deployment.rb +197 -0
- data/lib/kubernetes/models/v1_rolling_update_stateful_set_strategy.rb +187 -0
- data/lib/kubernetes/models/v1_scale.rb +219 -0
- data/lib/kubernetes/models/v1_scale_io_persistent_volume_source.rb +275 -0
- data/lib/kubernetes/models/v1_scale_io_volume_source.rb +275 -0
- data/lib/kubernetes/models/v1_scale_spec.rb +187 -0
- data/lib/kubernetes/models/v1_scale_status.rb +202 -0
- data/lib/kubernetes/models/v1_scope_selector.rb +190 -0
- data/lib/kubernetes/models/v1_scoped_resource_selector_requirement.rb +218 -0
- data/lib/kubernetes/models/v1_se_linux_options.rb +211 -0
- data/lib/kubernetes/models/v1_secret.rb +231 -0
- data/lib/kubernetes/models/v1_secret_env_source.rb +195 -0
- data/lib/kubernetes/models/v1_secret_key_selector.rb +208 -0
- data/lib/kubernetes/models/v1_secret_list.rb +218 -0
- data/lib/kubernetes/models/v1_secret_projection.rb +205 -0
- data/lib/kubernetes/models/v1_secret_reference.rb +195 -0
- data/lib/kubernetes/models/v1_secret_volume_source.rb +213 -0
- data/lib/kubernetes/models/v1_security_context.rb +258 -0
- data/lib/kubernetes/models/v1_self_subject_access_review.rb +223 -0
- data/lib/kubernetes/models/v1_self_subject_access_review_spec.rb +199 -0
- data/lib/kubernetes/models/v1_self_subject_rules_review.rb +223 -0
- data/lib/kubernetes/models/v1_self_subject_rules_review_spec.rb +186 -0
- data/lib/kubernetes/models/v1_server_address_by_client_cidr.rb +209 -0
- data/lib/kubernetes/models/v1_service.rb +219 -0
- data/lib/kubernetes/models/v1_service_account.rb +235 -0
- data/lib/kubernetes/models/v1_service_account_list.rb +218 -0
- data/lib/kubernetes/models/v1_service_account_token_projection.rb +210 -0
- data/lib/kubernetes/models/v1_service_list.rb +218 -0
- data/lib/kubernetes/models/v1_service_port.rb +224 -0
- data/lib/kubernetes/models/v1_service_reference.rb +195 -0
- data/lib/kubernetes/models/v1_service_spec.rb +300 -0
- data/lib/kubernetes/models/v1_service_status.rb +189 -0
- data/lib/kubernetes/models/v1_session_affinity_config.rb +187 -0
- data/lib/kubernetes/models/v1_stateful_set.rb +218 -0
- data/lib/kubernetes/models/v1_stateful_set_condition.rb +229 -0
- data/lib/kubernetes/models/v1_stateful_set_list.rb +214 -0
- data/lib/kubernetes/models/v1_stateful_set_spec.rb +268 -0
- data/lib/kubernetes/models/v1_stateful_set_status.rb +265 -0
- data/lib/kubernetes/models/v1_stateful_set_update_strategy.rb +195 -0
- data/lib/kubernetes/models/v1_status.rb +243 -0
- data/lib/kubernetes/models/v1_status_cause.rb +203 -0
- data/lib/kubernetes/models/v1_status_details.rb +231 -0
- data/lib/kubernetes/models/v1_storage_class.rb +277 -0
- data/lib/kubernetes/models/v1_storage_class_list.rb +218 -0
- data/lib/kubernetes/models/v1_storage_os_persistent_volume_source.rb +221 -0
- data/lib/kubernetes/models/v1_storage_os_volume_source.rb +221 -0
- data/lib/kubernetes/models/v1_subject.rb +219 -0
- data/lib/kubernetes/models/v1_subject_access_review.rb +223 -0
- data/lib/kubernetes/models/v1_subject_access_review_spec.rb +235 -0
- data/lib/kubernetes/models/v1_subject_access_review_status.rb +218 -0
- data/lib/kubernetes/models/v1_subject_rules_review_status.rb +233 -0
- data/lib/kubernetes/models/v1_sysctl.rb +203 -0
- data/lib/kubernetes/models/v1_taint.rb +219 -0
- data/lib/kubernetes/models/v1_tcp_socket_action.rb +200 -0
- data/lib/kubernetes/models/v1_token_review.rb +223 -0
- data/lib/kubernetes/models/v1_token_review_spec.rb +197 -0
- data/lib/kubernetes/models/v1_token_review_status.rb +213 -0
- data/lib/kubernetes/models/v1_toleration.rb +221 -0
- data/lib/kubernetes/models/v1_topology_selector_label_requirement.rb +206 -0
- data/lib/kubernetes/models/v1_topology_selector_term.rb +190 -0
- data/lib/kubernetes/models/v1_typed_local_object_reference.rb +211 -0
- data/lib/kubernetes/models/v1_user_info.rb +215 -0
- data/lib/kubernetes/models/v1_volume.rb +419 -0
- data/lib/kubernetes/models/v1_volume_attachment.rb +224 -0
- data/lib/kubernetes/models/v1_volume_attachment_list.rb +218 -0
- data/lib/kubernetes/models/v1_volume_attachment_source.rb +189 -0
- data/lib/kubernetes/models/v1_volume_attachment_spec.rb +218 -0
- data/lib/kubernetes/models/v1_volume_attachment_status.rb +222 -0
- data/lib/kubernetes/models/v1_volume_device.rb +205 -0
- data/lib/kubernetes/models/v1_volume_error.rb +195 -0
- data/lib/kubernetes/models/v1_volume_mount.rb +229 -0
- data/lib/kubernetes/models/v1_volume_node_affinity.rb +187 -0
- data/lib/kubernetes/models/v1_volume_projection.rb +213 -0
- data/lib/kubernetes/models/v1_vsphere_virtual_disk_volume_source.rb +220 -0
- data/lib/kubernetes/models/v1_watch_event.rb +202 -0
- data/lib/kubernetes/models/v1_weighted_pod_affinity_term.rb +205 -0
- data/lib/kubernetes/models/v1alpha1_aggregation_rule.rb +190 -0
- data/lib/kubernetes/models/v1alpha1_audit_sink.rb +210 -0
- data/lib/kubernetes/models/v1alpha1_audit_sink_list.rb +217 -0
- data/lib/kubernetes/models/v1alpha1_audit_sink_spec.rb +205 -0
- data/lib/kubernetes/models/v1alpha1_cluster_role.rb +227 -0
- data/lib/kubernetes/models/v1alpha1_cluster_role_binding.rb +229 -0
- data/lib/kubernetes/models/v1alpha1_cluster_role_binding_list.rb +218 -0
- data/lib/kubernetes/models/v1alpha1_cluster_role_list.rb +218 -0
- data/lib/kubernetes/models/v1alpha1_initializer.rb +203 -0
- data/lib/kubernetes/models/v1alpha1_initializer_configuration.rb +213 -0
- data/lib/kubernetes/models/v1alpha1_initializer_configuration_list.rb +218 -0
- data/lib/kubernetes/models/v1alpha1_pod_preset.rb +207 -0
- data/lib/kubernetes/models/v1alpha1_pod_preset_list.rb +218 -0
- data/lib/kubernetes/models/v1alpha1_pod_preset_spec.rb +228 -0
- data/lib/kubernetes/models/v1alpha1_policy.rb +203 -0
- data/lib/kubernetes/models/v1alpha1_policy_rule.rb +235 -0
- data/lib/kubernetes/models/v1alpha1_priority_class.rb +232 -0
- data/lib/kubernetes/models/v1alpha1_priority_class_list.rb +218 -0
- data/lib/kubernetes/models/v1alpha1_role.rb +219 -0
- data/lib/kubernetes/models/v1alpha1_role_binding.rb +229 -0
- data/lib/kubernetes/models/v1alpha1_role_binding_list.rb +218 -0
- data/lib/kubernetes/models/v1alpha1_role_list.rb +218 -0
- data/lib/kubernetes/models/v1alpha1_role_ref.rb +216 -0
- data/lib/kubernetes/models/v1alpha1_rule.rb +210 -0
- data/lib/kubernetes/models/v1alpha1_service_reference.rb +213 -0
- data/lib/kubernetes/models/v1alpha1_subject.rb +219 -0
- data/lib/kubernetes/models/v1alpha1_volume_attachment.rb +224 -0
- data/lib/kubernetes/models/v1alpha1_volume_attachment_list.rb +218 -0
- data/lib/kubernetes/models/v1alpha1_volume_attachment_source.rb +189 -0
- data/lib/kubernetes/models/v1alpha1_volume_attachment_spec.rb +218 -0
- data/lib/kubernetes/models/v1alpha1_volume_attachment_status.rb +222 -0
- data/lib/kubernetes/models/v1alpha1_volume_error.rb +195 -0
- data/lib/kubernetes/models/v1alpha1_webhook.rb +202 -0
- data/lib/kubernetes/models/v1alpha1_webhook_client_config.rb +223 -0
- data/lib/kubernetes/models/v1alpha1_webhook_throttle_config.rb +195 -0
- data/lib/kubernetes/models/v1beta1_aggregation_rule.rb +190 -0
- data/lib/kubernetes/models/v1beta1_api_service.rb +218 -0
- data/lib/kubernetes/models/v1beta1_api_service_condition.rb +228 -0
- data/lib/kubernetes/models/v1beta1_api_service_list.rb +214 -0
- data/lib/kubernetes/models/v1beta1_api_service_spec.rb +274 -0
- data/lib/kubernetes/models/v1beta1_api_service_status.rb +190 -0
- data/lib/kubernetes/models/v1beta1_certificate_signing_request.rb +218 -0
- data/lib/kubernetes/models/v1beta1_certificate_signing_request_condition.rb +215 -0
- data/lib/kubernetes/models/v1beta1_certificate_signing_request_list.rb +213 -0
- data/lib/kubernetes/models/v1beta1_certificate_signing_request_spec.rb +260 -0
- data/lib/kubernetes/models/v1beta1_certificate_signing_request_status.rb +219 -0
- data/lib/kubernetes/models/v1beta1_cluster_role.rb +227 -0
- data/lib/kubernetes/models/v1beta1_cluster_role_binding.rb +229 -0
- data/lib/kubernetes/models/v1beta1_cluster_role_binding_list.rb +218 -0
- data/lib/kubernetes/models/v1beta1_cluster_role_list.rb +218 -0
- data/lib/kubernetes/models/v1beta1_controller_revision.rb +226 -0
- data/lib/kubernetes/models/v1beta1_controller_revision_list.rb +218 -0
- data/lib/kubernetes/models/v1beta1_cron_job.rb +219 -0
- data/lib/kubernetes/models/v1beta1_cron_job_list.rb +218 -0
- data/lib/kubernetes/models/v1beta1_cron_job_spec.rb +256 -0
- data/lib/kubernetes/models/v1beta1_cron_job_status.rb +199 -0
- data/lib/kubernetes/models/v1beta1_custom_resource_column_definition.rb +240 -0
- data/lib/kubernetes/models/v1beta1_custom_resource_conversion.rb +204 -0
- data/lib/kubernetes/models/v1beta1_custom_resource_definition.rb +223 -0
- data/lib/kubernetes/models/v1beta1_custom_resource_definition_condition.rb +229 -0
- data/lib/kubernetes/models/v1beta1_custom_resource_definition_list.rb +217 -0
- data/lib/kubernetes/models/v1beta1_custom_resource_definition_names.rb +239 -0
- data/lib/kubernetes/models/v1beta1_custom_resource_definition_spec.rb +268 -0
- data/lib/kubernetes/models/v1beta1_custom_resource_definition_status.rb +225 -0
- data/lib/kubernetes/models/v1beta1_custom_resource_definition_version.rb +244 -0
- data/lib/kubernetes/models/v1beta1_custom_resource_subresource_scale.rb +219 -0
- data/lib/kubernetes/models/v1beta1_custom_resource_subresources.rb +195 -0
- data/lib/kubernetes/models/v1beta1_custom_resource_validation.rb +189 -0
- data/lib/kubernetes/models/v1beta1_daemon_set.rb +219 -0
- data/lib/kubernetes/models/v1beta1_daemon_set_condition.rb +229 -0
- data/lib/kubernetes/models/v1beta1_daemon_set_list.rb +218 -0
- data/lib/kubernetes/models/v1beta1_daemon_set_spec.rb +241 -0
- data/lib/kubernetes/models/v1beta1_daemon_set_status.rb +296 -0
- data/lib/kubernetes/models/v1beta1_daemon_set_update_strategy.rb +194 -0
- data/lib/kubernetes/models/v1beta1_event.rb +330 -0
- data/lib/kubernetes/models/v1beta1_event_list.rb +218 -0
- data/lib/kubernetes/models/v1beta1_event_series.rb +216 -0
- data/lib/kubernetes/models/v1beta1_eviction.rb +211 -0
- data/lib/kubernetes/models/v1beta1_external_documentation.rb +191 -0
- data/lib/kubernetes/models/v1beta1_http_ingress_path.rb +202 -0
- data/lib/kubernetes/models/v1beta1_http_ingress_rule_value.rb +195 -0
- data/lib/kubernetes/models/v1beta1_ingress.rb +219 -0
- data/lib/kubernetes/models/v1beta1_ingress_backend.rb +209 -0
- data/lib/kubernetes/models/v1beta1_ingress_list.rb +218 -0
- data/lib/kubernetes/models/v1beta1_ingress_rule.rb +194 -0
- data/lib/kubernetes/models/v1beta1_ingress_spec.rb +208 -0
- data/lib/kubernetes/models/v1beta1_ingress_status.rb +189 -0
- data/lib/kubernetes/models/v1beta1_ingress_tls.rb +197 -0
- data/lib/kubernetes/models/v1beta1_ip_block.rb +203 -0
- data/lib/kubernetes/models/v1beta1_job_template_spec.rb +195 -0
- data/lib/kubernetes/models/v1beta1_json_schema_props.rb +400 -0
- data/lib/kubernetes/models/v1beta1_lease.rb +211 -0
- data/lib/kubernetes/models/v1beta1_lease_list.rb +218 -0
- data/lib/kubernetes/models/v1beta1_lease_spec.rb +221 -0
- data/lib/kubernetes/models/v1beta1_local_subject_access_review.rb +223 -0
- data/lib/kubernetes/models/v1beta1_mutating_webhook_configuration.rb +214 -0
- data/lib/kubernetes/models/v1beta1_mutating_webhook_configuration_list.rb +218 -0
- data/lib/kubernetes/models/v1beta1_network_policy.rb +211 -0
- data/lib/kubernetes/models/v1beta1_network_policy_egress_rule.rb +200 -0
- data/lib/kubernetes/models/v1beta1_network_policy_ingress_rule.rb +200 -0
- data/lib/kubernetes/models/v1beta1_network_policy_list.rb +218 -0
- data/lib/kubernetes/models/v1beta1_network_policy_peer.rb +207 -0
- data/lib/kubernetes/models/v1beta1_network_policy_port.rb +195 -0
- data/lib/kubernetes/models/v1beta1_network_policy_spec.rb +225 -0
- data/lib/kubernetes/models/v1beta1_non_resource_attributes.rb +195 -0
- data/lib/kubernetes/models/v1beta1_non_resource_rule.rb +205 -0
- data/lib/kubernetes/models/v1beta1_pod_disruption_budget.rb +218 -0
- data/lib/kubernetes/models/v1beta1_pod_disruption_budget_list.rb +214 -0
- data/lib/kubernetes/models/v1beta1_pod_disruption_budget_spec.rb +203 -0
- data/lib/kubernetes/models/v1beta1_pod_disruption_budget_status.rb +256 -0
- data/lib/kubernetes/models/v1beta1_policy_rule.rb +235 -0
- data/lib/kubernetes/models/v1beta1_priority_class.rb +232 -0
- data/lib/kubernetes/models/v1beta1_priority_class_list.rb +218 -0
- data/lib/kubernetes/models/v1beta1_replica_set.rb +219 -0
- data/lib/kubernetes/models/v1beta1_replica_set_condition.rb +229 -0
- data/lib/kubernetes/models/v1beta1_replica_set_list.rb +218 -0
- data/lib/kubernetes/models/v1beta1_replica_set_spec.rb +211 -0
- data/lib/kubernetes/models/v1beta1_replica_set_status.rb +243 -0
- data/lib/kubernetes/models/v1beta1_resource_attributes.rb +235 -0
- data/lib/kubernetes/models/v1beta1_resource_rule.rb +225 -0
- data/lib/kubernetes/models/v1beta1_role.rb +219 -0
- data/lib/kubernetes/models/v1beta1_role_binding.rb +229 -0
- data/lib/kubernetes/models/v1beta1_role_binding_list.rb +218 -0
- data/lib/kubernetes/models/v1beta1_role_list.rb +218 -0
- data/lib/kubernetes/models/v1beta1_role_ref.rb +216 -0
- data/lib/kubernetes/models/v1beta1_rolling_update_daemon_set.rb +189 -0
- data/lib/kubernetes/models/v1beta1_rolling_update_stateful_set_strategy.rb +187 -0
- data/lib/kubernetes/models/v1beta1_rule_with_operations.rb +220 -0
- data/lib/kubernetes/models/v1beta1_self_subject_access_review.rb +223 -0
- data/lib/kubernetes/models/v1beta1_self_subject_access_review_spec.rb +199 -0
- data/lib/kubernetes/models/v1beta1_self_subject_rules_review.rb +223 -0
- data/lib/kubernetes/models/v1beta1_self_subject_rules_review_spec.rb +186 -0
- data/lib/kubernetes/models/v1beta1_stateful_set.rb +218 -0
- data/lib/kubernetes/models/v1beta1_stateful_set_condition.rb +229 -0
- data/lib/kubernetes/models/v1beta1_stateful_set_list.rb +214 -0
- data/lib/kubernetes/models/v1beta1_stateful_set_spec.rb +263 -0
- data/lib/kubernetes/models/v1beta1_stateful_set_status.rb +265 -0
- data/lib/kubernetes/models/v1beta1_stateful_set_update_strategy.rb +195 -0
- data/lib/kubernetes/models/v1beta1_storage_class.rb +277 -0
- data/lib/kubernetes/models/v1beta1_storage_class_list.rb +218 -0
- data/lib/kubernetes/models/v1beta1_subject.rb +219 -0
- data/lib/kubernetes/models/v1beta1_subject_access_review.rb +223 -0
- data/lib/kubernetes/models/v1beta1_subject_access_review_spec.rb +235 -0
- data/lib/kubernetes/models/v1beta1_subject_access_review_status.rb +218 -0
- data/lib/kubernetes/models/v1beta1_subject_rules_review_status.rb +233 -0
- data/lib/kubernetes/models/v1beta1_token_review.rb +223 -0
- data/lib/kubernetes/models/v1beta1_token_review_spec.rb +197 -0
- data/lib/kubernetes/models/v1beta1_token_review_status.rb +213 -0
- data/lib/kubernetes/models/v1beta1_user_info.rb +215 -0
- data/lib/kubernetes/models/v1beta1_validating_webhook_configuration.rb +214 -0
- data/lib/kubernetes/models/v1beta1_validating_webhook_configuration_list.rb +218 -0
- data/lib/kubernetes/models/v1beta1_volume_attachment.rb +224 -0
- data/lib/kubernetes/models/v1beta1_volume_attachment_list.rb +218 -0
- data/lib/kubernetes/models/v1beta1_volume_attachment_source.rb +189 -0
- data/lib/kubernetes/models/v1beta1_volume_attachment_spec.rb +218 -0
- data/lib/kubernetes/models/v1beta1_volume_attachment_status.rb +222 -0
- data/lib/kubernetes/models/v1beta1_volume_error.rb +195 -0
- data/lib/kubernetes/models/v1beta1_webhook.rb +243 -0
- data/lib/kubernetes/models/v1beta2_controller_revision.rb +226 -0
- data/lib/kubernetes/models/v1beta2_controller_revision_list.rb +218 -0
- data/lib/kubernetes/models/v1beta2_daemon_set.rb +219 -0
- data/lib/kubernetes/models/v1beta2_daemon_set_condition.rb +229 -0
- data/lib/kubernetes/models/v1beta2_daemon_set_list.rb +218 -0
- data/lib/kubernetes/models/v1beta2_daemon_set_spec.rb +235 -0
- data/lib/kubernetes/models/v1beta2_daemon_set_status.rb +296 -0
- data/lib/kubernetes/models/v1beta2_daemon_set_update_strategy.rb +195 -0
- data/lib/kubernetes/models/v1beta2_deployment.rb +219 -0
- data/lib/kubernetes/models/v1beta2_deployment_condition.rb +237 -0
- data/lib/kubernetes/models/v1beta2_deployment_list.rb +218 -0
- data/lib/kubernetes/models/v1beta2_deployment_spec.rb +260 -0
- data/lib/kubernetes/models/v1beta2_deployment_status.rb +254 -0
- data/lib/kubernetes/models/v1beta2_deployment_strategy.rb +195 -0
- data/lib/kubernetes/models/v1beta2_replica_set.rb +219 -0
- data/lib/kubernetes/models/v1beta2_replica_set_condition.rb +229 -0
- data/lib/kubernetes/models/v1beta2_replica_set_list.rb +218 -0
- data/lib/kubernetes/models/v1beta2_replica_set_spec.rb +218 -0
- data/lib/kubernetes/models/v1beta2_replica_set_status.rb +243 -0
- data/lib/kubernetes/models/v1beta2_rolling_update_daemon_set.rb +189 -0
- data/lib/kubernetes/models/v1beta2_rolling_update_deployment.rb +197 -0
- data/lib/kubernetes/models/v1beta2_rolling_update_stateful_set_strategy.rb +187 -0
- data/lib/kubernetes/models/v1beta2_scale.rb +219 -0
- data/lib/kubernetes/models/v1beta2_scale_spec.rb +187 -0
- data/lib/kubernetes/models/v1beta2_scale_status.rb +214 -0
- data/lib/kubernetes/models/v1beta2_stateful_set.rb +218 -0
- data/lib/kubernetes/models/v1beta2_stateful_set_condition.rb +229 -0
- data/lib/kubernetes/models/v1beta2_stateful_set_list.rb +214 -0
- data/lib/kubernetes/models/v1beta2_stateful_set_spec.rb +268 -0
- data/lib/kubernetes/models/v1beta2_stateful_set_status.rb +265 -0
- data/lib/kubernetes/models/v1beta2_stateful_set_update_strategy.rb +195 -0
- data/lib/kubernetes/models/v2alpha1_cron_job.rb +219 -0
- data/lib/kubernetes/models/v2alpha1_cron_job_list.rb +218 -0
- data/lib/kubernetes/models/v2alpha1_cron_job_spec.rb +256 -0
- data/lib/kubernetes/models/v2alpha1_cron_job_status.rb +199 -0
- data/lib/kubernetes/models/v2alpha1_job_template_spec.rb +195 -0
- data/lib/kubernetes/models/v2beta1_cross_version_object_reference.rb +211 -0
- data/lib/kubernetes/models/v2beta1_external_metric_source.rb +222 -0
- data/lib/kubernetes/models/v2beta1_external_metric_status.rb +227 -0
- data/lib/kubernetes/models/v2beta1_horizontal_pod_autoscaler.rb +219 -0
- data/lib/kubernetes/models/v2beta1_horizontal_pod_autoscaler_condition.rb +229 -0
- data/lib/kubernetes/models/v2beta1_horizontal_pod_autoscaler_list.rb +218 -0
- data/lib/kubernetes/models/v2beta1_horizontal_pod_autoscaler_spec.rb +227 -0
- data/lib/kubernetes/models/v2beta1_horizontal_pod_autoscaler_status.rb +251 -0
- data/lib/kubernetes/models/v2beta1_metric_spec.rb +224 -0
- data/lib/kubernetes/models/v2beta1_metric_status.rb +224 -0
- data/lib/kubernetes/models/v2beta1_object_metric_source.rb +236 -0
- data/lib/kubernetes/models/v2beta1_object_metric_status.rb +234 -0
- data/lib/kubernetes/models/v2beta1_pods_metric_source.rb +217 -0
- data/lib/kubernetes/models/v2beta1_pods_metric_status.rb +217 -0
- data/lib/kubernetes/models/v2beta1_resource_metric_source.rb +212 -0
- data/lib/kubernetes/models/v2beta1_resource_metric_status.rb +217 -0
- data/lib/kubernetes/models/v2beta2_cross_version_object_reference.rb +211 -0
- data/lib/kubernetes/models/v2beta2_external_metric_source.rb +203 -0
- data/lib/kubernetes/models/v2beta2_external_metric_status.rb +205 -0
- data/lib/kubernetes/models/v2beta2_horizontal_pod_autoscaler.rb +219 -0
- data/lib/kubernetes/models/v2beta2_horizontal_pod_autoscaler_condition.rb +229 -0
- data/lib/kubernetes/models/v2beta2_horizontal_pod_autoscaler_list.rb +218 -0
- data/lib/kubernetes/models/v2beta2_horizontal_pod_autoscaler_spec.rb +227 -0
- data/lib/kubernetes/models/v2beta2_horizontal_pod_autoscaler_status.rb +251 -0
- data/lib/kubernetes/models/v2beta2_metric_identifier.rb +200 -0
- data/lib/kubernetes/models/v2beta2_metric_spec.rb +224 -0
- data/lib/kubernetes/models/v2beta2_metric_status.rb +224 -0
- data/lib/kubernetes/models/v2beta2_metric_target.rb +218 -0
- data/lib/kubernetes/models/v2beta2_metric_value_status.rb +205 -0
- data/lib/kubernetes/models/v2beta2_object_metric_source.rb +215 -0
- data/lib/kubernetes/models/v2beta2_object_metric_status.rb +217 -0
- data/lib/kubernetes/models/v2beta2_pods_metric_source.rb +203 -0
- data/lib/kubernetes/models/v2beta2_pods_metric_status.rb +205 -0
- data/lib/kubernetes/models/v2beta2_resource_metric_source.rb +203 -0
- data/lib/kubernetes/models/v2beta2_resource_metric_status.rb +205 -0
- data/lib/kubernetes/models/version_info.rb +271 -0
- data/lib/kubernetes/version.rb +15 -0
- data/lib/kubernetes.rb +679 -0
- data/spec/config/incluster_config_spec.rb +162 -0
- data/spec/config/kube_config_spec.rb +321 -0
- data/spec/config/matchers.rb +29 -0
- data/spec/fixtures/config/kube_config_hash.rb +196 -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/fixtures/files/tokens/token2 +1 -0
- data/spec/helpers/file_fixtures.rb +43 -0
- data/spec/spec_helper.rb +113 -0
- data/spec/utils_spec.rb +117 -0
- data/spec/watch_spec.rb +92 -0
- data/src/kubernetes/config/error.rb +19 -0
- data/src/kubernetes/config/incluster_config.rb +100 -0
- data/src/kubernetes/config/kube_config.rb +190 -0
- data/src/kubernetes/loader.rb +57 -0
- data/src/kubernetes/utils.rb +94 -0
- data/src/kubernetes/watch.rb +60 -0
- data/swagger.json +89546 -0
- metadata +1387 -0
@@ -0,0 +1,616 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# #Kubernetes
|
4
|
+
#
|
5
|
+
# No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
6
|
+
#
|
7
|
+
# OpenAPI spec version: v1.13.4
|
8
|
+
#
|
9
|
+
# Generated by: https://github.com/swagger-api/swagger-codegen.git
|
10
|
+
# Swagger Codegen version: 2.2.3
|
11
|
+
#
|
12
|
+
|
13
|
+
require 'uri'
|
14
|
+
|
15
|
+
module Kubernetes
|
16
|
+
class SchedulingV1alpha1Api
|
17
|
+
attr_accessor :api_client
|
18
|
+
|
19
|
+
def initialize(api_client = ApiClient.default)
|
20
|
+
@api_client = api_client
|
21
|
+
end
|
22
|
+
|
23
|
+
#
|
24
|
+
# create a PriorityClass
|
25
|
+
# @param body
|
26
|
+
# @param [Hash] opts the optional parameters
|
27
|
+
# @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response.
|
28
|
+
# @option opts [String] :pretty If 'true', then the output is pretty printed.
|
29
|
+
# @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
|
30
|
+
# @return [V1alpha1PriorityClass]
|
31
|
+
def create_priority_class(body, opts = {})
|
32
|
+
data, _status_code, _headers = create_priority_class_with_http_info(body, opts)
|
33
|
+
data
|
34
|
+
end
|
35
|
+
|
36
|
+
#
|
37
|
+
# create a PriorityClass
|
38
|
+
# @param body
|
39
|
+
# @param [Hash] opts the optional parameters
|
40
|
+
# @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response.
|
41
|
+
# @option opts [String] :pretty If 'true', then the output is pretty printed.
|
42
|
+
# @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
|
43
|
+
# @return [Array<(V1alpha1PriorityClass, Fixnum, Hash)>] V1alpha1PriorityClass data, response status code and response headers
|
44
|
+
def create_priority_class_with_http_info(body, opts = {})
|
45
|
+
if @api_client.config.debugging
|
46
|
+
@api_client.config.logger.debug 'Calling API: SchedulingV1alpha1Api.create_priority_class ...'
|
47
|
+
end
|
48
|
+
# verify the required parameter 'body' is set
|
49
|
+
if @api_client.config.client_side_validation && body.nil?
|
50
|
+
raise ArgumentError,
|
51
|
+
"Missing the required parameter 'body' when calling SchedulingV1alpha1Api.create_priority_class"
|
52
|
+
end
|
53
|
+
|
54
|
+
# resource path
|
55
|
+
local_var_path = '/apis/scheduling.k8s.io/v1alpha1/priorityclasses'
|
56
|
+
|
57
|
+
# query parameters
|
58
|
+
query_params = {}
|
59
|
+
unless opts[:include_uninitialized].nil?
|
60
|
+
query_params[:includeUninitialized] =
|
61
|
+
opts[:include_uninitialized]
|
62
|
+
end
|
63
|
+
query_params[:pretty] = opts[:pretty] unless opts[:pretty].nil?
|
64
|
+
query_params[:dryRun] = opts[:dry_run] unless opts[:dry_run].nil?
|
65
|
+
|
66
|
+
# header parameters
|
67
|
+
header_params = {}
|
68
|
+
# HTTP header 'Accept' (if needed)
|
69
|
+
header_params['Accept'] =
|
70
|
+
@api_client.select_header_accept(['application/json', 'application/yaml',
|
71
|
+
'application/vnd.kubernetes.protobuf'])
|
72
|
+
# HTTP header 'Content-Type'
|
73
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['*/*'])
|
74
|
+
|
75
|
+
# form parameters
|
76
|
+
form_params = {}
|
77
|
+
|
78
|
+
# http body (model)
|
79
|
+
post_body = @api_client.object_to_http_body(body)
|
80
|
+
auth_names = ['BearerToken']
|
81
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
82
|
+
header_params: header_params,
|
83
|
+
query_params: query_params,
|
84
|
+
form_params: form_params,
|
85
|
+
body: post_body,
|
86
|
+
auth_names: auth_names,
|
87
|
+
return_type: 'V1alpha1PriorityClass')
|
88
|
+
if @api_client.config.debugging
|
89
|
+
@api_client.config.logger.debug "API called: SchedulingV1alpha1Api#create_priority_class\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
90
|
+
end
|
91
|
+
[data, status_code, headers]
|
92
|
+
end
|
93
|
+
|
94
|
+
#
|
95
|
+
# delete collection of PriorityClass
|
96
|
+
# @param [Hash] opts the optional parameters
|
97
|
+
# @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response.
|
98
|
+
# @option opts [String] :pretty If 'true', then the output is pretty printed.
|
99
|
+
# @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
|
100
|
+
# @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything.
|
101
|
+
# @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything.
|
102
|
+
# @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
|
103
|
+
# @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.
|
104
|
+
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
105
|
+
# @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
|
106
|
+
# @return [V1Status]
|
107
|
+
def delete_collection_priority_class(opts = {})
|
108
|
+
data, _status_code, _headers = delete_collection_priority_class_with_http_info(opts)
|
109
|
+
data
|
110
|
+
end
|
111
|
+
|
112
|
+
#
|
113
|
+
# delete collection of PriorityClass
|
114
|
+
# @param [Hash] opts the optional parameters
|
115
|
+
# @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response.
|
116
|
+
# @option opts [String] :pretty If 'true', then the output is pretty printed.
|
117
|
+
# @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
|
118
|
+
# @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything.
|
119
|
+
# @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything.
|
120
|
+
# @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
|
121
|
+
# @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.
|
122
|
+
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
123
|
+
# @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
|
124
|
+
# @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers
|
125
|
+
def delete_collection_priority_class_with_http_info(opts = {})
|
126
|
+
if @api_client.config.debugging
|
127
|
+
@api_client.config.logger.debug 'Calling API: SchedulingV1alpha1Api.delete_collection_priority_class ...'
|
128
|
+
end
|
129
|
+
# resource path
|
130
|
+
local_var_path = '/apis/scheduling.k8s.io/v1alpha1/priorityclasses'
|
131
|
+
|
132
|
+
# query parameters
|
133
|
+
query_params = {}
|
134
|
+
unless opts[:include_uninitialized].nil?
|
135
|
+
query_params[:includeUninitialized] =
|
136
|
+
opts[:include_uninitialized]
|
137
|
+
end
|
138
|
+
query_params[:pretty] = opts[:pretty] unless opts[:pretty].nil?
|
139
|
+
query_params[:continue] = opts[:continue] unless opts[:continue].nil?
|
140
|
+
query_params[:fieldSelector] = opts[:field_selector] unless opts[:field_selector].nil?
|
141
|
+
query_params[:labelSelector] = opts[:label_selector] unless opts[:label_selector].nil?
|
142
|
+
query_params[:limit] = opts[:limit] unless opts[:limit].nil?
|
143
|
+
query_params[:resourceVersion] = opts[:resource_version] unless opts[:resource_version].nil?
|
144
|
+
query_params[:timeoutSeconds] = opts[:timeout_seconds] unless opts[:timeout_seconds].nil?
|
145
|
+
query_params[:watch] = opts[:watch] unless opts[:watch].nil?
|
146
|
+
|
147
|
+
# header parameters
|
148
|
+
header_params = {}
|
149
|
+
# HTTP header 'Accept' (if needed)
|
150
|
+
header_params['Accept'] =
|
151
|
+
@api_client.select_header_accept(['application/json', 'application/yaml',
|
152
|
+
'application/vnd.kubernetes.protobuf'])
|
153
|
+
# HTTP header 'Content-Type'
|
154
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['*/*'])
|
155
|
+
|
156
|
+
# form parameters
|
157
|
+
form_params = {}
|
158
|
+
|
159
|
+
# http body (model)
|
160
|
+
post_body = nil
|
161
|
+
auth_names = ['BearerToken']
|
162
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
163
|
+
header_params: header_params,
|
164
|
+
query_params: query_params,
|
165
|
+
form_params: form_params,
|
166
|
+
body: post_body,
|
167
|
+
auth_names: auth_names,
|
168
|
+
return_type: 'V1Status')
|
169
|
+
if @api_client.config.debugging
|
170
|
+
@api_client.config.logger.debug "API called: SchedulingV1alpha1Api#delete_collection_priority_class\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
171
|
+
end
|
172
|
+
[data, status_code, headers]
|
173
|
+
end
|
174
|
+
|
175
|
+
#
|
176
|
+
# delete a PriorityClass
|
177
|
+
# @param name name of the PriorityClass
|
178
|
+
# @param [Hash] opts the optional parameters
|
179
|
+
# @option opts [String] :pretty If 'true', then the output is pretty printed.
|
180
|
+
# @option opts [V1DeleteOptions] :body
|
181
|
+
# @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
|
182
|
+
# @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.
|
183
|
+
# @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.
|
184
|
+
# @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.
|
185
|
+
# @return [V1Status]
|
186
|
+
def delete_priority_class(name, opts = {})
|
187
|
+
data, _status_code, _headers = delete_priority_class_with_http_info(name, opts)
|
188
|
+
data
|
189
|
+
end
|
190
|
+
|
191
|
+
#
|
192
|
+
# delete a PriorityClass
|
193
|
+
# @param name name of the PriorityClass
|
194
|
+
# @param [Hash] opts the optional parameters
|
195
|
+
# @option opts [String] :pretty If 'true', then the output is pretty printed.
|
196
|
+
# @option opts [V1DeleteOptions] :body
|
197
|
+
# @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
|
198
|
+
# @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.
|
199
|
+
# @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.
|
200
|
+
# @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.
|
201
|
+
# @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers
|
202
|
+
def delete_priority_class_with_http_info(name, opts = {})
|
203
|
+
if @api_client.config.debugging
|
204
|
+
@api_client.config.logger.debug 'Calling API: SchedulingV1alpha1Api.delete_priority_class ...'
|
205
|
+
end
|
206
|
+
# verify the required parameter 'name' is set
|
207
|
+
if @api_client.config.client_side_validation && name.nil?
|
208
|
+
raise ArgumentError,
|
209
|
+
"Missing the required parameter 'name' when calling SchedulingV1alpha1Api.delete_priority_class"
|
210
|
+
end
|
211
|
+
|
212
|
+
# resource path
|
213
|
+
local_var_path = '/apis/scheduling.k8s.io/v1alpha1/priorityclasses/{name}'.sub(
|
214
|
+
'{name}', name.to_s
|
215
|
+
)
|
216
|
+
|
217
|
+
# query parameters
|
218
|
+
query_params = {}
|
219
|
+
query_params[:pretty] = opts[:pretty] unless opts[:pretty].nil?
|
220
|
+
query_params[:dryRun] = opts[:dry_run] unless opts[:dry_run].nil?
|
221
|
+
unless opts[:grace_period_seconds].nil?
|
222
|
+
query_params[:gracePeriodSeconds] =
|
223
|
+
opts[:grace_period_seconds]
|
224
|
+
end
|
225
|
+
unless opts[:orphan_dependents].nil?
|
226
|
+
query_params[:orphanDependents] =
|
227
|
+
opts[:orphan_dependents]
|
228
|
+
end
|
229
|
+
unless opts[:propagation_policy].nil?
|
230
|
+
query_params[:propagationPolicy] =
|
231
|
+
opts[:propagation_policy]
|
232
|
+
end
|
233
|
+
|
234
|
+
# header parameters
|
235
|
+
header_params = {}
|
236
|
+
# HTTP header 'Accept' (if needed)
|
237
|
+
header_params['Accept'] =
|
238
|
+
@api_client.select_header_accept(['application/json', 'application/yaml',
|
239
|
+
'application/vnd.kubernetes.protobuf'])
|
240
|
+
# HTTP header 'Content-Type'
|
241
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['*/*'])
|
242
|
+
|
243
|
+
# form parameters
|
244
|
+
form_params = {}
|
245
|
+
|
246
|
+
# http body (model)
|
247
|
+
post_body = @api_client.object_to_http_body(opts[:body])
|
248
|
+
auth_names = ['BearerToken']
|
249
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
250
|
+
header_params: header_params,
|
251
|
+
query_params: query_params,
|
252
|
+
form_params: form_params,
|
253
|
+
body: post_body,
|
254
|
+
auth_names: auth_names,
|
255
|
+
return_type: 'V1Status')
|
256
|
+
if @api_client.config.debugging
|
257
|
+
@api_client.config.logger.debug "API called: SchedulingV1alpha1Api#delete_priority_class\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
258
|
+
end
|
259
|
+
[data, status_code, headers]
|
260
|
+
end
|
261
|
+
|
262
|
+
#
|
263
|
+
# get available resources
|
264
|
+
# @param [Hash] opts the optional parameters
|
265
|
+
# @return [V1APIResourceList]
|
266
|
+
def get_api_resources(opts = {})
|
267
|
+
data, _status_code, _headers = get_api_resources_with_http_info(opts)
|
268
|
+
data
|
269
|
+
end
|
270
|
+
|
271
|
+
#
|
272
|
+
# get available resources
|
273
|
+
# @param [Hash] opts the optional parameters
|
274
|
+
# @return [Array<(V1APIResourceList, Fixnum, Hash)>] V1APIResourceList data, response status code and response headers
|
275
|
+
def get_api_resources_with_http_info(_opts = {})
|
276
|
+
if @api_client.config.debugging
|
277
|
+
@api_client.config.logger.debug 'Calling API: SchedulingV1alpha1Api.get_api_resources ...'
|
278
|
+
end
|
279
|
+
# resource path
|
280
|
+
local_var_path = '/apis/scheduling.k8s.io/v1alpha1/'
|
281
|
+
|
282
|
+
# query parameters
|
283
|
+
query_params = {}
|
284
|
+
|
285
|
+
# header parameters
|
286
|
+
header_params = {}
|
287
|
+
# HTTP header 'Accept' (if needed)
|
288
|
+
header_params['Accept'] =
|
289
|
+
@api_client.select_header_accept(['application/json', 'application/yaml',
|
290
|
+
'application/vnd.kubernetes.protobuf'])
|
291
|
+
# HTTP header 'Content-Type'
|
292
|
+
header_params['Content-Type'] =
|
293
|
+
@api_client.select_header_content_type(['application/json', 'application/yaml',
|
294
|
+
'application/vnd.kubernetes.protobuf'])
|
295
|
+
|
296
|
+
# form parameters
|
297
|
+
form_params = {}
|
298
|
+
|
299
|
+
# http body (model)
|
300
|
+
post_body = nil
|
301
|
+
auth_names = ['BearerToken']
|
302
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
303
|
+
header_params: header_params,
|
304
|
+
query_params: query_params,
|
305
|
+
form_params: form_params,
|
306
|
+
body: post_body,
|
307
|
+
auth_names: auth_names,
|
308
|
+
return_type: 'V1APIResourceList')
|
309
|
+
if @api_client.config.debugging
|
310
|
+
@api_client.config.logger.debug "API called: SchedulingV1alpha1Api#get_api_resources\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
311
|
+
end
|
312
|
+
[data, status_code, headers]
|
313
|
+
end
|
314
|
+
|
315
|
+
#
|
316
|
+
# list or watch objects of kind PriorityClass
|
317
|
+
# @param [Hash] opts the optional parameters
|
318
|
+
# @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response.
|
319
|
+
# @option opts [String] :pretty If 'true', then the output is pretty printed.
|
320
|
+
# @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
|
321
|
+
# @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything.
|
322
|
+
# @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything.
|
323
|
+
# @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
|
324
|
+
# @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.
|
325
|
+
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
326
|
+
# @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
|
327
|
+
# @return [V1alpha1PriorityClassList]
|
328
|
+
def list_priority_class(opts = {})
|
329
|
+
data, _status_code, _headers = list_priority_class_with_http_info(opts)
|
330
|
+
data
|
331
|
+
end
|
332
|
+
|
333
|
+
#
|
334
|
+
# list or watch objects of kind PriorityClass
|
335
|
+
# @param [Hash] opts the optional parameters
|
336
|
+
# @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response.
|
337
|
+
# @option opts [String] :pretty If 'true', then the output is pretty printed.
|
338
|
+
# @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
|
339
|
+
# @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything.
|
340
|
+
# @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything.
|
341
|
+
# @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
|
342
|
+
# @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.
|
343
|
+
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
344
|
+
# @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
|
345
|
+
# @return [Array<(V1alpha1PriorityClassList, Fixnum, Hash)>] V1alpha1PriorityClassList data, response status code and response headers
|
346
|
+
def list_priority_class_with_http_info(opts = {})
|
347
|
+
if @api_client.config.debugging
|
348
|
+
@api_client.config.logger.debug 'Calling API: SchedulingV1alpha1Api.list_priority_class ...'
|
349
|
+
end
|
350
|
+
# resource path
|
351
|
+
local_var_path = '/apis/scheduling.k8s.io/v1alpha1/priorityclasses'
|
352
|
+
|
353
|
+
# query parameters
|
354
|
+
query_params = {}
|
355
|
+
unless opts[:include_uninitialized].nil?
|
356
|
+
query_params[:includeUninitialized] =
|
357
|
+
opts[:include_uninitialized]
|
358
|
+
end
|
359
|
+
query_params[:pretty] = opts[:pretty] unless opts[:pretty].nil?
|
360
|
+
query_params[:continue] = opts[:continue] unless opts[:continue].nil?
|
361
|
+
query_params[:fieldSelector] = opts[:field_selector] unless opts[:field_selector].nil?
|
362
|
+
query_params[:labelSelector] = opts[:label_selector] unless opts[:label_selector].nil?
|
363
|
+
query_params[:limit] = opts[:limit] unless opts[:limit].nil?
|
364
|
+
query_params[:resourceVersion] = opts[:resource_version] unless opts[:resource_version].nil?
|
365
|
+
query_params[:timeoutSeconds] = opts[:timeout_seconds] unless opts[:timeout_seconds].nil?
|
366
|
+
query_params[:watch] = opts[:watch] unless opts[:watch].nil?
|
367
|
+
|
368
|
+
# header parameters
|
369
|
+
header_params = {}
|
370
|
+
# HTTP header 'Accept' (if needed)
|
371
|
+
header_params['Accept'] =
|
372
|
+
@api_client.select_header_accept(['application/json', 'application/yaml',
|
373
|
+
'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch'])
|
374
|
+
# HTTP header 'Content-Type'
|
375
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['*/*'])
|
376
|
+
|
377
|
+
# form parameters
|
378
|
+
form_params = {}
|
379
|
+
|
380
|
+
# http body (model)
|
381
|
+
post_body = nil
|
382
|
+
auth_names = ['BearerToken']
|
383
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
384
|
+
header_params: header_params,
|
385
|
+
query_params: query_params,
|
386
|
+
form_params: form_params,
|
387
|
+
body: post_body,
|
388
|
+
auth_names: auth_names,
|
389
|
+
return_type: 'V1alpha1PriorityClassList')
|
390
|
+
if @api_client.config.debugging
|
391
|
+
@api_client.config.logger.debug "API called: SchedulingV1alpha1Api#list_priority_class\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
392
|
+
end
|
393
|
+
[data, status_code, headers]
|
394
|
+
end
|
395
|
+
|
396
|
+
#
|
397
|
+
# partially update the specified PriorityClass
|
398
|
+
# @param name name of the PriorityClass
|
399
|
+
# @param body
|
400
|
+
# @param [Hash] opts the optional parameters
|
401
|
+
# @option opts [String] :pretty If 'true', then the output is pretty printed.
|
402
|
+
# @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
|
403
|
+
# @return [V1alpha1PriorityClass]
|
404
|
+
def patch_priority_class(name, body, opts = {})
|
405
|
+
data, _status_code, _headers = patch_priority_class_with_http_info(name, body, opts)
|
406
|
+
data
|
407
|
+
end
|
408
|
+
|
409
|
+
#
|
410
|
+
# partially update the specified PriorityClass
|
411
|
+
# @param name name of the PriorityClass
|
412
|
+
# @param body
|
413
|
+
# @param [Hash] opts the optional parameters
|
414
|
+
# @option opts [String] :pretty If 'true', then the output is pretty printed.
|
415
|
+
# @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
|
416
|
+
# @return [Array<(V1alpha1PriorityClass, Fixnum, Hash)>] V1alpha1PriorityClass data, response status code and response headers
|
417
|
+
def patch_priority_class_with_http_info(name, body, opts = {})
|
418
|
+
if @api_client.config.debugging
|
419
|
+
@api_client.config.logger.debug 'Calling API: SchedulingV1alpha1Api.patch_priority_class ...'
|
420
|
+
end
|
421
|
+
# verify the required parameter 'name' is set
|
422
|
+
if @api_client.config.client_side_validation && name.nil?
|
423
|
+
raise ArgumentError,
|
424
|
+
"Missing the required parameter 'name' when calling SchedulingV1alpha1Api.patch_priority_class"
|
425
|
+
end
|
426
|
+
# verify the required parameter 'body' is set
|
427
|
+
if @api_client.config.client_side_validation && body.nil?
|
428
|
+
raise ArgumentError,
|
429
|
+
"Missing the required parameter 'body' when calling SchedulingV1alpha1Api.patch_priority_class"
|
430
|
+
end
|
431
|
+
|
432
|
+
# resource path
|
433
|
+
local_var_path = '/apis/scheduling.k8s.io/v1alpha1/priorityclasses/{name}'.sub(
|
434
|
+
'{name}', name.to_s
|
435
|
+
)
|
436
|
+
|
437
|
+
# query parameters
|
438
|
+
query_params = {}
|
439
|
+
query_params[:pretty] = opts[:pretty] unless opts[:pretty].nil?
|
440
|
+
query_params[:dryRun] = opts[:dry_run] unless opts[:dry_run].nil?
|
441
|
+
|
442
|
+
# header parameters
|
443
|
+
header_params = {}
|
444
|
+
# HTTP header 'Accept' (if needed)
|
445
|
+
header_params['Accept'] =
|
446
|
+
@api_client.select_header_accept(['application/json', 'application/yaml',
|
447
|
+
'application/vnd.kubernetes.protobuf'])
|
448
|
+
# HTTP header 'Content-Type'
|
449
|
+
header_params['Content-Type'] =
|
450
|
+
@api_client.select_header_content_type(['application/json-patch+json',
|
451
|
+
'application/merge-patch+json', 'application/strategic-merge-patch+json'])
|
452
|
+
|
453
|
+
# form parameters
|
454
|
+
form_params = {}
|
455
|
+
|
456
|
+
# http body (model)
|
457
|
+
post_body = @api_client.object_to_http_body(body)
|
458
|
+
auth_names = ['BearerToken']
|
459
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
460
|
+
header_params: header_params,
|
461
|
+
query_params: query_params,
|
462
|
+
form_params: form_params,
|
463
|
+
body: post_body,
|
464
|
+
auth_names: auth_names,
|
465
|
+
return_type: 'V1alpha1PriorityClass')
|
466
|
+
if @api_client.config.debugging
|
467
|
+
@api_client.config.logger.debug "API called: SchedulingV1alpha1Api#patch_priority_class\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
468
|
+
end
|
469
|
+
[data, status_code, headers]
|
470
|
+
end
|
471
|
+
|
472
|
+
#
|
473
|
+
# read the specified PriorityClass
|
474
|
+
# @param name name of the PriorityClass
|
475
|
+
# @param [Hash] opts the optional parameters
|
476
|
+
# @option opts [String] :pretty If 'true', then the output is pretty printed.
|
477
|
+
# @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.
|
478
|
+
# @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify.
|
479
|
+
# @return [V1alpha1PriorityClass]
|
480
|
+
def read_priority_class(name, opts = {})
|
481
|
+
data, _status_code, _headers = read_priority_class_with_http_info(name, opts)
|
482
|
+
data
|
483
|
+
end
|
484
|
+
|
485
|
+
#
|
486
|
+
# read the specified PriorityClass
|
487
|
+
# @param name name of the PriorityClass
|
488
|
+
# @param [Hash] opts the optional parameters
|
489
|
+
# @option opts [String] :pretty If 'true', then the output is pretty printed.
|
490
|
+
# @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.
|
491
|
+
# @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify.
|
492
|
+
# @return [Array<(V1alpha1PriorityClass, Fixnum, Hash)>] V1alpha1PriorityClass data, response status code and response headers
|
493
|
+
def read_priority_class_with_http_info(name, opts = {})
|
494
|
+
if @api_client.config.debugging
|
495
|
+
@api_client.config.logger.debug 'Calling API: SchedulingV1alpha1Api.read_priority_class ...'
|
496
|
+
end
|
497
|
+
# verify the required parameter 'name' is set
|
498
|
+
if @api_client.config.client_side_validation && name.nil?
|
499
|
+
raise ArgumentError,
|
500
|
+
"Missing the required parameter 'name' when calling SchedulingV1alpha1Api.read_priority_class"
|
501
|
+
end
|
502
|
+
|
503
|
+
# resource path
|
504
|
+
local_var_path = '/apis/scheduling.k8s.io/v1alpha1/priorityclasses/{name}'.sub(
|
505
|
+
'{name}', name.to_s
|
506
|
+
)
|
507
|
+
|
508
|
+
# query parameters
|
509
|
+
query_params = {}
|
510
|
+
query_params[:pretty] = opts[:pretty] unless opts[:pretty].nil?
|
511
|
+
query_params[:exact] = opts[:exact] unless opts[:exact].nil?
|
512
|
+
query_params[:export] = opts[:export] unless opts[:export].nil?
|
513
|
+
|
514
|
+
# header parameters
|
515
|
+
header_params = {}
|
516
|
+
# HTTP header 'Accept' (if needed)
|
517
|
+
header_params['Accept'] =
|
518
|
+
@api_client.select_header_accept(['application/json', 'application/yaml',
|
519
|
+
'application/vnd.kubernetes.protobuf'])
|
520
|
+
# HTTP header 'Content-Type'
|
521
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['*/*'])
|
522
|
+
|
523
|
+
# form parameters
|
524
|
+
form_params = {}
|
525
|
+
|
526
|
+
# http body (model)
|
527
|
+
post_body = nil
|
528
|
+
auth_names = ['BearerToken']
|
529
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
530
|
+
header_params: header_params,
|
531
|
+
query_params: query_params,
|
532
|
+
form_params: form_params,
|
533
|
+
body: post_body,
|
534
|
+
auth_names: auth_names,
|
535
|
+
return_type: 'V1alpha1PriorityClass')
|
536
|
+
if @api_client.config.debugging
|
537
|
+
@api_client.config.logger.debug "API called: SchedulingV1alpha1Api#read_priority_class\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
538
|
+
end
|
539
|
+
[data, status_code, headers]
|
540
|
+
end
|
541
|
+
|
542
|
+
#
|
543
|
+
# replace the specified PriorityClass
|
544
|
+
# @param name name of the PriorityClass
|
545
|
+
# @param body
|
546
|
+
# @param [Hash] opts the optional parameters
|
547
|
+
# @option opts [String] :pretty If 'true', then the output is pretty printed.
|
548
|
+
# @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
|
549
|
+
# @return [V1alpha1PriorityClass]
|
550
|
+
def replace_priority_class(name, body, opts = {})
|
551
|
+
data, _status_code, _headers = replace_priority_class_with_http_info(name, body, opts)
|
552
|
+
data
|
553
|
+
end
|
554
|
+
|
555
|
+
#
|
556
|
+
# replace the specified PriorityClass
|
557
|
+
# @param name name of the PriorityClass
|
558
|
+
# @param body
|
559
|
+
# @param [Hash] opts the optional parameters
|
560
|
+
# @option opts [String] :pretty If 'true', then the output is pretty printed.
|
561
|
+
# @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
|
562
|
+
# @return [Array<(V1alpha1PriorityClass, Fixnum, Hash)>] V1alpha1PriorityClass data, response status code and response headers
|
563
|
+
def replace_priority_class_with_http_info(name, body, opts = {})
|
564
|
+
if @api_client.config.debugging
|
565
|
+
@api_client.config.logger.debug 'Calling API: SchedulingV1alpha1Api.replace_priority_class ...'
|
566
|
+
end
|
567
|
+
# verify the required parameter 'name' is set
|
568
|
+
if @api_client.config.client_side_validation && name.nil?
|
569
|
+
raise ArgumentError,
|
570
|
+
"Missing the required parameter 'name' when calling SchedulingV1alpha1Api.replace_priority_class"
|
571
|
+
end
|
572
|
+
# verify the required parameter 'body' is set
|
573
|
+
if @api_client.config.client_side_validation && body.nil?
|
574
|
+
raise ArgumentError,
|
575
|
+
"Missing the required parameter 'body' when calling SchedulingV1alpha1Api.replace_priority_class"
|
576
|
+
end
|
577
|
+
|
578
|
+
# resource path
|
579
|
+
local_var_path = '/apis/scheduling.k8s.io/v1alpha1/priorityclasses/{name}'.sub(
|
580
|
+
'{name}', name.to_s
|
581
|
+
)
|
582
|
+
|
583
|
+
# query parameters
|
584
|
+
query_params = {}
|
585
|
+
query_params[:pretty] = opts[:pretty] unless opts[:pretty].nil?
|
586
|
+
query_params[:dryRun] = opts[:dry_run] unless opts[:dry_run].nil?
|
587
|
+
|
588
|
+
# header parameters
|
589
|
+
header_params = {}
|
590
|
+
# HTTP header 'Accept' (if needed)
|
591
|
+
header_params['Accept'] =
|
592
|
+
@api_client.select_header_accept(['application/json', 'application/yaml',
|
593
|
+
'application/vnd.kubernetes.protobuf'])
|
594
|
+
# HTTP header 'Content-Type'
|
595
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['*/*'])
|
596
|
+
|
597
|
+
# form parameters
|
598
|
+
form_params = {}
|
599
|
+
|
600
|
+
# http body (model)
|
601
|
+
post_body = @api_client.object_to_http_body(body)
|
602
|
+
auth_names = ['BearerToken']
|
603
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
604
|
+
header_params: header_params,
|
605
|
+
query_params: query_params,
|
606
|
+
form_params: form_params,
|
607
|
+
body: post_body,
|
608
|
+
auth_names: auth_names,
|
609
|
+
return_type: 'V1alpha1PriorityClass')
|
610
|
+
if @api_client.config.debugging
|
611
|
+
@api_client.config.logger.debug "API called: SchedulingV1alpha1Api#replace_priority_class\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
612
|
+
end
|
613
|
+
[data, status_code, headers]
|
614
|
+
end
|
615
|
+
end
|
616
|
+
end
|