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