├── kubernetes ├── .swagger-codegen │ ├── VERSION │ └── COMMIT ├── src │ ├── main │ │ ├── AndroidManifest.xml │ │ └── java │ │ │ └── io │ │ │ └── kubernetes │ │ │ └── client │ │ │ ├── custom │ │ │ └── QuantityFormatException.java │ │ │ ├── fluent │ │ │ └── Config.java │ │ │ └── auth │ │ │ ├── OAuthFlow.java │ │ │ └── Authentication.java │ └── test │ │ ├── resources │ │ └── logback-test.xml │ │ └── java │ │ └── io │ │ └── kubernetes │ │ └── client │ │ ├── models │ │ └── V1PodBuilderTest.java │ │ └── JSONTest.java ├── docs │ ├── V1Patch.md │ ├── V1DaemonEndpoint.md │ ├── RuntimeRawExtension.md │ ├── V1ScaleSpec.md │ ├── V1Initializer.md │ ├── V1beta2ScaleSpec.md │ ├── PolicyV1beta1AllowedCSIDriver.md │ ├── V1HTTPHeader.md │ ├── V1Sysctl.md │ ├── AppsV1beta1ScaleSpec.md │ ├── PolicyV1beta1AllowedFlexVolume.md │ ├── V1PodDNSConfigOption.md │ ├── ExtensionsV1beta1AllowedCSIDriver.md │ ├── ExtensionsV1beta1AllowedFlexVolume.md │ ├── ExtensionsV1beta1ScaleSpec.md │ ├── V1SelfSubjectRulesReviewSpec.md │ ├── V1VolumeAttachmentSource.md │ ├── V1beta1ExternalDocumentation.md │ ├── V1ContainerStateRunning.md │ ├── V1alpha1VolumeAttachmentSource.md │ ├── V1beta1SelfSubjectRulesReviewSpec.md │ ├── V1beta1VolumeAttachmentSource.md │ ├── V1PodReadinessGate.md │ ├── AppsV1beta1RollbackConfig.md │ ├── V1NodeDaemonEndpoints.md │ ├── V1LimitRangeSpec.md │ ├── V1NodeAddress.md │ ├── V1VolumeNodeAffinity.md │ ├── ExtensionsV1beta1RollbackConfig.md │ ├── PolicyV1beta1IDRange.md │ ├── V1APIServiceStatus.md │ ├── V1Capabilities.md │ ├── V1NodeSelector.md │ ├── ExtensionsV1beta1IDRange.md │ ├── V1DownwardAPIProjection.md │ ├── V1NodeConfigSource.md │ ├── V1Preconditions.md │ ├── V1HostAlias.md │ ├── PolicyV1beta1HostPortRange.md │ ├── V1LocalObjectReference.md │ ├── V1NonResourceAttributes.md │ ├── V1ServiceReference.md │ ├── V1SessionAffinityConfig.md │ ├── V1beta1APIServiceStatus.md │ ├── ExtensionsV1beta1HostPortRange.md │ ├── V1AttachedVolume.md │ ├── V1EventSource.md │ ├── V1ServiceStatus.md │ ├── V1NamespaceStatus.md │ ├── V1beta1NonResourceAttributes.md │ ├── V1beta1RollingUpdateStatefulSetStrategy.md │ ├── ExtensionsV1beta1IngressStatus.md │ ├── NetworkingV1beta1IngressStatus.md │ ├── V1RollingUpdateStatefulSetStrategy.md │ ├── V1beta1CustomResourceValidation.md │ ├── V1beta2RollingUpdateStatefulSetStrategy.md │ ├── V1ScopeSelector.md │ ├── ApiregistrationV1beta1ServiceReference.md │ ├── ExtensionsV1beta1HTTPIngressRuleValue.md │ ├── NetworkingV1beta1HTTPIngressRuleValue.md │ ├── V1TopologySelectorTerm.md │ ├── V1ContainerStateWaiting.md │ ├── V1VolumeDevice.md │ ├── ExtensionsV1beta1IngressBackend.md │ ├── NetworkingV1beta1IngressBackend.md │ ├── V2beta2ResourceMetricSource.md │ ├── V1RoleRef.md │ ├── V1SecretReference.md │ ├── V1beta1CSINodeSpec.md │ ├── V1NamespaceSpec.md │ ├── V1ObjectFieldSelector.md │ ├── V1beta1RoleRef.md │ ├── V2beta2ResourceMetricStatus.md │ ├── V1LoadBalancerStatus.md │ ├── V1SecretEnvSource.md │ ├── V1alpha1RoleRef.md │ ├── V1ConfigMapEnvSource.md │ ├── V1alpha1Policy.md │ ├── V1alpha1WebhookThrottleConfig.md │ ├── V1TopologySelectorLabelRequirement.md │ ├── V1alpha1AuditSinkSpec.md │ ├── V1ContainerImage.md │ ├── V1ClientIPConfig.md │ ├── V1PreferredSchedulingTerm.md │ ├── V1VolumeError.md │ ├── V2beta2PodsMetricSource.md │ ├── V1TCPSocketAction.md │ ├── V1beta1CronJobStatus.md │ ├── V2beta2ExternalMetricSource.md │ ├── V1FlockerVolumeSource.md │ ├── V1WeightedPodAffinityTerm.md │ ├── V1alpha1VolumeError.md │ ├── V1beta1VolumeError.md │ ├── V2alpha1CronJobStatus.md │ ├── V2beta2PodsMetricStatus.md │ ├── V1AggregationRule.md │ ├── V1EventSeries.md │ ├── V1LoadBalancerIngress.md │ ├── V2beta2ExternalMetricStatus.md │ ├── V1alpha1AggregationRule.md │ ├── V1beta1AggregationRule.md │ ├── V1AzureFileVolumeSource.md │ ├── V1beta1CustomResourceSubresources.md │ ├── V1ResourceFieldSelector.md │ ├── V1GroupVersionForDiscovery.md │ ├── V1alpha1Webhook.md │ ├── V1beta1EventSeries.md │ ├── V1ConfigMapKeySelector.md │ ├── VersionInfo.md │ ├── V1ServerAddressByClientCIDR.md │ ├── V1alpha1ServiceReference.md │ ├── V1EndpointPort.md │ ├── V1WatchEvent.md │ ├── V1ResourceQuotaStatus.md │ ├── V1DeploymentStrategy.md │ ├── V1IPBlock.md │ ├── V1NodeSelectorTerm.md │ ├── ApiextensionsV1beta1ServiceReference.md │ ├── V1DaemonSetUpdateStrategy.md │ ├── V1EnvFromSource.md │ ├── V1beta1IPBlock.md │ ├── V1beta1StatefulSetUpdateStrategy.md │ ├── V1SecretKeySelector.md │ ├── V1StatefulSetUpdateStrategy.md │ ├── V1CrossVersionObjectReference.md │ ├── V1beta2DeploymentStrategy.md │ ├── AdmissionregistrationV1beta1ServiceReference.md │ ├── PolicyV1beta1SELinuxStrategyOptions.md │ ├── V1beta1DaemonSetUpdateStrategy.md │ ├── V1NetworkPolicyPort.md │ ├── V1PhotonPersistentDiskVolumeSource.md │ ├── V1beta1CertificateSigningRequestStatus.md │ ├── V1beta2DaemonSetUpdateStrategy.md │ ├── V2beta1CrossVersionObjectReference.md │ ├── V2beta2CrossVersionObjectReference.md │ ├── AppsV1beta1DeploymentStrategy.md │ ├── ExtensionsV1beta1SELinuxStrategyOptions.md │ ├── V1HostPathVolumeSource.md │ ├── V1PersistentVolumeClaimVolumeSource.md │ ├── V1beta2StatefulSetUpdateStrategy.md │ ├── V1ContainerState.md │ ├── V1SelfSubjectAccessReviewSpec.md │ ├── V1PodTemplateSpec.md │ ├── V1VolumeAttachmentSpec.md │ ├── V2beta2ObjectMetricSource.md │ ├── V2beta2ObjectMetricStatus.md │ ├── ExtensionsV1beta1DeploymentStrategy.md │ ├── V1NonResourceRule.md │ ├── V1SELinuxOptions.md │ ├── V1TypedLocalObjectReference.md │ ├── V1alpha1VolumeAttachmentSpec.md │ ├── V1beta1VolumeAttachmentSpec.md │ ├── V1beta1NonResourceRule.md │ ├── V1beta1SelfSubjectAccessReviewSpec.md │ ├── V2beta2MetricIdentifier.md │ ├── PolicyV1beta1FSGroupStrategyOptions.md │ ├── V1Handler.md │ ├── PolicyV1beta1RunAsGroupStrategyOptions.md │ ├── PolicyV1beta1RunAsUserStrategyOptions.md │ ├── V1beta1CertificateSigningRequestCondition.md │ ├── ExtensionsV1beta1FSGroupStrategyOptions.md │ ├── V1ProjectedVolumeSource.md │ ├── V1ScaleStatus.md │ ├── V1beta1JobTemplateSpec.md │ ├── ExtensionsV1beta1RunAsGroupStrategyOptions.md │ ├── ExtensionsV1beta1RunAsUserStrategyOptions.md │ ├── V1GitRepoVolumeSource.md │ ├── V2alpha1JobTemplateSpec.md │ ├── V1LocalVolumeSource.md │ ├── V1TokenReviewSpec.md │ ├── V1ExecAction.md │ ├── V1beta1TokenReviewSpec.md │ ├── PolicyV1beta1SupplementalGroupsStrategyOptions.md │ ├── V1AzureFilePersistentVolumeSource.md │ ├── V1beta1NetworkPolicyPort.md │ ├── ExtensionsV1beta1SupplementalGroupsStrategyOptions.md │ ├── V1PortworxVolumeSource.md │ ├── V1Taint.md │ ├── V1DaemonSetCondition.md │ ├── V1ReplicaSetCondition.md │ ├── V1StatefulSetCondition.md │ ├── V1DownwardAPIVolumeSource.md │ ├── V1NFSVolumeSource.md │ ├── V1beta1DaemonSetCondition.md │ ├── V1beta2DaemonSetCondition.md │ ├── V1PersistentVolumeStatus.md │ ├── V1beta1ReplicaSetCondition.md │ ├── V1beta1StatefulSetCondition.md │ ├── V1beta2ReplicaSetCondition.md │ ├── V1beta2StatefulSetCondition.md │ ├── V2beta2MetricValueStatus.md │ ├── V1Affinity.md │ ├── V1UserInfo.md │ ├── V2beta1ExternalMetricStatus.md │ ├── V1KeyToPath.md │ ├── V1ReplicationControllerCondition.md │ ├── V1APIServiceCondition.md │ ├── V1ComponentCondition.md │ ├── V1LabelSelectorRequirement.md │ ├── V1beta1UserInfo.md │ ├── V1ScopedResourceSelectorRequirement.md │ ├── V1beta1APIServiceCondition.md │ ├── V1Initializers.md │ ├── V1LabelSelector.md │ ├── PolicyV1beta1AllowedHostPath.md │ ├── ExtensionsV1beta1AllowedHostPath.md │ ├── V1beta1CustomResourceDefinitionCondition.md │ ├── V1VolumeProjection.md │ ├── V2beta1PodsMetricSource.md │ ├── V2beta1HorizontalPodAutoscalerCondition.md │ ├── V2beta2HorizontalPodAutoscalerCondition.md │ ├── V1GlusterfsVolumeSource.md │ ├── V1JobCondition.md │ ├── V1NodeCondition.md │ ├── V1DeploymentCondition.md │ ├── V1VsphereVirtualDiskVolumeSource.md │ ├── V2beta1PodsMetricStatus.md │ ├── V1beta2DeploymentCondition.md │ ├── AppsV1beta1DeploymentCondition.md │ ├── V1alpha1RuntimeClassSpec.md │ ├── V2beta1ExternalMetricSource.md │ ├── V1EndpointAddress.md │ ├── V1NodeSelectorRequirement.md │ ├── V1ResourceRequirements.md │ ├── V2beta1ResourceMetricSource.md │ ├── ExtensionsV1beta1DeploymentCondition.md │ ├── V1HTTPGetAction.md │ ├── ExtensionsV1beta1HTTPIngressPath.md │ ├── NetworkingV1beta1HTTPIngressPath.md │ ├── V1EndpointSubset.md │ ├── V2beta2MetricTarget.md │ ├── ExtensionsV1beta1IngressTLS.md │ ├── NetworkingV1beta1IngressTLS.md │ ├── V1EnvVar.md │ ├── V1PersistentVolumeClaimCondition.md │ ├── V1APIGroupList.md │ ├── V1LeaseSpec.md │ ├── V1PodAffinityTerm.md │ ├── V1beta1LeaseSpec.md │ ├── V1PodDNSConfig.md │ ├── V1ResourceQuotaSpec.md │ ├── V1ContainerStateTerminated.md │ ├── V1EmptyDirVolumeSource.md │ ├── V1APIServiceList.md │ ├── V1alpha1PodPresetSpec.md │ ├── V1PersistentVolumeClaimStatus.md │ ├── V1StatefulSetList.md │ ├── V1FCVolumeSource.md │ ├── V1HorizontalPodAutoscalerStatus.md │ ├── V1beta1APIServiceList.md │ ├── V1alpha1PodPreset.md │ ├── V1beta1StatefulSetList.md │ ├── V1beta2StatefulSetList.md │ ├── V1HorizontalPodAutoscalerSpec.md │ ├── V1Subject.md │ ├── V1RoleList.md │ ├── V2beta1ResourceMetricStatus.md │ ├── V1beta1Subject.md │ ├── V1PodCondition.md │ └── V1StatusCause.md ├── .gitignore └── .swagger-codegen-ignore ├── .mvn └── wrapper │ ├── maven-wrapper.jar │ └── maven-wrapper.properties ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── code-of-conduct.md ├── examples ├── Dockerfile ├── README.md ├── test.yaml └── createPod.sh ├── travis └── install ├── OWNERS ├── proto └── README.md ├── util └── src │ ├── test │ ├── resources │ │ ├── kubeconfig-https │ │ ├── .kube │ │ │ └── config │ │ ├── kubeconfig │ │ ├── clientauth-ec.key │ │ ├── namespace-list-status.json │ │ ├── clientauth-ec-fixed.key │ │ ├── test-pod.yaml │ │ ├── logback-test.xml │ │ ├── kubeconfig-http │ │ ├── ca-cert-invalid.pem │ │ ├── clientauth-chain.key │ │ ├── clientauth-rsa.key │ │ └── clientauth.key │ └── java │ │ └── io │ │ └── kubernetes │ │ └── client │ │ └── util │ │ ├── TestUtils.java │ │ └── credentials │ │ └── AccessTokenAuthenticationTest.java │ └── main │ └── java │ └── io │ └── kubernetes │ └── client │ ├── informer │ ├── exception │ │ ├── BadNotificationException.java │ │ ├── BadObjectException.java │ │ └── BuildInformerException.java │ ├── ResourceEventHandler.java │ ├── ListerWatcher.java │ ├── EventType.java │ └── SharedIndexInformer.java │ └── util │ ├── exception │ └── ObjectMetaReflectException.java │ ├── Watchable.java │ ├── common │ └── Collections.java │ ├── CallGeneratorParams.java │ ├── credentials │ ├── Authentication.java │ └── AccessTokenAuthentication.java │ └── CallGenerator.java ├── extended └── src │ ├── test │ └── resources │ │ ├── status-400.json │ │ ├── bad-token-status.json │ │ ├── logback-test.xml │ │ ├── namespace-list-pager2.json │ │ └── namespace-list-pager1.json │ └── main │ └── java │ └── io │ └── kubernetes │ └── client │ └── extended │ ├── controller │ ├── Controller.java │ ├── builder │ │ └── Constants.java │ └── LeaderElectingController.java │ └── workqueue │ ├── DelayingQueue.java │ └── ratelimiter │ └── RateLimiter.java ├── settings.xml ├── .gitignore ├── SECURITY_CONTACTS └── settings /kubernetes/.swagger-codegen/VERSION: -------------------------------------------------------------------------------- 1 | 2.3.0-SNAPSHOT -------------------------------------------------------------------------------- /.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Netflix-Skunkworks/kubernetes-client-java/master/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.0/apache-maven-3.5.0-bin.zip -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Netflix-Skunkworks/kubernetes-client-java/master/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /kubernetes/.swagger-codegen/COMMIT: -------------------------------------------------------------------------------- 1 | Requested Commit: 5d263e1c9cdd395d93adf061c63d5ef58a8e9ec5 2 | Actual Commit: 5d263e1c9cdd395d93adf061c63d5ef58a8e9ec5 3 | -------------------------------------------------------------------------------- /code-of-conduct.md: -------------------------------------------------------------------------------- 1 | # Kubernetes Community Code of Conduct 2 | 3 | Please refer to our [Kubernetes Community Code of Conduct](https://git.k8s.io/community/code-of-conduct.md) 4 | -------------------------------------------------------------------------------- /kubernetes/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /examples/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM openjdk:8-jre 2 | 3 | COPY target/client-java-examples-*-SNAPSHOT-jar-with-dependencies.jar /examples.jar 4 | 5 | CMD ["java", "-jar", "/examples.jar"] 6 | 7 | 8 | -------------------------------------------------------------------------------- /travis/install: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # Used by the install step on Travis 3 | 4 | echo "Run package in quiet mode to prevent log file overflow..." 5 | mvn -q package 2>&1 > /dev/null 6 | mvn package -------------------------------------------------------------------------------- /kubernetes/docs/V1Patch.md: -------------------------------------------------------------------------------- 1 | 2 | # V1Patch 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /OWNERS: -------------------------------------------------------------------------------- 1 | # See the OWNERS docs at https://go.k8s.io/owners 2 | 3 | approvers: 4 | - mbohlool 5 | - brendandburns 6 | - yue9944882 7 | reviewer: 8 | - mbohlool 9 | - brendandburns 10 | - yue9944882 11 | 12 | -------------------------------------------------------------------------------- /proto/README.md: -------------------------------------------------------------------------------- 1 | # Generating proto files 2 | 3 | ```sh 4 | git clone https://github.com/kubernetes-client/gen 5 | cd gen/proto 6 | ./generate.sh java ${PATH_TO_JAVA_CLIENT_ROOT}/java/proto/src/main/java/ 7 | ````````````````````````````````` 8 | -------------------------------------------------------------------------------- /util/src/test/resources/kubeconfig-https: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | clusters: 3 | - cluster: 4 | server: localhost:443 5 | name: foo 6 | contexts: 7 | - context: 8 | cluster: foo 9 | name: foo-context 10 | current-context: foo-context -------------------------------------------------------------------------------- /util/src/test/resources/.kube/config: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | clusters: 3 | - cluster: 4 | server: http://home.dir.com 5 | name: foo 6 | contexts: 7 | - context: 8 | cluster: foo 9 | name: foo-context 10 | current-context: foo-context -------------------------------------------------------------------------------- /util/src/test/resources/kubeconfig: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | clusters: 3 | - cluster: 4 | server: http://kubeconfig.dir.com 5 | name: foo 6 | contexts: 7 | - context: 8 | cluster: foo 9 | name: foo-context 10 | current-context: foo-context -------------------------------------------------------------------------------- /extended/src/test/resources/status-400.json: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "Status", 3 | "apiVersion": "v1", 4 | "metadata": {}, 5 | "status": "Failure", 6 | "message": "field label not supported: metadata.nam", 7 | "reason": "BadRequest", 8 | "code": 400 9 | } 10 | -------------------------------------------------------------------------------- /kubernetes/docs/V1DaemonEndpoint.md: -------------------------------------------------------------------------------- 1 | 2 | # V1DaemonEndpoint 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **port** | **Integer** | Port number of the given endpoint. | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /util/src/test/resources/clientauth-ec.key: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEIAPhomYs9rdnNgEtr2FIB1rBDYnuKqV4QVAYBX4yRqAEoAoGCCqGSM49 3 | AwEHoUQDQgAEUHBg7OvKkSprAljQcCcpXFns/pMNDkQJZuooj97A0063ipBrZzbd 4 | xTcuVcBjFNJC/Tn2keNSQP+m9QbQmQfmMw== 5 | -----END EC PRIVATE KEY----- -------------------------------------------------------------------------------- /util/src/test/resources/namespace-list-status.json: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "Status", 3 | "apiVersion": "v1", 4 | "metadata": {}, 5 | "status": "Failure", 6 | "message": "field label not supported: metadata.nam", 7 | "reason": "BadRequest", 8 | "code": 400 9 | } 10 | -------------------------------------------------------------------------------- /kubernetes/src/main/java/io/kubernetes/client/custom/QuantityFormatException.java: -------------------------------------------------------------------------------- 1 | package io.kubernetes.client.custom; 2 | 3 | public class QuantityFormatException extends RuntimeException { 4 | public QuantityFormatException(String s) { 5 | super(s); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Thu May 17 12:49:38 PDT 2018 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-all.zip 7 | -------------------------------------------------------------------------------- /kubernetes/docs/RuntimeRawExtension.md: -------------------------------------------------------------------------------- 1 | 2 | # RuntimeRawExtension 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **raw** | **byte[]** | Raw is the underlying serialization of this object. | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /kubernetes/docs/V1ScaleSpec.md: -------------------------------------------------------------------------------- 1 | 2 | # V1ScaleSpec 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **replicas** | **Integer** | desired number of instances for the scaled object. | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /examples/README.md: -------------------------------------------------------------------------------- 1 | # Running examples 2 | 3 | ```sh 4 | export REPO_ROOT=/path/to/client-java/repo 5 | 6 | cd ${REPO_ROOT}/kubernetes 7 | mvn install 8 | 9 | cd ${REPO_ROOT}/examples 10 | mvn package 11 | mvn exec:java -Dexec.mainClass="io.kubernetes.client.examples.Example" 12 | ``` 13 | 14 | -------------------------------------------------------------------------------- /util/src/test/resources/clientauth-ec-fixed.key: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgA+GiZiz2t2c2AS2v 3 | YUgHWsENie4qpXhBUBgFfjJGoAShRANCAARQcGDs68qRKmsCWNBwJylcWez+kw0O 4 | RAlm6iiP3sDTTreKkGtnNt3FNy5VwGMU0kL9OfaR41JA/6b1BtCZB+Yz 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /kubernetes/docs/V1Initializer.md: -------------------------------------------------------------------------------- 1 | 2 | # V1Initializer 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **name** | **String** | name of the process that is responsible for initializing this object. | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /kubernetes/docs/V1beta2ScaleSpec.md: -------------------------------------------------------------------------------- 1 | 2 | # V1beta2ScaleSpec 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **replicas** | **Integer** | desired number of instances for the scaled object. | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /kubernetes/docs/PolicyV1beta1AllowedCSIDriver.md: -------------------------------------------------------------------------------- 1 | 2 | # PolicyV1beta1AllowedCSIDriver 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **name** | **String** | Name is the registered name of the CSI driver | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /kubernetes/docs/V1HTTPHeader.md: -------------------------------------------------------------------------------- 1 | 2 | # V1HTTPHeader 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **name** | **String** | The header field name | 8 | **value** | **String** | The header field value | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/V1Sysctl.md: -------------------------------------------------------------------------------- 1 | 2 | # V1Sysctl 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **name** | **String** | Name of a property to set | 8 | **value** | **String** | Value of a property to set | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /util/src/main/java/io/kubernetes/client/informer/exception/BadNotificationException.java: -------------------------------------------------------------------------------- 1 | package io.kubernetes.client.informer.exception; 2 | 3 | public class BadNotificationException extends RuntimeException { 4 | 5 | public BadNotificationException(String message) { 6 | super(message); 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /kubernetes/docs/AppsV1beta1ScaleSpec.md: -------------------------------------------------------------------------------- 1 | 2 | # AppsV1beta1ScaleSpec 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **replicas** | **Integer** | desired number of instances for the scaled object. | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /kubernetes/docs/PolicyV1beta1AllowedFlexVolume.md: -------------------------------------------------------------------------------- 1 | 2 | # PolicyV1beta1AllowedFlexVolume 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **driver** | **String** | driver is the name of the Flexvolume driver. | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /kubernetes/docs/V1PodDNSConfigOption.md: -------------------------------------------------------------------------------- 1 | 2 | # V1PodDNSConfigOption 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **name** | **String** | Required. | [optional] 8 | **value** | **String** | | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/ExtensionsV1beta1AllowedCSIDriver.md: -------------------------------------------------------------------------------- 1 | 2 | # ExtensionsV1beta1AllowedCSIDriver 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **name** | **String** | Name is the registered name of the CSI driver | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /kubernetes/docs/ExtensionsV1beta1AllowedFlexVolume.md: -------------------------------------------------------------------------------- 1 | 2 | # ExtensionsV1beta1AllowedFlexVolume 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **driver** | **String** | driver is the name of the Flexvolume driver. | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /kubernetes/docs/ExtensionsV1beta1ScaleSpec.md: -------------------------------------------------------------------------------- 1 | 2 | # ExtensionsV1beta1ScaleSpec 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **replicas** | **Integer** | desired number of instances for the scaled object. | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /kubernetes/docs/V1SelfSubjectRulesReviewSpec.md: -------------------------------------------------------------------------------- 1 | 2 | # V1SelfSubjectRulesReviewSpec 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **namespace** | **String** | Namespace to evaluate rules for. Required. | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /kubernetes/docs/V1VolumeAttachmentSource.md: -------------------------------------------------------------------------------- 1 | 2 | # V1VolumeAttachmentSource 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **persistentVolumeName** | **String** | Name of the persistent volume to attach. | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /kubernetes/docs/V1beta1ExternalDocumentation.md: -------------------------------------------------------------------------------- 1 | 2 | # V1beta1ExternalDocumentation 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **description** | **String** | | [optional] 8 | **url** | **String** | | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ossrh 7 | ${env.SONATYPE_USERNAME} 8 | ${env.SONATYPE_PASSWORD} 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/.gitignore: -------------------------------------------------------------------------------- 1 | *.class 2 | 3 | # Mobile Tools for Java (J2ME) 4 | .mtj.tmp/ 5 | 6 | # Package Files # 7 | *.jar 8 | *.war 9 | *.ear 10 | 11 | # virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml 12 | hs_err_pid* 13 | 14 | # build files 15 | **/target 16 | target 17 | gradle/** 18 | -------------------------------------------------------------------------------- /util/src/main/java/io/kubernetes/client/util/exception/ObjectMetaReflectException.java: -------------------------------------------------------------------------------- 1 | package io.kubernetes.client.util.exception; 2 | 3 | public class ObjectMetaReflectException extends ReflectiveOperationException { 4 | 5 | public ObjectMetaReflectException(ReflectiveOperationException e) { 6 | super(e); 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /util/src/test/resources/test-pod.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Pod 3 | metadata: 4 | creationTimestamp: "2018-12-23T01:09:18Z" 5 | generateName: test-776d6c86cc- 6 | labels: 7 | app: test 8 | app-version: "19911" 9 | pod-template-hash: "3328274277" 10 | name: test-776d6c86cc-4zwj5 11 | namespace: default -------------------------------------------------------------------------------- /extended/src/main/java/io/kubernetes/client/extended/controller/Controller.java: -------------------------------------------------------------------------------- 1 | package io.kubernetes.client.extended.controller; 2 | 3 | /** The interface Controller defines the interface for operating a controller. */ 4 | public interface Controller extends Runnable { 5 | /** Shutdown the controller. */ 6 | void shutdown(); 7 | } 8 | -------------------------------------------------------------------------------- /extended/src/test/resources/bad-token-status.json: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "Status", 3 | "apiVersion": "v1", 4 | "metadata": {}, 5 | "status": "Failure", 6 | "message": "invalid continue token: continue key is not valid: invalid character 'i' looking for beginning of value", 7 | "reason": "BadRequest", 8 | "code": 400 9 | } 10 | -------------------------------------------------------------------------------- /kubernetes/docs/V1ContainerStateRunning.md: -------------------------------------------------------------------------------- 1 | 2 | # V1ContainerStateRunning 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **startedAt** | [**DateTime**](DateTime.md) | Time at which the container was last (re-)started | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /kubernetes/docs/V1alpha1VolumeAttachmentSource.md: -------------------------------------------------------------------------------- 1 | 2 | # V1alpha1VolumeAttachmentSource 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **persistentVolumeName** | **String** | Name of the persistent volume to attach. | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /kubernetes/docs/V1beta1SelfSubjectRulesReviewSpec.md: -------------------------------------------------------------------------------- 1 | 2 | # V1beta1SelfSubjectRulesReviewSpec 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **namespace** | **String** | Namespace to evaluate rules for. Required. | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /kubernetes/docs/V1beta1VolumeAttachmentSource.md: -------------------------------------------------------------------------------- 1 | 2 | # V1beta1VolumeAttachmentSource 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **persistentVolumeName** | **String** | Name of the persistent volume to attach. | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /kubernetes/docs/V1PodReadinessGate.md: -------------------------------------------------------------------------------- 1 | 2 | # V1PodReadinessGate 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **conditionType** | **String** | ConditionType refers to a condition in the pod's condition list with matching type. | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /kubernetes/docs/AppsV1beta1RollbackConfig.md: -------------------------------------------------------------------------------- 1 | 2 | # AppsV1beta1RollbackConfig 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **revision** | **Long** | The revision to rollback to. If set to 0, rollback to the last revision. | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /kubernetes/docs/V1NodeDaemonEndpoints.md: -------------------------------------------------------------------------------- 1 | 2 | # V1NodeDaemonEndpoints 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **kubeletEndpoint** | [**V1DaemonEndpoint**](V1DaemonEndpoint.md) | Endpoint on which Kubelet is listening. | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /kubernetes/docs/V1LimitRangeSpec.md: -------------------------------------------------------------------------------- 1 | 2 | # V1LimitRangeSpec 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **limits** | [**List<V1LimitRangeItem>**](V1LimitRangeItem.md) | Limits is the list of LimitRangeItem objects that are enforced. | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /kubernetes/docs/V1NodeAddress.md: -------------------------------------------------------------------------------- 1 | 2 | # V1NodeAddress 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **address** | **String** | The node address. | 8 | **type** | **String** | Node address type, one of Hostname, ExternalIP or InternalIP. | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/V1VolumeNodeAffinity.md: -------------------------------------------------------------------------------- 1 | 2 | # V1VolumeNodeAffinity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **required** | [**V1NodeSelector**](V1NodeSelector.md) | Required specifies hard node constraints that must be met. | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /kubernetes/docs/ExtensionsV1beta1RollbackConfig.md: -------------------------------------------------------------------------------- 1 | 2 | # ExtensionsV1beta1RollbackConfig 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **revision** | **Long** | The revision to rollback to. If set to 0, rollback to the last revision. | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /kubernetes/docs/PolicyV1beta1IDRange.md: -------------------------------------------------------------------------------- 1 | 2 | # PolicyV1beta1IDRange 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **max** | **Long** | max is the end of the range, inclusive. | 8 | **min** | **Long** | min is the start of the range, inclusive. | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/V1APIServiceStatus.md: -------------------------------------------------------------------------------- 1 | 2 | # V1APIServiceStatus 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **conditions** | [**List<V1APIServiceCondition>**](V1APIServiceCondition.md) | Current service state of apiService. | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /kubernetes/docs/V1Capabilities.md: -------------------------------------------------------------------------------- 1 | 2 | # V1Capabilities 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **add** | **List<String>** | Added capabilities | [optional] 8 | **drop** | **List<String>** | Removed capabilities | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /util/src/main/java/io/kubernetes/client/informer/ResourceEventHandler.java: -------------------------------------------------------------------------------- 1 | package io.kubernetes.client.informer; 2 | 3 | public interface ResourceEventHandler { 4 | 5 | void onAdd(ApiType obj); 6 | 7 | void onUpdate(ApiType oldObj, ApiType newObj); 8 | 9 | void onDelete(ApiType obj, boolean deletedFinalStateUnknown); 10 | } 11 | -------------------------------------------------------------------------------- /kubernetes/docs/V1NodeSelector.md: -------------------------------------------------------------------------------- 1 | 2 | # V1NodeSelector 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **nodeSelectorTerms** | [**List<V1NodeSelectorTerm>**](V1NodeSelectorTerm.md) | Required. A list of node selector terms. The terms are ORed. | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /extended/src/main/java/io/kubernetes/client/extended/controller/builder/Constants.java: -------------------------------------------------------------------------------- 1 | package io.kubernetes.client.extended.controller.builder; 2 | 3 | /** The type Constants holds all constants definitions for controller builders. */ 4 | public class Constants { 5 | /** The default worker count. */ 6 | public static final int DEFAULT_WORKER_COUNT = 16; 7 | } 8 | -------------------------------------------------------------------------------- /kubernetes/docs/ExtensionsV1beta1IDRange.md: -------------------------------------------------------------------------------- 1 | 2 | # ExtensionsV1beta1IDRange 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **max** | **Long** | max is the end of the range, inclusive. | 8 | **min** | **Long** | min is the start of the range, inclusive. | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/V1DownwardAPIProjection.md: -------------------------------------------------------------------------------- 1 | 2 | # V1DownwardAPIProjection 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **items** | [**List<V1DownwardAPIVolumeFile>**](V1DownwardAPIVolumeFile.md) | Items is a list of DownwardAPIVolume file | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /kubernetes/docs/V1NodeConfigSource.md: -------------------------------------------------------------------------------- 1 | 2 | # V1NodeConfigSource 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **configMap** | [**V1ConfigMapNodeConfigSource**](V1ConfigMapNodeConfigSource.md) | ConfigMap is a reference to a Node's ConfigMap | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /kubernetes/docs/V1Preconditions.md: -------------------------------------------------------------------------------- 1 | 2 | # V1Preconditions 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **resourceVersion** | **String** | Specifies the target ResourceVersion | [optional] 8 | **uid** | **String** | Specifies the target UID. | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/V1HostAlias.md: -------------------------------------------------------------------------------- 1 | 2 | # V1HostAlias 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **hostnames** | **List<String>** | Hostnames for the above IP address. | [optional] 8 | **ip** | **String** | IP address of the host file entry. | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/PolicyV1beta1HostPortRange.md: -------------------------------------------------------------------------------- 1 | 2 | # PolicyV1beta1HostPortRange 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **max** | **Integer** | max is the end of the range, inclusive. | 8 | **min** | **Integer** | min is the start of the range, inclusive. | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/V1LocalObjectReference.md: -------------------------------------------------------------------------------- 1 | 2 | # V1LocalObjectReference 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **name** | **String** | Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /kubernetes/docs/V1NonResourceAttributes.md: -------------------------------------------------------------------------------- 1 | 2 | # V1NonResourceAttributes 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **path** | **String** | Path is the URL path of the request | [optional] 8 | **verb** | **String** | Verb is the standard HTTP verb | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/V1ServiceReference.md: -------------------------------------------------------------------------------- 1 | 2 | # V1ServiceReference 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **name** | **String** | Name is the name of the service | [optional] 8 | **namespace** | **String** | Namespace is the namespace of the service | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/V1SessionAffinityConfig.md: -------------------------------------------------------------------------------- 1 | 2 | # V1SessionAffinityConfig 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **clientIP** | [**V1ClientIPConfig**](V1ClientIPConfig.md) | clientIP contains the configurations of Client IP based session affinity. | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /kubernetes/docs/V1beta1APIServiceStatus.md: -------------------------------------------------------------------------------- 1 | 2 | # V1beta1APIServiceStatus 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **conditions** | [**List<V1beta1APIServiceCondition>**](V1beta1APIServiceCondition.md) | Current service state of apiService. | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /kubernetes/docs/ExtensionsV1beta1HostPortRange.md: -------------------------------------------------------------------------------- 1 | 2 | # ExtensionsV1beta1HostPortRange 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **max** | **Integer** | max is the end of the range, inclusive. | 8 | **min** | **Integer** | min is the start of the range, inclusive. | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/V1AttachedVolume.md: -------------------------------------------------------------------------------- 1 | 2 | # V1AttachedVolume 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **devicePath** | **String** | DevicePath represents the device path where the volume should be available | 8 | **name** | **String** | Name of the attached volume | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/V1EventSource.md: -------------------------------------------------------------------------------- 1 | 2 | # V1EventSource 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **component** | **String** | Component from which the event is generated. | [optional] 8 | **host** | **String** | Node name on which the event is generated. | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/V1ServiceStatus.md: -------------------------------------------------------------------------------- 1 | 2 | # V1ServiceStatus 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **loadBalancer** | [**V1LoadBalancerStatus**](V1LoadBalancerStatus.md) | LoadBalancer contains the current status of the load-balancer, if one is present. | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /kubernetes/docs/V1NamespaceStatus.md: -------------------------------------------------------------------------------- 1 | 2 | # V1NamespaceStatus 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **phase** | **String** | Phase is the current lifecycle phase of the namespace. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/ | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /kubernetes/docs/V1beta1NonResourceAttributes.md: -------------------------------------------------------------------------------- 1 | 2 | # V1beta1NonResourceAttributes 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **path** | **String** | Path is the URL path of the request | [optional] 8 | **verb** | **String** | Verb is the standard HTTP verb | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/V1beta1RollingUpdateStatefulSetStrategy.md: -------------------------------------------------------------------------------- 1 | 2 | # V1beta1RollingUpdateStatefulSetStrategy 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **partition** | **Integer** | Partition indicates the ordinal at which the StatefulSet should be partitioned. | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /kubernetes/docs/ExtensionsV1beta1IngressStatus.md: -------------------------------------------------------------------------------- 1 | 2 | # ExtensionsV1beta1IngressStatus 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **loadBalancer** | [**V1LoadBalancerStatus**](V1LoadBalancerStatus.md) | LoadBalancer contains the current status of the load-balancer. | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /kubernetes/docs/NetworkingV1beta1IngressStatus.md: -------------------------------------------------------------------------------- 1 | 2 | # NetworkingV1beta1IngressStatus 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **loadBalancer** | [**V1LoadBalancerStatus**](V1LoadBalancerStatus.md) | LoadBalancer contains the current status of the load-balancer. | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /kubernetes/docs/V1RollingUpdateStatefulSetStrategy.md: -------------------------------------------------------------------------------- 1 | 2 | # V1RollingUpdateStatefulSetStrategy 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **partition** | **Integer** | Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0. | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /kubernetes/docs/V1beta1CustomResourceValidation.md: -------------------------------------------------------------------------------- 1 | 2 | # V1beta1CustomResourceValidation 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **openAPIV3Schema** | [**V1beta1JSONSchemaProps**](V1beta1JSONSchemaProps.md) | OpenAPIV3Schema is the OpenAPI v3 schema to be validated against. | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /kubernetes/docs/V1beta2RollingUpdateStatefulSetStrategy.md: -------------------------------------------------------------------------------- 1 | 2 | # V1beta2RollingUpdateStatefulSetStrategy 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **partition** | **Integer** | Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0. | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /util/src/main/java/io/kubernetes/client/informer/exception/BadObjectException.java: -------------------------------------------------------------------------------- 1 | package io.kubernetes.client.informer.exception; 2 | 3 | import org.apache.commons.lang.builder.ReflectionToStringBuilder; 4 | 5 | public class BadObjectException extends RuntimeException { 6 | 7 | public BadObjectException(Object obj) { 8 | super(ReflectionToStringBuilder.toString(obj)); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /util/src/test/java/io/kubernetes/client/util/TestUtils.java: -------------------------------------------------------------------------------- 1 | package io.kubernetes.client.util; 2 | 3 | import io.kubernetes.client.ApiClient; 4 | import io.kubernetes.client.auth.ApiKeyAuth; 5 | 6 | public class TestUtils { 7 | 8 | public static ApiKeyAuth getApiKeyAuthFromClient(ApiClient client) { 9 | return (ApiKeyAuth) client.getAuthentications().get("BearerToken"); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /kubernetes/docs/V1ScopeSelector.md: -------------------------------------------------------------------------------- 1 | 2 | # V1ScopeSelector 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **matchExpressions** | [**List<V1ScopedResourceSelectorRequirement>**](V1ScopedResourceSelectorRequirement.md) | A list of scope selector requirements by scope of the resources. | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /kubernetes/docs/ApiregistrationV1beta1ServiceReference.md: -------------------------------------------------------------------------------- 1 | 2 | # ApiregistrationV1beta1ServiceReference 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **name** | **String** | Name is the name of the service | [optional] 8 | **namespace** | **String** | Namespace is the namespace of the service | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/ExtensionsV1beta1HTTPIngressRuleValue.md: -------------------------------------------------------------------------------- 1 | 2 | # ExtensionsV1beta1HTTPIngressRuleValue 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **paths** | [**List<ExtensionsV1beta1HTTPIngressPath>**](ExtensionsV1beta1HTTPIngressPath.md) | A collection of paths that map requests to backends. | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /kubernetes/docs/NetworkingV1beta1HTTPIngressRuleValue.md: -------------------------------------------------------------------------------- 1 | 2 | # NetworkingV1beta1HTTPIngressRuleValue 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **paths** | [**List<NetworkingV1beta1HTTPIngressPath>**](NetworkingV1beta1HTTPIngressPath.md) | A collection of paths that map requests to backends. | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /kubernetes/docs/V1TopologySelectorTerm.md: -------------------------------------------------------------------------------- 1 | 2 | # V1TopologySelectorTerm 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **matchLabelExpressions** | [**List<V1TopologySelectorLabelRequirement>**](V1TopologySelectorLabelRequirement.md) | A list of topology selector requirements by labels. | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /kubernetes/docs/V1ContainerStateWaiting.md: -------------------------------------------------------------------------------- 1 | 2 | # V1ContainerStateWaiting 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **message** | **String** | Message regarding why the container is not yet running. | [optional] 8 | **reason** | **String** | (brief) reason the container is not yet running. | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/V1VolumeDevice.md: -------------------------------------------------------------------------------- 1 | 2 | # V1VolumeDevice 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **devicePath** | **String** | devicePath is the path inside of the container that the device will be mapped to. | 8 | **name** | **String** | name must match the name of a persistentVolumeClaim in the pod | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /examples/test.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: ReplicationController 3 | metadata: 4 | name: test 5 | spec: 6 | replicas: 1 7 | template: 8 | metadata: 9 | labels: 10 | app: test 11 | spec: 12 | containers: 13 | - name: test 14 | image: test/examples:1.0 15 | command: ["/bin/sh","-c"] 16 | args: ["java -jar /examples.jar","while :; do sleep 1; done"] 17 | -------------------------------------------------------------------------------- /kubernetes/.swagger-codegen-ignore: -------------------------------------------------------------------------------- 1 | .gitignore 2 | .travis.yml 3 | *gradle* 4 | *sbt* 5 | git_push.sh 6 | README.md 7 | # Remove this once swagger-codegen 2.3.0 is released and we update. 8 | # Verify the following PRs are in the release: 9 | # * https://github.com/swagger-api/swagger-codegen/pull/6230 10 | src/main/java/io/kubernetes/client/JSON.java 11 | src/main/java/io/kubernetes/client/ApiClient.java 12 | 13 | -------------------------------------------------------------------------------- /util/src/test/resources/logback-test.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | %d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /extended/src/test/resources/logback-test.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | %d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/ExtensionsV1beta1IngressBackend.md: -------------------------------------------------------------------------------- 1 | 2 | # ExtensionsV1beta1IngressBackend 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **serviceName** | **String** | Specifies the name of the referenced service. | 8 | **servicePort** | [**IntOrString**](IntOrString.md) | Specifies the port of the referenced service. | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/NetworkingV1beta1IngressBackend.md: -------------------------------------------------------------------------------- 1 | 2 | # NetworkingV1beta1IngressBackend 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **serviceName** | **String** | Specifies the name of the referenced service. | 8 | **servicePort** | [**IntOrString**](IntOrString.md) | Specifies the port of the referenced service. | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/src/test/resources/logback-test.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | %d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/V2beta2ResourceMetricSource.md: -------------------------------------------------------------------------------- 1 | 2 | # V2beta2ResourceMetricSource 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **name** | **String** | name is the name of the resource in question. | 8 | **target** | [**V2beta2MetricTarget**](V2beta2MetricTarget.md) | target specifies the target value for the given metric | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/src/main/java/io/kubernetes/client/fluent/Config.java: -------------------------------------------------------------------------------- 1 | package io.kubernetes.client.fluent; 2 | 3 | import io.sundr.builder.annotations.ExternalBuildables; 4 | 5 | @ExternalBuildables( 6 | editableEnabled = false, 7 | generateBuilderPackage = true, 8 | builderPackage = "io.kubernetes.client.fluent", 9 | value = {"io.kubernetes.client.models"} 10 | ) 11 | public class Config { 12 | } 13 | -------------------------------------------------------------------------------- /kubernetes/docs/V1RoleRef.md: -------------------------------------------------------------------------------- 1 | 2 | # V1RoleRef 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **apiGroup** | **String** | APIGroup is the group for the resource being referenced | 8 | **kind** | **String** | Kind is the type of resource being referenced | 9 | **name** | **String** | Name is the name of resource being referenced | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /kubernetes/docs/V1SecretReference.md: -------------------------------------------------------------------------------- 1 | 2 | # V1SecretReference 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **name** | **String** | Name is unique within a namespace to reference a secret resource. | [optional] 8 | **namespace** | **String** | Namespace defines the space within which the secret name must be unique. | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/V1beta1CSINodeSpec.md: -------------------------------------------------------------------------------- 1 | 2 | # V1beta1CSINodeSpec 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **drivers** | [**List<V1beta1CSINodeDriver>**](V1beta1CSINodeDriver.md) | drivers is a list of information of all CSI Drivers existing on a node. If all drivers in the list are uninstalled, this can become empty. | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /kubernetes/docs/V1NamespaceSpec.md: -------------------------------------------------------------------------------- 1 | 2 | # V1NamespaceSpec 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **finalizers** | **List<String>** | Finalizers is an opaque list of values that must be empty to permanently remove object from storage. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/ | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /util/src/main/java/io/kubernetes/client/util/Watchable.java: -------------------------------------------------------------------------------- 1 | package io.kubernetes.client.util; 2 | 3 | import java.util.Iterator; 4 | 5 | /** 6 | * @author zuoxiu.jm 7 | * @version $Id: Watchable.java, v 0.1 2019年02月25日 5:38 PM zuoxiu.jm Exp $ 8 | */ 9 | public interface Watchable 10 | extends Iterable>, 11 | Iterator>, 12 | java.io.Closeable, 13 | AutoCloseable {} 14 | -------------------------------------------------------------------------------- /kubernetes/docs/V1ObjectFieldSelector.md: -------------------------------------------------------------------------------- 1 | 2 | # V1ObjectFieldSelector 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **apiVersion** | **String** | Version of the schema the FieldPath is written in terms of, defaults to \"v1\". | [optional] 8 | **fieldPath** | **String** | Path of the field to select in the specified API version. | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/V1beta1RoleRef.md: -------------------------------------------------------------------------------- 1 | 2 | # V1beta1RoleRef 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **apiGroup** | **String** | APIGroup is the group for the resource being referenced | 8 | **kind** | **String** | Kind is the type of resource being referenced | 9 | **name** | **String** | Name is the name of resource being referenced | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /kubernetes/docs/V2beta2ResourceMetricStatus.md: -------------------------------------------------------------------------------- 1 | 2 | # V2beta2ResourceMetricStatus 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **current** | [**V2beta2MetricValueStatus**](V2beta2MetricValueStatus.md) | current contains the current value for the given metric | 8 | **name** | **String** | Name is the name of the resource in question. | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/V1LoadBalancerStatus.md: -------------------------------------------------------------------------------- 1 | 2 | # V1LoadBalancerStatus 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **ingress** | [**List<V1LoadBalancerIngress>**](V1LoadBalancerIngress.md) | Ingress is a list containing ingress points for the load-balancer. Traffic intended for the service should be sent to these ingress points. | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /kubernetes/docs/V1SecretEnvSource.md: -------------------------------------------------------------------------------- 1 | 2 | # V1SecretEnvSource 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **name** | **String** | Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names | [optional] 8 | **optional** | **Boolean** | Specify whether the Secret must be defined | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/V1alpha1RoleRef.md: -------------------------------------------------------------------------------- 1 | 2 | # V1alpha1RoleRef 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **apiGroup** | **String** | APIGroup is the group for the resource being referenced | 8 | **kind** | **String** | Kind is the type of resource being referenced | 9 | **name** | **String** | Name is the name of resource being referenced | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /kubernetes/docs/V1ConfigMapEnvSource.md: -------------------------------------------------------------------------------- 1 | 2 | # V1ConfigMapEnvSource 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **name** | **String** | Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names | [optional] 8 | **optional** | **Boolean** | Specify whether the ConfigMap must be defined | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/V1alpha1Policy.md: -------------------------------------------------------------------------------- 1 | 2 | # V1alpha1Policy 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **level** | **String** | The Level that all requests are recorded at. available options: None, Metadata, Request, RequestResponse required | 8 | **stages** | **List<String>** | Stages is a list of stages for which events are created. | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/V1alpha1WebhookThrottleConfig.md: -------------------------------------------------------------------------------- 1 | 2 | # V1alpha1WebhookThrottleConfig 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **burst** | **Long** | ThrottleBurst is the maximum number of events sent at the same moment default 15 QPS | [optional] 8 | **qps** | **Long** | ThrottleQPS maximum number of batches per second default 10 QPS | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/V1TopologySelectorLabelRequirement.md: -------------------------------------------------------------------------------- 1 | 2 | # V1TopologySelectorLabelRequirement 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **key** | **String** | The label key that the selector applies to. | 8 | **values** | **List<String>** | An array of string values. One value must match the label to be selected. Each entry in Values is ORed. | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/V1alpha1AuditSinkSpec.md: -------------------------------------------------------------------------------- 1 | 2 | # V1alpha1AuditSinkSpec 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **policy** | [**V1alpha1Policy**](V1alpha1Policy.md) | Policy defines the policy for selecting which events should be sent to the webhook required | 8 | **webhook** | [**V1alpha1Webhook**](V1alpha1Webhook.md) | Webhook to send events required | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/V1ContainerImage.md: -------------------------------------------------------------------------------- 1 | 2 | # V1ContainerImage 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **names** | **List<String>** | Names by which this image is known. e.g. [\"k8s.gcr.io/hyperkube:v1.0.7\", \"dockerhub.io/google_containers/hyperkube:v1.0.7\"] | 8 | **sizeBytes** | **Long** | The size of the image in bytes. | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /util/src/main/java/io/kubernetes/client/util/common/Collections.java: -------------------------------------------------------------------------------- 1 | package io.kubernetes.client.util.common; 2 | 3 | import java.util.Collection; 4 | import java.util.Map; 5 | 6 | public class Collections { 7 | 8 | public static boolean isEmptyMap(Map map) { 9 | return map == null || map.isEmpty(); 10 | } 11 | 12 | public static boolean isEmptyCollection(Collection collection) { 13 | return collection == null || collection.isEmpty(); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1ClientIPConfig.md: -------------------------------------------------------------------------------- 1 | 2 | # V1ClientIPConfig 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **timeoutSeconds** | **Integer** | timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == \"ClientIP\". Default value is 10800(for 3 hours). | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /kubernetes/docs/V1PreferredSchedulingTerm.md: -------------------------------------------------------------------------------- 1 | 2 | # V1PreferredSchedulingTerm 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **preference** | [**V1NodeSelectorTerm**](V1NodeSelectorTerm.md) | A node selector term, associated with the corresponding weight. | 8 | **weight** | **Integer** | Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100. | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/V1VolumeError.md: -------------------------------------------------------------------------------- 1 | 2 | # V1VolumeError 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **message** | **String** | String detailing the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information. | [optional] 8 | **time** | [**DateTime**](DateTime.md) | Time the error was encountered. | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/V2beta2PodsMetricSource.md: -------------------------------------------------------------------------------- 1 | 2 | # V2beta2PodsMetricSource 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **metric** | [**V2beta2MetricIdentifier**](V2beta2MetricIdentifier.md) | metric identifies the target metric by name and selector | 8 | **target** | [**V2beta2MetricTarget**](V2beta2MetricTarget.md) | target specifies the target value for the given metric | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/V1TCPSocketAction.md: -------------------------------------------------------------------------------- 1 | 2 | # V1TCPSocketAction 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **host** | **String** | Optional: Host name to connect to, defaults to the pod IP. | [optional] 8 | **port** | [**IntOrString**](IntOrString.md) | Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/V1beta1CronJobStatus.md: -------------------------------------------------------------------------------- 1 | 2 | # V1beta1CronJobStatus 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **active** | [**List<V1ObjectReference>**](V1ObjectReference.md) | A list of pointers to currently running jobs. | [optional] 8 | **lastScheduleTime** | [**DateTime**](DateTime.md) | Information when was the last time the job was successfully scheduled. | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/V2beta2ExternalMetricSource.md: -------------------------------------------------------------------------------- 1 | 2 | # V2beta2ExternalMetricSource 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **metric** | [**V2beta2MetricIdentifier**](V2beta2MetricIdentifier.md) | metric identifies the target metric by name and selector | 8 | **target** | [**V2beta2MetricTarget**](V2beta2MetricTarget.md) | target specifies the target value for the given metric | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /util/src/test/resources/kubeconfig-http: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Config 3 | clusters: 4 | - cluster: 5 | server: localhost 6 | insecure-skip-tls-verify: true 7 | name: foo 8 | contexts: 9 | - context: 10 | cluster: foo 11 | name: foo-context 12 | users: 13 | - user: 14 | client-certificate: /some/fake/path/client.crt 15 | client-key: /some/other/fake/path/client.key 16 | name: fake-user 17 | preferences: {} 18 | current-context: foo-context -------------------------------------------------------------------------------- /kubernetes/docs/V1FlockerVolumeSource.md: -------------------------------------------------------------------------------- 1 | 2 | # V1FlockerVolumeSource 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **datasetName** | **String** | Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated | [optional] 8 | **datasetUUID** | **String** | UUID of the dataset. This is unique identifier of a Flocker dataset | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/V1WeightedPodAffinityTerm.md: -------------------------------------------------------------------------------- 1 | 2 | # V1WeightedPodAffinityTerm 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **podAffinityTerm** | [**V1PodAffinityTerm**](V1PodAffinityTerm.md) | Required. A pod affinity term, associated with the corresponding weight. | 8 | **weight** | **Integer** | weight associated with matching the corresponding podAffinityTerm, in the range 1-100. | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/V1alpha1VolumeError.md: -------------------------------------------------------------------------------- 1 | 2 | # V1alpha1VolumeError 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **message** | **String** | String detailing the error encountered during Attach or Detach operation. This string maybe logged, so it should not contain sensitive information. | [optional] 8 | **time** | [**DateTime**](DateTime.md) | Time the error was encountered. | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/V1beta1VolumeError.md: -------------------------------------------------------------------------------- 1 | 2 | # V1beta1VolumeError 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **message** | **String** | String detailing the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information. | [optional] 8 | **time** | [**DateTime**](DateTime.md) | Time the error was encountered. | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/V2alpha1CronJobStatus.md: -------------------------------------------------------------------------------- 1 | 2 | # V2alpha1CronJobStatus 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **active** | [**List<V1ObjectReference>**](V1ObjectReference.md) | A list of pointers to currently running jobs. | [optional] 8 | **lastScheduleTime** | [**DateTime**](DateTime.md) | Information when was the last time the job was successfully scheduled. | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/V2beta2PodsMetricStatus.md: -------------------------------------------------------------------------------- 1 | 2 | # V2beta2PodsMetricStatus 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **current** | [**V2beta2MetricValueStatus**](V2beta2MetricValueStatus.md) | current contains the current value for the given metric | 8 | **metric** | [**V2beta2MetricIdentifier**](V2beta2MetricIdentifier.md) | metric identifies the target metric by name and selector | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/V1AggregationRule.md: -------------------------------------------------------------------------------- 1 | 2 | # V1AggregationRule 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **clusterRoleSelectors** | [**List<V1LabelSelector>**](V1LabelSelector.md) | ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /util/src/main/java/io/kubernetes/client/informer/ListerWatcher.java: -------------------------------------------------------------------------------- 1 | package io.kubernetes.client.informer; 2 | 3 | import io.kubernetes.client.ApiException; 4 | import io.kubernetes.client.util.CallGeneratorParams; 5 | import io.kubernetes.client.util.Watchable; 6 | 7 | public interface ListerWatcher { 8 | 9 | ApiListType list(CallGeneratorParams params) throws ApiException; 10 | 11 | Watchable watch(CallGeneratorParams params) throws ApiException; 12 | } 13 | -------------------------------------------------------------------------------- /util/src/main/java/io/kubernetes/client/util/CallGeneratorParams.java: -------------------------------------------------------------------------------- 1 | package io.kubernetes.client.util; 2 | 3 | public class CallGeneratorParams { 4 | 5 | public Boolean watch; 6 | public String resourceVersion; 7 | public Integer timeoutSeconds; 8 | 9 | public CallGeneratorParams(Boolean watch, String resourceVersion, Integer timeoutSeconds) { 10 | this.watch = watch; 11 | this.resourceVersion = resourceVersion; 12 | this.timeoutSeconds = timeoutSeconds; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /util/src/main/java/io/kubernetes/client/util/credentials/Authentication.java: -------------------------------------------------------------------------------- 1 | package io.kubernetes.client.util.credentials; 2 | 3 | import io.kubernetes.client.ApiClient; 4 | import io.kubernetes.client.util.ClientBuilder; 5 | 6 | /** 7 | * Allows the implementation of different authentication mechanisms for the Kubernetes API. 8 | * 9 | * @see ClientBuilder#setAuthentication(Authentication) 10 | */ 11 | public interface Authentication { 12 | 13 | void provide(ApiClient client); 14 | } 15 | -------------------------------------------------------------------------------- /kubernetes/docs/V1EventSeries.md: -------------------------------------------------------------------------------- 1 | 2 | # V1EventSeries 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **count** | **Integer** | Number of occurrences in this series up to the last heartbeat time | [optional] 8 | **lastObservedTime** | [**DateTime**](DateTime.md) | Time of the last occurrence observed | [optional] 9 | **state** | **String** | State of this Series: Ongoing or Finished | [optional] 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /kubernetes/docs/V1LoadBalancerIngress.md: -------------------------------------------------------------------------------- 1 | 2 | # V1LoadBalancerIngress 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **hostname** | **String** | Hostname is set for load-balancer ingress points that are DNS based (typically AWS load-balancers) | [optional] 8 | **ip** | **String** | IP is set for load-balancer ingress points that are IP based (typically GCE or OpenStack load-balancers) | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/V2beta2ExternalMetricStatus.md: -------------------------------------------------------------------------------- 1 | 2 | # V2beta2ExternalMetricStatus 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **current** | [**V2beta2MetricValueStatus**](V2beta2MetricValueStatus.md) | current contains the current value for the given metric | 8 | **metric** | [**V2beta2MetricIdentifier**](V2beta2MetricIdentifier.md) | metric identifies the target metric by name and selector | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/V1alpha1AggregationRule.md: -------------------------------------------------------------------------------- 1 | 2 | # V1alpha1AggregationRule 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **clusterRoleSelectors** | [**List<V1LabelSelector>**](V1LabelSelector.md) | ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /kubernetes/docs/V1beta1AggregationRule.md: -------------------------------------------------------------------------------- 1 | 2 | # V1beta1AggregationRule 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **clusterRoleSelectors** | [**List<V1LabelSelector>**](V1LabelSelector.md) | ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /kubernetes/docs/V1AzureFileVolumeSource.md: -------------------------------------------------------------------------------- 1 | 2 | # V1AzureFileVolumeSource 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **readOnly** | **Boolean** | Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. | [optional] 8 | **secretName** | **String** | the name of secret that contains Azure Storage Account Name and Key | 9 | **shareName** | **String** | Share Name | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /kubernetes/docs/V1beta1CustomResourceSubresources.md: -------------------------------------------------------------------------------- 1 | 2 | # V1beta1CustomResourceSubresources 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **scale** | [**V1beta1CustomResourceSubresourceScale**](V1beta1CustomResourceSubresourceScale.md) | Scale denotes the scale subresource for CustomResources | [optional] 8 | **status** | **Object** | Status denotes the status subresource for CustomResources | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/V1ResourceFieldSelector.md: -------------------------------------------------------------------------------- 1 | 2 | # V1ResourceFieldSelector 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **containerName** | **String** | Container name: required for volumes, optional for env vars | [optional] 8 | **divisor** | **String** | Specifies the output format of the exposed resources, defaults to \"1\" | [optional] 9 | **resource** | **String** | Required: resource to select | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /kubernetes/docs/V1GroupVersionForDiscovery.md: -------------------------------------------------------------------------------- 1 | 2 | # V1GroupVersionForDiscovery 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **groupVersion** | **String** | groupVersion specifies the API group and version in the form \"group/version\" | 8 | **version** | **String** | version specifies the version in the form of \"version\". This is to save the clients the trouble of splitting the GroupVersion. | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/V1alpha1Webhook.md: -------------------------------------------------------------------------------- 1 | 2 | # V1alpha1Webhook 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **clientConfig** | [**V1alpha1WebhookClientConfig**](V1alpha1WebhookClientConfig.md) | ClientConfig holds the connection parameters for the webhook required | 8 | **throttle** | [**V1alpha1WebhookThrottleConfig**](V1alpha1WebhookThrottleConfig.md) | Throttle holds the options for throttling the webhook | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/V1beta1EventSeries.md: -------------------------------------------------------------------------------- 1 | 2 | # V1beta1EventSeries 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **count** | **Integer** | Number of occurrences in this series up to the last heartbeat time | 8 | **lastObservedTime** | [**DateTime**](DateTime.md) | Time when last Event from the series was seen before last heartbeat. | 9 | **state** | **String** | Information whether this series is ongoing or finished. | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /kubernetes/docs/V1ConfigMapKeySelector.md: -------------------------------------------------------------------------------- 1 | 2 | # V1ConfigMapKeySelector 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **key** | **String** | The key to select. | 8 | **name** | **String** | Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names | [optional] 9 | **optional** | **Boolean** | Specify whether the ConfigMap or it's key must be defined | [optional] 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /kubernetes/docs/VersionInfo.md: -------------------------------------------------------------------------------- 1 | 2 | # VersionInfo 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **buildDate** | **String** | | 8 | **compiler** | **String** | | 9 | **gitCommit** | **String** | | 10 | **gitTreeState** | **String** | | 11 | **gitVersion** | **String** | | 12 | **goVersion** | **String** | | 13 | **major** | **String** | | 14 | **minor** | **String** | | 15 | **platform** | **String** | | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /kubernetes/docs/V1ServerAddressByClientCIDR.md: -------------------------------------------------------------------------------- 1 | 2 | # V1ServerAddressByClientCIDR 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **clientCIDR** | **String** | The CIDR with which clients can match their IP to figure out the server address that they should use. | 8 | **serverAddress** | **String** | Address of this server, suitable for a client that matches the above CIDR. This can be a hostname, hostname:port, IP or IP:port. | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/V1alpha1ServiceReference.md: -------------------------------------------------------------------------------- 1 | 2 | # V1alpha1ServiceReference 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **name** | **String** | `name` is the name of the service. Required | 8 | **namespace** | **String** | `namespace` is the namespace of the service. Required | 9 | **path** | **String** | `path` is an optional URL path which will be sent in any request to this service. | [optional] 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /kubernetes/docs/V1EndpointPort.md: -------------------------------------------------------------------------------- 1 | 2 | # V1EndpointPort 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **name** | **String** | The name of this port (corresponds to ServicePort.Name). Must be a DNS_LABEL. Optional only if one port is defined. | [optional] 8 | **port** | **Integer** | The port number of the endpoint. | 9 | **protocol** | **String** | The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP. | [optional] 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /kubernetes/docs/V1WatchEvent.md: -------------------------------------------------------------------------------- 1 | 2 | # V1WatchEvent 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **object** | [**RuntimeRawExtension**](RuntimeRawExtension.md) | Object is: * If Type is Added or Modified: the new state of the object. * If Type is Deleted: the state of the object immediately before deletion. * If Type is Error: *Status is recommended; other types may make sense depending on context. | 8 | **type** | **String** | | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /util/src/main/java/io/kubernetes/client/informer/exception/BuildInformerException.java: -------------------------------------------------------------------------------- 1 | package io.kubernetes.client.informer.exception; 2 | 3 | public class BuildInformerException extends RuntimeException { 4 | 5 | public BuildInformerException(String message) { 6 | super(message); 7 | } 8 | 9 | public BuildInformerException(Class resourceClass, String message) { 10 | super( 11 | String.format( 12 | "failed to construct informer for resource %s: %s", resourceClass.getName(), message)); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /kubernetes/docs/V1ResourceQuotaStatus.md: -------------------------------------------------------------------------------- 1 | 2 | # V1ResourceQuotaStatus 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **hard** | **Map<String, String>** | Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/ | [optional] 8 | **used** | **Map<String, String>** | Used is the current observed total usage of the resource in the namespace. | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/V1DeploymentStrategy.md: -------------------------------------------------------------------------------- 1 | 2 | # V1DeploymentStrategy 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **rollingUpdate** | [**V1RollingUpdateDeployment**](V1RollingUpdateDeployment.md) | Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate. | [optional] 8 | **type** | **String** | Type of deployment. Can be \"Recreate\" or \"RollingUpdate\". Default is RollingUpdate. | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/V1IPBlock.md: -------------------------------------------------------------------------------- 1 | 2 | # V1IPBlock 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **cidr** | **String** | CIDR is a string representing the IP Block Valid examples are \"192.168.1.1/24\" | 8 | **except** | **List<String>** | Except is a slice of CIDRs that should not be included within an IP Block Valid examples are \"192.168.1.1/24\" Except values will be rejected if they are outside the CIDR range | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/V1NodeSelectorTerm.md: -------------------------------------------------------------------------------- 1 | 2 | # V1NodeSelectorTerm 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **matchExpressions** | [**List<V1NodeSelectorRequirement>**](V1NodeSelectorRequirement.md) | A list of node selector requirements by node's labels. | [optional] 8 | **matchFields** | [**List<V1NodeSelectorRequirement>**](V1NodeSelectorRequirement.md) | A list of node selector requirements by node's fields. | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/ApiextensionsV1beta1ServiceReference.md: -------------------------------------------------------------------------------- 1 | 2 | # ApiextensionsV1beta1ServiceReference 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **name** | **String** | `name` is the name of the service. Required | 8 | **namespace** | **String** | `namespace` is the namespace of the service. Required | 9 | **path** | **String** | `path` is an optional URL path which will be sent in any request to this service. | [optional] 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /kubernetes/docs/V1DaemonSetUpdateStrategy.md: -------------------------------------------------------------------------------- 1 | 2 | # V1DaemonSetUpdateStrategy 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **rollingUpdate** | [**V1RollingUpdateDaemonSet**](V1RollingUpdateDaemonSet.md) | Rolling update config params. Present only if type = \"RollingUpdate\". | [optional] 8 | **type** | **String** | Type of daemon set update. Can be \"RollingUpdate\" or \"OnDelete\". Default is RollingUpdate. | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/V1EnvFromSource.md: -------------------------------------------------------------------------------- 1 | 2 | # V1EnvFromSource 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **configMapRef** | [**V1ConfigMapEnvSource**](V1ConfigMapEnvSource.md) | The ConfigMap to select from | [optional] 8 | **prefix** | **String** | An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER. | [optional] 9 | **secretRef** | [**V1SecretEnvSource**](V1SecretEnvSource.md) | The Secret to select from | [optional] 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /kubernetes/docs/V1beta1IPBlock.md: -------------------------------------------------------------------------------- 1 | 2 | # V1beta1IPBlock 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **cidr** | **String** | CIDR is a string representing the IP Block Valid examples are \"192.168.1.1/24\" | 8 | **except** | **List<String>** | Except is a slice of CIDRs that should not be included within an IP Block Valid examples are \"192.168.1.1/24\" Except values will be rejected if they are outside the CIDR range | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/V1beta1StatefulSetUpdateStrategy.md: -------------------------------------------------------------------------------- 1 | 2 | # V1beta1StatefulSetUpdateStrategy 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **rollingUpdate** | [**V1beta1RollingUpdateStatefulSetStrategy**](V1beta1RollingUpdateStatefulSetStrategy.md) | RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType. | [optional] 8 | **type** | **String** | Type indicates the type of the StatefulSetUpdateStrategy. | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/V1SecretKeySelector.md: -------------------------------------------------------------------------------- 1 | 2 | # V1SecretKeySelector 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **key** | **String** | The key of the secret to select from. Must be a valid secret key. | 8 | **name** | **String** | Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names | [optional] 9 | **optional** | **Boolean** | Specify whether the Secret or it's key must be defined | [optional] 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /kubernetes/docs/V1StatefulSetUpdateStrategy.md: -------------------------------------------------------------------------------- 1 | 2 | # V1StatefulSetUpdateStrategy 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **rollingUpdate** | [**V1RollingUpdateStatefulSetStrategy**](V1RollingUpdateStatefulSetStrategy.md) | RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType. | [optional] 8 | **type** | **String** | Type indicates the type of the StatefulSetUpdateStrategy. Default is RollingUpdate. | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/V1CrossVersionObjectReference.md: -------------------------------------------------------------------------------- 1 | 2 | # V1CrossVersionObjectReference 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **apiVersion** | **String** | API version of the referent | [optional] 8 | **kind** | **String** | Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds\" | 9 | **name** | **String** | Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /kubernetes/docs/V1beta2DeploymentStrategy.md: -------------------------------------------------------------------------------- 1 | 2 | # V1beta2DeploymentStrategy 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **rollingUpdate** | [**V1beta2RollingUpdateDeployment**](V1beta2RollingUpdateDeployment.md) | Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate. | [optional] 8 | **type** | **String** | Type of deployment. Can be \"Recreate\" or \"RollingUpdate\". Default is RollingUpdate. | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/AdmissionregistrationV1beta1ServiceReference.md: -------------------------------------------------------------------------------- 1 | 2 | # AdmissionregistrationV1beta1ServiceReference 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **name** | **String** | `name` is the name of the service. Required | 8 | **namespace** | **String** | `namespace` is the namespace of the service. Required | 9 | **path** | **String** | `path` is an optional URL path which will be sent in any request to this service. | [optional] 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /kubernetes/docs/PolicyV1beta1SELinuxStrategyOptions.md: -------------------------------------------------------------------------------- 1 | 2 | # PolicyV1beta1SELinuxStrategyOptions 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **rule** | **String** | rule is the strategy that will dictate the allowable labels that may be set. | 8 | **seLinuxOptions** | [**V1SELinuxOptions**](V1SELinuxOptions.md) | seLinuxOptions required to run as; required for MustRunAs More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/V1beta1DaemonSetUpdateStrategy.md: -------------------------------------------------------------------------------- 1 | 2 | # V1beta1DaemonSetUpdateStrategy 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **rollingUpdate** | [**V1beta1RollingUpdateDaemonSet**](V1beta1RollingUpdateDaemonSet.md) | Rolling update config params. Present only if type = \"RollingUpdate\". | [optional] 8 | **type** | **String** | Type of daemon set update. Can be \"RollingUpdate\" or \"OnDelete\". Default is OnDelete. | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/V1NetworkPolicyPort.md: -------------------------------------------------------------------------------- 1 | 2 | # V1NetworkPolicyPort 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **port** | [**IntOrString**](IntOrString.md) | The port on the given protocol. This can either be a numerical or named port on a pod. If this field is not provided, this matches all port names and numbers. | [optional] 8 | **protocol** | **String** | The protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this field defaults to TCP. | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/V1PhotonPersistentDiskVolumeSource.md: -------------------------------------------------------------------------------- 1 | 2 | # V1PhotonPersistentDiskVolumeSource 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **fsType** | **String** | Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. | [optional] 8 | **pdID** | **String** | ID that identifies Photon Controller persistent disk | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/V1beta1CertificateSigningRequestStatus.md: -------------------------------------------------------------------------------- 1 | 2 | # V1beta1CertificateSigningRequestStatus 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **certificate** | **byte[]** | If request was approved, the controller will place the issued certificate here. | [optional] 8 | **conditions** | [**List<V1beta1CertificateSigningRequestCondition>**](V1beta1CertificateSigningRequestCondition.md) | Conditions applied to the request, such as approval or denial. | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/V1beta2DaemonSetUpdateStrategy.md: -------------------------------------------------------------------------------- 1 | 2 | # V1beta2DaemonSetUpdateStrategy 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **rollingUpdate** | [**V1beta2RollingUpdateDaemonSet**](V1beta2RollingUpdateDaemonSet.md) | Rolling update config params. Present only if type = \"RollingUpdate\". | [optional] 8 | **type** | **String** | Type of daemon set update. Can be \"RollingUpdate\" or \"OnDelete\". Default is RollingUpdate. | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/V2beta1CrossVersionObjectReference.md: -------------------------------------------------------------------------------- 1 | 2 | # V2beta1CrossVersionObjectReference 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **apiVersion** | **String** | API version of the referent | [optional] 8 | **kind** | **String** | Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds\" | 9 | **name** | **String** | Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /kubernetes/docs/V2beta2CrossVersionObjectReference.md: -------------------------------------------------------------------------------- 1 | 2 | # V2beta2CrossVersionObjectReference 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **apiVersion** | **String** | API version of the referent | [optional] 8 | **kind** | **String** | Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds\" | 9 | **name** | **String** | Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /kubernetes/docs/AppsV1beta1DeploymentStrategy.md: -------------------------------------------------------------------------------- 1 | 2 | # AppsV1beta1DeploymentStrategy 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **rollingUpdate** | [**AppsV1beta1RollingUpdateDeployment**](AppsV1beta1RollingUpdateDeployment.md) | Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate. | [optional] 8 | **type** | **String** | Type of deployment. Can be \"Recreate\" or \"RollingUpdate\". Default is RollingUpdate. | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/ExtensionsV1beta1SELinuxStrategyOptions.md: -------------------------------------------------------------------------------- 1 | 2 | # ExtensionsV1beta1SELinuxStrategyOptions 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **rule** | **String** | rule is the strategy that will dictate the allowable labels that may be set. | 8 | **seLinuxOptions** | [**V1SELinuxOptions**](V1SELinuxOptions.md) | seLinuxOptions required to run as; required for MustRunAs More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/V1HostPathVolumeSource.md: -------------------------------------------------------------------------------- 1 | 2 | # V1HostPathVolumeSource 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **path** | **String** | Path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath | 8 | **type** | **String** | Type for HostPath Volume Defaults to \"\" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/V1PersistentVolumeClaimVolumeSource.md: -------------------------------------------------------------------------------- 1 | 2 | # V1PersistentVolumeClaimVolumeSource 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **claimName** | **String** | ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims | 8 | **readOnly** | **Boolean** | Will force the ReadOnly setting in VolumeMounts. Default false. | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/V1beta2StatefulSetUpdateStrategy.md: -------------------------------------------------------------------------------- 1 | 2 | # V1beta2StatefulSetUpdateStrategy 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **rollingUpdate** | [**V1beta2RollingUpdateStatefulSetStrategy**](V1beta2RollingUpdateStatefulSetStrategy.md) | RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType. | [optional] 8 | **type** | **String** | Type indicates the type of the StatefulSetUpdateStrategy. Default is RollingUpdate. | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/src/main/java/io/kubernetes/client/auth/OAuthFlow.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Kubernetes 3 | * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) 4 | * 5 | * OpenAPI spec version: v1.14.2 6 | * 7 | * 8 | * NOTE: This class is auto generated by the swagger code generator program. 9 | * https://github.com/swagger-api/swagger-codegen.git 10 | * Do not edit the class manually. 11 | */ 12 | 13 | 14 | package io.kubernetes.client.auth; 15 | 16 | public enum OAuthFlow { 17 | accessCode, implicit, password, application 18 | } 19 | -------------------------------------------------------------------------------- /kubernetes/docs/V1ContainerState.md: -------------------------------------------------------------------------------- 1 | 2 | # V1ContainerState 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **running** | [**V1ContainerStateRunning**](V1ContainerStateRunning.md) | Details about a running container | [optional] 8 | **terminated** | [**V1ContainerStateTerminated**](V1ContainerStateTerminated.md) | Details about a terminated container | [optional] 9 | **waiting** | [**V1ContainerStateWaiting**](V1ContainerStateWaiting.md) | Details about a waiting container | [optional] 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /kubernetes/docs/V1SelfSubjectAccessReviewSpec.md: -------------------------------------------------------------------------------- 1 | 2 | # V1SelfSubjectAccessReviewSpec 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **nonResourceAttributes** | [**V1NonResourceAttributes**](V1NonResourceAttributes.md) | NonResourceAttributes describes information for a non-resource access request | [optional] 8 | **resourceAttributes** | [**V1ResourceAttributes**](V1ResourceAttributes.md) | ResourceAuthorizationAttributes describes information for a resource access request | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/V1PodTemplateSpec.md: -------------------------------------------------------------------------------- 1 | 2 | # V1PodTemplateSpec 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] 8 | **spec** | [**V1PodSpec**](V1PodSpec.md) | Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/V1VolumeAttachmentSpec.md: -------------------------------------------------------------------------------- 1 | 2 | # V1VolumeAttachmentSpec 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **attacher** | **String** | Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName(). | 8 | **nodeName** | **String** | The node that the volume should be attached to. | 9 | **source** | [**V1VolumeAttachmentSource**](V1VolumeAttachmentSource.md) | Source represents the volume that should be attached. | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /kubernetes/docs/V2beta2ObjectMetricSource.md: -------------------------------------------------------------------------------- 1 | 2 | # V2beta2ObjectMetricSource 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **describedObject** | [**V2beta2CrossVersionObjectReference**](V2beta2CrossVersionObjectReference.md) | | 8 | **metric** | [**V2beta2MetricIdentifier**](V2beta2MetricIdentifier.md) | metric identifies the target metric by name and selector | 9 | **target** | [**V2beta2MetricTarget**](V2beta2MetricTarget.md) | target specifies the target value for the given metric | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.class 2 | 3 | # VS Code IDE Files 4 | .classpath 5 | .settings/ 6 | .project 7 | .vscode/ 8 | 9 | # Maven builds 10 | */target/ 11 | target/ 12 | **/.factorypath 13 | 14 | # Mobile Tools for Java (J2ME) 15 | .mtj.tmp/ 16 | 17 | # Package Files # 18 | *.jar 19 | *.war 20 | *.ear 21 | 22 | # virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml 23 | hs_err_pid* 24 | 25 | # Intellij IDEA files 26 | .idea 27 | *.iml 28 | 29 | .DS_Store 30 | 31 | # generated stuff 32 | kubernetes/bin 33 | kubernetes/swagger.json.unprocessed 34 | 35 | .gradle 36 | build -------------------------------------------------------------------------------- /kubernetes/docs/V2beta2ObjectMetricStatus.md: -------------------------------------------------------------------------------- 1 | 2 | # V2beta2ObjectMetricStatus 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **current** | [**V2beta2MetricValueStatus**](V2beta2MetricValueStatus.md) | current contains the current value for the given metric | 8 | **describedObject** | [**V2beta2CrossVersionObjectReference**](V2beta2CrossVersionObjectReference.md) | | 9 | **metric** | [**V2beta2MetricIdentifier**](V2beta2MetricIdentifier.md) | metric identifies the target metric by name and selector | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /kubernetes/docs/ExtensionsV1beta1DeploymentStrategy.md: -------------------------------------------------------------------------------- 1 | 2 | # ExtensionsV1beta1DeploymentStrategy 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **rollingUpdate** | [**ExtensionsV1beta1RollingUpdateDeployment**](ExtensionsV1beta1RollingUpdateDeployment.md) | Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate. | [optional] 8 | **type** | **String** | Type of deployment. Can be \"Recreate\" or \"RollingUpdate\". Default is RollingUpdate. | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/V1NonResourceRule.md: -------------------------------------------------------------------------------- 1 | 2 | # V1NonResourceRule 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **nonResourceURLs** | **List<String>** | NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path. \"*\" means all. | [optional] 8 | **verbs** | **List<String>** | Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options. \"*\" means all. | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/V1SELinuxOptions.md: -------------------------------------------------------------------------------- 1 | 2 | # V1SELinuxOptions 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **level** | **String** | Level is SELinux level label that applies to the container. | [optional] 8 | **role** | **String** | Role is a SELinux role label that applies to the container. | [optional] 9 | **type** | **String** | Type is a SELinux type label that applies to the container. | [optional] 10 | **user** | **String** | User is a SELinux user label that applies to the container. | [optional] 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /examples/createPod.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # creates a pod and runs 4 | # Example.java(list pods for all namespaces) on starting of pod 5 | 6 | # Exit on any error. 7 | set -e 8 | 9 | if ! which minikube > /dev/null; then 10 | echo "This script requires minikube installed." 11 | exit 100 12 | fi 13 | 14 | dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" 15 | 16 | export REPO_ROOT=${dir}/.. 17 | 18 | cd ${REPO_ROOT} 19 | mvn install 20 | 21 | cd ${REPO_ROOT}/examples 22 | mvn package 23 | 24 | eval $(minikube docker-env) 25 | docker build -t test/examples:1.0 . 26 | kubectl apply -f test.yaml 27 | -------------------------------------------------------------------------------- /kubernetes/docs/V1TypedLocalObjectReference.md: -------------------------------------------------------------------------------- 1 | 2 | # V1TypedLocalObjectReference 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **apiGroup** | **String** | APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. | [optional] 8 | **kind** | **String** | Kind is the type of resource being referenced | 9 | **name** | **String** | Name is the name of resource being referenced | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /kubernetes/docs/V1alpha1VolumeAttachmentSpec.md: -------------------------------------------------------------------------------- 1 | 2 | # V1alpha1VolumeAttachmentSpec 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **attacher** | **String** | Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName(). | 8 | **nodeName** | **String** | The node that the volume should be attached to. | 9 | **source** | [**V1alpha1VolumeAttachmentSource**](V1alpha1VolumeAttachmentSource.md) | Source represents the volume that should be attached. | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /kubernetes/docs/V1beta1VolumeAttachmentSpec.md: -------------------------------------------------------------------------------- 1 | 2 | # V1beta1VolumeAttachmentSpec 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **attacher** | **String** | Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName(). | 8 | **nodeName** | **String** | The node that the volume should be attached to. | 9 | **source** | [**V1beta1VolumeAttachmentSource**](V1beta1VolumeAttachmentSource.md) | Source represents the volume that should be attached. | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /kubernetes/docs/V1beta1NonResourceRule.md: -------------------------------------------------------------------------------- 1 | 2 | # V1beta1NonResourceRule 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **nonResourceURLs** | **List<String>** | NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path. \"*\" means all. | [optional] 8 | **verbs** | **List<String>** | Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options. \"*\" means all. | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/V1beta1SelfSubjectAccessReviewSpec.md: -------------------------------------------------------------------------------- 1 | 2 | # V1beta1SelfSubjectAccessReviewSpec 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **nonResourceAttributes** | [**V1beta1NonResourceAttributes**](V1beta1NonResourceAttributes.md) | NonResourceAttributes describes information for a non-resource access request | [optional] 8 | **resourceAttributes** | [**V1beta1ResourceAttributes**](V1beta1ResourceAttributes.md) | ResourceAuthorizationAttributes describes information for a resource access request | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/V2beta2MetricIdentifier.md: -------------------------------------------------------------------------------- 1 | 2 | # V2beta2MetricIdentifier 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **name** | **String** | name is the name of the given metric | 8 | **selector** | [**V1LabelSelector**](V1LabelSelector.md) | selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics. | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/PolicyV1beta1FSGroupStrategyOptions.md: -------------------------------------------------------------------------------- 1 | 2 | # PolicyV1beta1FSGroupStrategyOptions 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **ranges** | [**List<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] 8 | **rule** | **String** | rule is the strategy that will dictate what FSGroup is used in the SecurityContext. | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/V1Handler.md: -------------------------------------------------------------------------------- 1 | 2 | # V1Handler 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **exec** | [**V1ExecAction**](V1ExecAction.md) | One and only one of the following should be specified. Exec specifies the action to take. | [optional] 8 | **httpGet** | [**V1HTTPGetAction**](V1HTTPGetAction.md) | HTTPGet specifies the http request to perform. | [optional] 9 | **tcpSocket** | [**V1TCPSocketAction**](V1TCPSocketAction.md) | TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported | [optional] 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /kubernetes/docs/PolicyV1beta1RunAsGroupStrategyOptions.md: -------------------------------------------------------------------------------- 1 | 2 | # PolicyV1beta1RunAsGroupStrategyOptions 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **ranges** | [**List<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] 8 | **rule** | **String** | rule is the strategy that will dictate the allowable RunAsGroup values that may be set. | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/PolicyV1beta1RunAsUserStrategyOptions.md: -------------------------------------------------------------------------------- 1 | 2 | # PolicyV1beta1RunAsUserStrategyOptions 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **ranges** | [**List<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] 8 | **rule** | **String** | rule is the strategy that will dictate the allowable RunAsUser values that may be set. | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/V1beta1CertificateSigningRequestCondition.md: -------------------------------------------------------------------------------- 1 | 2 | # V1beta1CertificateSigningRequestCondition 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **lastUpdateTime** | [**DateTime**](DateTime.md) | timestamp for the last update to this condition | [optional] 8 | **message** | **String** | human readable message with details about the request state | [optional] 9 | **reason** | **String** | brief reason for the request state | [optional] 10 | **type** | **String** | request approval state, currently Approved or Denied. | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /kubernetes/docs/ExtensionsV1beta1FSGroupStrategyOptions.md: -------------------------------------------------------------------------------- 1 | 2 | # ExtensionsV1beta1FSGroupStrategyOptions 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **ranges** | [**List<ExtensionsV1beta1IDRange>**](ExtensionsV1beta1IDRange.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] 8 | **rule** | **String** | rule is the strategy that will dictate what FSGroup is used in the SecurityContext. | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/V1ProjectedVolumeSource.md: -------------------------------------------------------------------------------- 1 | 2 | # V1ProjectedVolumeSource 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **defaultMode** | **Integer** | Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. | [optional] 8 | **sources** | [**List<V1VolumeProjection>**](V1VolumeProjection.md) | list of volume projections | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/V1ScaleStatus.md: -------------------------------------------------------------------------------- 1 | 2 | # V1ScaleStatus 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **replicas** | **Integer** | actual number of observed instances of the scaled object. | 8 | **selector** | **String** | label query over pods that should match the replicas count. This is same as the label selector but in the string format to avoid introspection by clients. The string will be in the same format as the query-param syntax. More info about label selectors: http://kubernetes.io/docs/user-guide/labels#label-selectors | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/V1beta1JobTemplateSpec.md: -------------------------------------------------------------------------------- 1 | 2 | # V1beta1JobTemplateSpec 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] 8 | **spec** | [**V1JobSpec**](V1JobSpec.md) | Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/ExtensionsV1beta1RunAsGroupStrategyOptions.md: -------------------------------------------------------------------------------- 1 | 2 | # ExtensionsV1beta1RunAsGroupStrategyOptions 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **ranges** | [**List<ExtensionsV1beta1IDRange>**](ExtensionsV1beta1IDRange.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] 8 | **rule** | **String** | rule is the strategy that will dictate the allowable RunAsGroup values that may be set. | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/ExtensionsV1beta1RunAsUserStrategyOptions.md: -------------------------------------------------------------------------------- 1 | 2 | # ExtensionsV1beta1RunAsUserStrategyOptions 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **ranges** | [**List<ExtensionsV1beta1IDRange>**](ExtensionsV1beta1IDRange.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] 8 | **rule** | **String** | rule is the strategy that will dictate the allowable RunAsUser values that may be set. | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/V1GitRepoVolumeSource.md: -------------------------------------------------------------------------------- 1 | 2 | # V1GitRepoVolumeSource 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **directory** | **String** | Target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name. | [optional] 8 | **repository** | **String** | Repository URL | 9 | **revision** | **String** | Commit hash for the specified revision. | [optional] 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /kubernetes/docs/V2alpha1JobTemplateSpec.md: -------------------------------------------------------------------------------- 1 | 2 | # V2alpha1JobTemplateSpec 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] 8 | **spec** | [**V1JobSpec**](V1JobSpec.md) | Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/V1LocalVolumeSource.md: -------------------------------------------------------------------------------- 1 | 2 | # V1LocalVolumeSource 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **fsType** | **String** | Filesystem type to mount. It applies only when the Path is a block device. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default value is to auto-select a fileystem if unspecified. | [optional] 8 | **path** | **String** | The full path to the volume on the node. It can be either a directory or block device (disk, partition, ...). | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/V1TokenReviewSpec.md: -------------------------------------------------------------------------------- 1 | 2 | # V1TokenReviewSpec 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **audiences** | **List<String>** | Audiences is a list of the identifiers that the resource server presented with the token identifies as. Audience-aware token authenticators will verify that the token was intended for at least one of the audiences in this list. If no audiences are provided, the audience will default to the audience of the Kubernetes apiserver. | [optional] 8 | **token** | **String** | Token is the opaque bearer token. | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /SECURITY_CONTACTS: -------------------------------------------------------------------------------- 1 | # Defined below are the security contacts for this repo. 2 | # 3 | # They are the contact point for the Product Security Team to reach out 4 | # to for triaging and handling of incoming issues. 5 | # 6 | # The below names agree to abide by the 7 | # [Embargo Policy](https://github.com/kubernetes/sig-release/blob/master/security-release-process-documentation/security-release-process.md#embargo-policy) 8 | # and will be removed and replaced if they violate that agreement. 9 | # 10 | # DO NOT REPORT SECURITY VULNERABILITIES DIRECTLY TO THESE NAMES, FOLLOW THE 11 | # INSTRUCTIONS AT https://kubernetes.io/security/ 12 | 13 | brendandburns 14 | lwander 15 | -------------------------------------------------------------------------------- /kubernetes/docs/V1ExecAction.md: -------------------------------------------------------------------------------- 1 | 2 | # V1ExecAction 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **command** | **List<String>** | Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /extended/src/main/java/io/kubernetes/client/extended/workqueue/DelayingQueue.java: -------------------------------------------------------------------------------- 1 | package io.kubernetes.client.extended.workqueue; 2 | 3 | import java.time.Duration; 4 | 5 | /** 6 | * DelayingQueue defines a queue that can Add an item at a later time. This makes it easier to 7 | * requeue items after failures without ending up in a hot-loop. 8 | */ 9 | public interface DelayingQueue extends WorkQueue { 10 | 11 | /** 12 | * addAfter adds an item to the workqueue after the indicated duration has passed. 13 | * 14 | * @param item item to add 15 | * @param duration specific duration 16 | */ 17 | void addAfter(T item, Duration duration); 18 | } 19 | -------------------------------------------------------------------------------- /kubernetes/docs/V1beta1TokenReviewSpec.md: -------------------------------------------------------------------------------- 1 | 2 | # V1beta1TokenReviewSpec 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **audiences** | **List<String>** | Audiences is a list of the identifiers that the resource server presented with the token identifies as. Audience-aware token authenticators will verify that the token was intended for at least one of the audiences in this list. If no audiences are provided, the audience will default to the audience of the Kubernetes apiserver. | [optional] 8 | **token** | **String** | Token is the opaque bearer token. | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/PolicyV1beta1SupplementalGroupsStrategyOptions.md: -------------------------------------------------------------------------------- 1 | 2 | # PolicyV1beta1SupplementalGroupsStrategyOptions 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **ranges** | [**List<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] 8 | **rule** | **String** | rule is the strategy that will dictate what supplemental groups is used in the SecurityContext. | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /util/src/test/resources/ca-cert-invalid.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE----- 2 | MIIDNDCCAp2gAwIBAgIJANpXxe5h/f0+MA0GCSqGSIb3DQEBBQUAMHAxCzAJBgNV 3 | BAYTAlVTMQswCQYDVQQIEwJOWTERMA8GA1UEBxMITmV3IFlvcmsxGjAYBgNVBAoT 4 | EUt1YmVybmV0ZXMgQ2xpZW50MSUwIwYDVQQDExxDbGllbnQgQ2VydGlmaWNhdGUg 5 | QXV0aCBUZXN0MB4XDTE4MDIwNjE2Mzg1NloXDTI4MDIwNDE2Mzg1NlowcDELMAkG 6 | A1UEBhMCVVMxCzAJBgNVBAgTAk5ZMREwDwYDVQQHEwhOZXcgWW9yazEaMBgGA1UE 7 | ChMRS3ViZXJuZXRlcyBDbGllbnQxJTAjBgNVBAMTHENsaWVudCBDZXJ0aWZpY2F0 8 | ZSBBdXRoIFRlc3QwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAPPZeFjGKAzV 9 | NWXr476eXiUz65M2zhPyHafZtRzsZWCNI3dePovpy4h37Dqj2MoQL3RmBt7ZSRYC 10 | TFIbdsbOGVMczpCHjOLyj3JuD5i399jNHoqGwi3bLUP/KLIwLgUJzegBFeHt2OGT -------------------------------------------------------------------------------- /kubernetes/docs/V1AzureFilePersistentVolumeSource.md: -------------------------------------------------------------------------------- 1 | 2 | # V1AzureFilePersistentVolumeSource 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **readOnly** | **Boolean** | Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. | [optional] 8 | **secretName** | **String** | the name of secret that contains Azure Storage Account Name and Key | 9 | **secretNamespace** | **String** | the namespace of the secret that contains Azure Storage Account Name and Key default is the same as the Pod | [optional] 10 | **shareName** | **String** | Share Name | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /kubernetes/docs/V1beta1NetworkPolicyPort.md: -------------------------------------------------------------------------------- 1 | 2 | # V1beta1NetworkPolicyPort 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **port** | [**IntOrString**](IntOrString.md) | If specified, the port on the given protocol. This can either be a numerical or named port on a pod. If this field is not provided, this matches all port names and numbers. If present, only traffic on the specified protocol AND port will be matched. | [optional] 8 | **protocol** | **String** | Optional. The protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this field defaults to TCP. | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/ExtensionsV1beta1SupplementalGroupsStrategyOptions.md: -------------------------------------------------------------------------------- 1 | 2 | # ExtensionsV1beta1SupplementalGroupsStrategyOptions 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **ranges** | [**List<ExtensionsV1beta1IDRange>**](ExtensionsV1beta1IDRange.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] 8 | **rule** | **String** | rule is the strategy that will dictate what supplemental groups is used in the SecurityContext. | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/V1PortworxVolumeSource.md: -------------------------------------------------------------------------------- 1 | 2 | # V1PortworxVolumeSource 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **fsType** | **String** | FSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\". Implicitly inferred to be \"ext4\" if unspecified. | [optional] 8 | **readOnly** | **Boolean** | Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. | [optional] 9 | **volumeID** | **String** | VolumeID uniquely identifies a Portworx volume | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /kubernetes/docs/V1Taint.md: -------------------------------------------------------------------------------- 1 | 2 | # V1Taint 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **effect** | **String** | Required. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute. | 8 | **key** | **String** | Required. The taint key to be applied to a node. | 9 | **timeAdded** | [**DateTime**](DateTime.md) | TimeAdded represents the time at which the taint was added. It is only written for NoExecute taints. | [optional] 10 | **value** | **String** | Required. The taint value corresponding to the taint key. | [optional] 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /kubernetes/docs/V1DaemonSetCondition.md: -------------------------------------------------------------------------------- 1 | 2 | # V1DaemonSetCondition 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **lastTransitionTime** | [**DateTime**](DateTime.md) | Last time the condition transitioned from one status to another. | [optional] 8 | **message** | **String** | A human readable message indicating details about the transition. | [optional] 9 | **reason** | **String** | The reason for the condition's last transition. | [optional] 10 | **status** | **String** | Status of the condition, one of True, False, Unknown. | 11 | **type** | **String** | Type of DaemonSet condition. | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /kubernetes/docs/V1ReplicaSetCondition.md: -------------------------------------------------------------------------------- 1 | 2 | # V1ReplicaSetCondition 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **lastTransitionTime** | [**DateTime**](DateTime.md) | The last time the condition transitioned from one status to another. | [optional] 8 | **message** | **String** | A human readable message indicating details about the transition. | [optional] 9 | **reason** | **String** | The reason for the condition's last transition. | [optional] 10 | **status** | **String** | Status of the condition, one of True, False, Unknown. | 11 | **type** | **String** | Type of replica set condition. | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /kubernetes/docs/V1StatefulSetCondition.md: -------------------------------------------------------------------------------- 1 | 2 | # V1StatefulSetCondition 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **lastTransitionTime** | [**DateTime**](DateTime.md) | Last time the condition transitioned from one status to another. | [optional] 8 | **message** | **String** | A human readable message indicating details about the transition. | [optional] 9 | **reason** | **String** | The reason for the condition's last transition. | [optional] 10 | **status** | **String** | Status of the condition, one of True, False, Unknown. | 11 | **type** | **String** | Type of statefulset condition. | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /kubernetes/docs/V1DownwardAPIVolumeSource.md: -------------------------------------------------------------------------------- 1 | 2 | # V1DownwardAPIVolumeSource 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **defaultMode** | **Integer** | Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. | [optional] 8 | **items** | [**List<V1DownwardAPIVolumeFile>**](V1DownwardAPIVolumeFile.md) | Items is a list of downward API volume file | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/V1NFSVolumeSource.md: -------------------------------------------------------------------------------- 1 | 2 | # V1NFSVolumeSource 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **path** | **String** | Path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs | 8 | **readOnly** | **Boolean** | ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs | [optional] 9 | **server** | **String** | Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /kubernetes/docs/V1beta1DaemonSetCondition.md: -------------------------------------------------------------------------------- 1 | 2 | # V1beta1DaemonSetCondition 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **lastTransitionTime** | [**DateTime**](DateTime.md) | Last time the condition transitioned from one status to another. | [optional] 8 | **message** | **String** | A human readable message indicating details about the transition. | [optional] 9 | **reason** | **String** | The reason for the condition's last transition. | [optional] 10 | **status** | **String** | Status of the condition, one of True, False, Unknown. | 11 | **type** | **String** | Type of DaemonSet condition. | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /kubernetes/docs/V1beta2DaemonSetCondition.md: -------------------------------------------------------------------------------- 1 | 2 | # V1beta2DaemonSetCondition 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **lastTransitionTime** | [**DateTime**](DateTime.md) | Last time the condition transitioned from one status to another. | [optional] 8 | **message** | **String** | A human readable message indicating details about the transition. | [optional] 9 | **reason** | **String** | The reason for the condition's last transition. | [optional] 10 | **status** | **String** | Status of the condition, one of True, False, Unknown. | 11 | **type** | **String** | Type of DaemonSet condition. | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /kubernetes/docs/V1PersistentVolumeStatus.md: -------------------------------------------------------------------------------- 1 | 2 | # V1PersistentVolumeStatus 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **message** | **String** | A human-readable message indicating details about why the volume is in this state. | [optional] 8 | **phase** | **String** | Phase indicates if a volume is available, bound to a claim, or released by a claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#phase | [optional] 9 | **reason** | **String** | Reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI. | [optional] 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /kubernetes/docs/V1beta1ReplicaSetCondition.md: -------------------------------------------------------------------------------- 1 | 2 | # V1beta1ReplicaSetCondition 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **lastTransitionTime** | [**DateTime**](DateTime.md) | The last time the condition transitioned from one status to another. | [optional] 8 | **message** | **String** | A human readable message indicating details about the transition. | [optional] 9 | **reason** | **String** | The reason for the condition's last transition. | [optional] 10 | **status** | **String** | Status of the condition, one of True, False, Unknown. | 11 | **type** | **String** | Type of replica set condition. | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /kubernetes/docs/V1beta1StatefulSetCondition.md: -------------------------------------------------------------------------------- 1 | 2 | # V1beta1StatefulSetCondition 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **lastTransitionTime** | [**DateTime**](DateTime.md) | Last time the condition transitioned from one status to another. | [optional] 8 | **message** | **String** | A human readable message indicating details about the transition. | [optional] 9 | **reason** | **String** | The reason for the condition's last transition. | [optional] 10 | **status** | **String** | Status of the condition, one of True, False, Unknown. | 11 | **type** | **String** | Type of statefulset condition. | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /kubernetes/docs/V1beta2ReplicaSetCondition.md: -------------------------------------------------------------------------------- 1 | 2 | # V1beta2ReplicaSetCondition 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **lastTransitionTime** | [**DateTime**](DateTime.md) | The last time the condition transitioned from one status to another. | [optional] 8 | **message** | **String** | A human readable message indicating details about the transition. | [optional] 9 | **reason** | **String** | The reason for the condition's last transition. | [optional] 10 | **status** | **String** | Status of the condition, one of True, False, Unknown. | 11 | **type** | **String** | Type of replica set condition. | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /kubernetes/docs/V1beta2StatefulSetCondition.md: -------------------------------------------------------------------------------- 1 | 2 | # V1beta2StatefulSetCondition 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **lastTransitionTime** | [**DateTime**](DateTime.md) | Last time the condition transitioned from one status to another. | [optional] 8 | **message** | **String** | A human readable message indicating details about the transition. | [optional] 9 | **reason** | **String** | The reason for the condition's last transition. | [optional] 10 | **status** | **String** | Status of the condition, one of True, False, Unknown. | 11 | **type** | **String** | Type of statefulset condition. | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /kubernetes/docs/V2beta2MetricValueStatus.md: -------------------------------------------------------------------------------- 1 | 2 | # V2beta2MetricValueStatus 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **averageUtilization** | **Integer** | currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. | [optional] 8 | **averageValue** | **String** | averageValue is the current value of the average of the metric across all relevant pods (as a quantity) | [optional] 9 | **value** | **String** | value is the current value of the metric (as a quantity). | [optional] 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /extended/src/test/resources/namespace-list-pager2.json: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "NamespaceList", 3 | "apiVersion": "v1", 4 | "metadata": { 5 | "selfLink": "/api/v1/namespaces", 6 | "resourceVersion": "61027" 7 | }, 8 | "items": [ 9 | { 10 | "metadata": { 11 | "name": "default", 12 | "selfLink": "/api/v1/namespaces/default", 13 | "uid": "6daaf10d-3ca3-11e9-ac34-0800272a766a", 14 | "resourceVersion": "4", 15 | "creationTimestamp": "2019-03-02T04:27:02Z" 16 | }, 17 | "spec": { 18 | "finalizers": [ 19 | "kubernetes" 20 | ] 21 | }, 22 | "status": { 23 | "phase": "Active" 24 | } 25 | } 26 | ] 27 | } 28 | -------------------------------------------------------------------------------- /util/src/main/java/io/kubernetes/client/informer/EventType.java: -------------------------------------------------------------------------------- 1 | package io.kubernetes.client.informer; 2 | 3 | public enum EventType { 4 | ADDED, 5 | 6 | MODIFIED, 7 | 8 | DELETED, 9 | 10 | ERROR; 11 | 12 | /** 13 | * getByType returns the corresponding EventType by type. 14 | * 15 | * @param type specific code 16 | * @return corresponding EventType 17 | */ 18 | public static EventType getByType(String type) { 19 | if (type != null && type.length() > 0) { 20 | for (EventType eventType : EventType.values()) { 21 | if (eventType.name().equalsIgnoreCase(type)) { 22 | return eventType; 23 | } 24 | } 25 | } 26 | return null; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /kubernetes/docs/V1Affinity.md: -------------------------------------------------------------------------------- 1 | 2 | # V1Affinity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **nodeAffinity** | [**V1NodeAffinity**](V1NodeAffinity.md) | Describes node affinity scheduling rules for the pod. | [optional] 8 | **podAffinity** | [**V1PodAffinity**](V1PodAffinity.md) | Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). | [optional] 9 | **podAntiAffinity** | [**V1PodAntiAffinity**](V1PodAntiAffinity.md) | Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). | [optional] 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /kubernetes/docs/V1UserInfo.md: -------------------------------------------------------------------------------- 1 | 2 | # V1UserInfo 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **extra** | [**Map<String, List<String>>**](List.md) | Any additional information provided by the authenticator. | [optional] 8 | **groups** | **List<String>** | The names of groups this user is a part of. | [optional] 9 | **uid** | **String** | A unique value that identifies this user across time. If this user is deleted and another user by the same name is added, they will have different UIDs. | [optional] 10 | **username** | **String** | The name that uniquely identifies this user among all active users. | [optional] 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /kubernetes/docs/V2beta1ExternalMetricStatus.md: -------------------------------------------------------------------------------- 1 | 2 | # V2beta1ExternalMetricStatus 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **currentAverageValue** | **String** | currentAverageValue is the current value of metric averaged over autoscaled pods. | [optional] 8 | **currentValue** | **String** | currentValue is the current value of the metric (as a quantity) | 9 | **metricName** | **String** | metricName is the name of a metric used for autoscaling in metric system. | 10 | **metricSelector** | [**V1LabelSelector**](V1LabelSelector.md) | metricSelector is used to identify a specific time series within a given metric. | [optional] 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /kubernetes/docs/V1KeyToPath.md: -------------------------------------------------------------------------------- 1 | 2 | # V1KeyToPath 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **key** | **String** | The key to project. | 8 | **mode** | **Integer** | Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. | [optional] 9 | **path** | **String** | The relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'. | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /kubernetes/docs/V1ReplicationControllerCondition.md: -------------------------------------------------------------------------------- 1 | 2 | # V1ReplicationControllerCondition 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **lastTransitionTime** | [**DateTime**](DateTime.md) | The last time the condition transitioned from one status to another. | [optional] 8 | **message** | **String** | A human readable message indicating details about the transition. | [optional] 9 | **reason** | **String** | The reason for the condition's last transition. | [optional] 10 | **status** | **String** | Status of the condition, one of True, False, Unknown. | 11 | **type** | **String** | Type of replication controller condition. | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /extended/src/test/resources/namespace-list-pager1.json: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "NamespaceList", 3 | "apiVersion": "v1", 4 | "metadata": { 5 | "selfLink": "/api/v1/namespaces", 6 | "resourceVersion": "61027", 7 | "continue": "c1" 8 | }, 9 | "items": [ 10 | { 11 | "metadata": { 12 | "name": "default", 13 | "selfLink": "/api/v1/namespaces/default", 14 | "uid": "6daaf10d-3ca3-11e9-ac34-0800272a766a", 15 | "resourceVersion": "4", 16 | "creationTimestamp": "2019-03-02T04:27:02Z" 17 | }, 18 | "spec": { 19 | "finalizers": [ 20 | "kubernetes" 21 | ] 22 | }, 23 | "status": { 24 | "phase": "Active" 25 | } 26 | } 27 | ] 28 | } 29 | -------------------------------------------------------------------------------- /kubernetes/docs/V1APIServiceCondition.md: -------------------------------------------------------------------------------- 1 | 2 | # V1APIServiceCondition 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **lastTransitionTime** | [**DateTime**](DateTime.md) | Last time the condition transitioned from one status to another. | [optional] 8 | **message** | **String** | Human-readable message indicating details about last transition. | [optional] 9 | **reason** | **String** | Unique, one-word, CamelCase reason for the condition's last transition. | [optional] 10 | **status** | **String** | Status is the status of the condition. Can be True, False, Unknown. | 11 | **type** | **String** | Type is the type of the condition. | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /kubernetes/docs/V1ComponentCondition.md: -------------------------------------------------------------------------------- 1 | 2 | # V1ComponentCondition 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **error** | **String** | Condition error code for a component. For example, a health check error code. | [optional] 8 | **message** | **String** | Message about the condition for a component. For example, information about a health check. | [optional] 9 | **status** | **String** | Status of the condition for a component. Valid values for \"Healthy\": \"True\", \"False\", or \"Unknown\". | 10 | **type** | **String** | Type of condition for a component. Valid value: \"Healthy\" | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /kubernetes/docs/V1LabelSelectorRequirement.md: -------------------------------------------------------------------------------- 1 | 2 | # V1LabelSelectorRequirement 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **key** | **String** | key is the label key that the selector applies to. | 8 | **operator** | **String** | operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. | 9 | **values** | **List<String>** | values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. | [optional] 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /kubernetes/docs/V1beta1UserInfo.md: -------------------------------------------------------------------------------- 1 | 2 | # V1beta1UserInfo 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **extra** | [**Map<String, List<String>>**](List.md) | Any additional information provided by the authenticator. | [optional] 8 | **groups** | **List<String>** | The names of groups this user is a part of. | [optional] 9 | **uid** | **String** | A unique value that identifies this user across time. If this user is deleted and another user by the same name is added, they will have different UIDs. | [optional] 10 | **username** | **String** | The name that uniquely identifies this user among all active users. | [optional] 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /kubernetes/docs/V1ScopedResourceSelectorRequirement.md: -------------------------------------------------------------------------------- 1 | 2 | # V1ScopedResourceSelectorRequirement 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **operator** | **String** | Represents a scope's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. | 8 | **scopeName** | **String** | The name of the scope that the selector applies to. | 9 | **values** | **List<String>** | An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. | [optional] 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /kubernetes/docs/V1beta1APIServiceCondition.md: -------------------------------------------------------------------------------- 1 | 2 | # V1beta1APIServiceCondition 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **lastTransitionTime** | [**DateTime**](DateTime.md) | Last time the condition transitioned from one status to another. | [optional] 8 | **message** | **String** | Human-readable message indicating details about last transition. | [optional] 9 | **reason** | **String** | Unique, one-word, CamelCase reason for the condition's last transition. | [optional] 10 | **status** | **String** | Status is the status of the condition. Can be True, False, Unknown. | 11 | **type** | **String** | Type is the type of the condition. | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /kubernetes/docs/V1Initializers.md: -------------------------------------------------------------------------------- 1 | 2 | # V1Initializers 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **pending** | [**List<V1Initializer>**](V1Initializer.md) | Pending is a list of initializers that must execute in order before this object is visible. When the last pending initializer is removed, and no failing result is set, the initializers struct will be set to nil and the object is considered as initialized and visible to all clients. | 8 | **result** | [**V1Status**](V1Status.md) | If result is set with the Failure field, the object will be persisted to storage and then deleted, ensuring that other clients can observe the deletion. | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/V1LabelSelector.md: -------------------------------------------------------------------------------- 1 | 2 | # V1LabelSelector 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **matchExpressions** | [**List<V1LabelSelectorRequirement>**](V1LabelSelectorRequirement.md) | matchExpressions is a list of label selector requirements. The requirements are ANDed. | [optional] 8 | **matchLabels** | **Map<String, String>** | matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed. | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /util/src/main/java/io/kubernetes/client/util/credentials/AccessTokenAuthentication.java: -------------------------------------------------------------------------------- 1 | package io.kubernetes.client.util.credentials; 2 | 3 | import com.google.common.base.Preconditions; 4 | import io.kubernetes.client.ApiClient; 5 | 6 | /** Uses a Bearer Token to configure {@link ApiClient} authentication to the Kubernetes API. */ 7 | public class AccessTokenAuthentication implements Authentication { 8 | private String token; 9 | 10 | public AccessTokenAuthentication(final String token) { 11 | Preconditions.checkNotNull(token, "Access Token cannot be null"); 12 | this.token = token; 13 | } 14 | 15 | @Override 16 | public void provide(ApiClient client) { 17 | client.setApiKeyPrefix("Bearer"); 18 | client.setApiKey(token); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /kubernetes/docs/PolicyV1beta1AllowedHostPath.md: -------------------------------------------------------------------------------- 1 | 2 | # PolicyV1beta1AllowedHostPath 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **pathPrefix** | **String** | pathPrefix is the path prefix that the host volume must match. It does not support `*`. Trailing slashes are trimmed when validating the path prefix with a host path. Examples: `/foo` would allow `/foo`, `/foo/` and `/foo/bar` `/foo` would not allow `/food` or `/etc/foo` | [optional] 8 | **readOnly** | **Boolean** | when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly. | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/ExtensionsV1beta1AllowedHostPath.md: -------------------------------------------------------------------------------- 1 | 2 | # ExtensionsV1beta1AllowedHostPath 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **pathPrefix** | **String** | pathPrefix is the path prefix that the host volume must match. It does not support `*`. Trailing slashes are trimmed when validating the path prefix with a host path. Examples: `/foo` would allow `/foo`, `/foo/` and `/foo/bar` `/foo` would not allow `/food` or `/etc/foo` | [optional] 8 | **readOnly** | **Boolean** | when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly. | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/V1beta1CustomResourceDefinitionCondition.md: -------------------------------------------------------------------------------- 1 | 2 | # V1beta1CustomResourceDefinitionCondition 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **lastTransitionTime** | [**DateTime**](DateTime.md) | Last time the condition transitioned from one status to another. | [optional] 8 | **message** | **String** | Human-readable message indicating details about last transition. | [optional] 9 | **reason** | **String** | Unique, one-word, CamelCase reason for the condition's last transition. | [optional] 10 | **status** | **String** | Status is the status of the condition. Can be True, False, Unknown. | 11 | **type** | **String** | Type is the type of the condition. | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /extended/src/main/java/io/kubernetes/client/extended/workqueue/ratelimiter/RateLimiter.java: -------------------------------------------------------------------------------- 1 | package io.kubernetes.client.extended.workqueue.ratelimiter; 2 | 3 | import java.time.Duration; 4 | 5 | public interface RateLimiter { 6 | /** 7 | * When gets an item and gets to decide how long that item should wait 8 | * 9 | * @param item Item that should wait 10 | */ 11 | Duration when(T item); 12 | 13 | /** 14 | * Forget indicates that an item is finished being retried. Doesn't matter whether its for perm 15 | * failing or for success, we'll stop tracking it 16 | * 17 | * @param item Item will be forget 18 | */ 19 | void forget(T item); 20 | 21 | /** @return number of how many failures the item has had */ 22 | int numRequeues(T item); 23 | } 24 | -------------------------------------------------------------------------------- /kubernetes/docs/V1VolumeProjection.md: -------------------------------------------------------------------------------- 1 | 2 | # V1VolumeProjection 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **configMap** | [**V1ConfigMapProjection**](V1ConfigMapProjection.md) | information about the configMap data to project | [optional] 8 | **downwardAPI** | [**V1DownwardAPIProjection**](V1DownwardAPIProjection.md) | information about the downwardAPI data to project | [optional] 9 | **secret** | [**V1SecretProjection**](V1SecretProjection.md) | information about the secret data to project | [optional] 10 | **serviceAccountToken** | [**V1ServiceAccountTokenProjection**](V1ServiceAccountTokenProjection.md) | information about the serviceAccountToken data to project | [optional] 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /kubernetes/docs/V2beta1PodsMetricSource.md: -------------------------------------------------------------------------------- 1 | 2 | # V2beta1PodsMetricSource 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **metricName** | **String** | metricName is the name of the metric in question | 8 | **selector** | [**V1LabelSelector**](V1LabelSelector.md) | selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics. | [optional] 9 | **targetAverageValue** | **String** | targetAverageValue is the target value of the average of the metric across all relevant pods (as a quantity) | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /kubernetes/docs/V2beta1HorizontalPodAutoscalerCondition.md: -------------------------------------------------------------------------------- 1 | 2 | # V2beta1HorizontalPodAutoscalerCondition 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **lastTransitionTime** | [**DateTime**](DateTime.md) | lastTransitionTime is the last time the condition transitioned from one status to another | [optional] 8 | **message** | **String** | message is a human-readable explanation containing details about the transition | [optional] 9 | **reason** | **String** | reason is the reason for the condition's last transition. | [optional] 10 | **status** | **String** | status is the status of the condition (True, False, Unknown) | 11 | **type** | **String** | type describes the current condition | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /kubernetes/docs/V2beta2HorizontalPodAutoscalerCondition.md: -------------------------------------------------------------------------------- 1 | 2 | # V2beta2HorizontalPodAutoscalerCondition 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **lastTransitionTime** | [**DateTime**](DateTime.md) | lastTransitionTime is the last time the condition transitioned from one status to another | [optional] 8 | **message** | **String** | message is a human-readable explanation containing details about the transition | [optional] 9 | **reason** | **String** | reason is the reason for the condition's last transition. | [optional] 10 | **status** | **String** | status is the status of the condition (True, False, Unknown) | 11 | **type** | **String** | type describes the current condition | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /kubernetes/docs/V1GlusterfsVolumeSource.md: -------------------------------------------------------------------------------- 1 | 2 | # V1GlusterfsVolumeSource 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **endpoints** | **String** | EndpointsName is the endpoint name that details Glusterfs topology. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod | 8 | **path** | **String** | Path is the Glusterfs volume path. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod | 9 | **readOnly** | **Boolean** | ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod | [optional] 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /kubernetes/docs/V1JobCondition.md: -------------------------------------------------------------------------------- 1 | 2 | # V1JobCondition 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **lastProbeTime** | [**DateTime**](DateTime.md) | Last time the condition was checked. | [optional] 8 | **lastTransitionTime** | [**DateTime**](DateTime.md) | Last time the condition transit from one status to another. | [optional] 9 | **message** | **String** | Human readable message indicating details about last transition. | [optional] 10 | **reason** | **String** | (brief) reason for the condition's last transition. | [optional] 11 | **status** | **String** | Status of the condition, one of True, False, Unknown. | 12 | **type** | **String** | Type of job condition, Complete or Failed. | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1NodeCondition.md: -------------------------------------------------------------------------------- 1 | 2 | # V1NodeCondition 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **lastHeartbeatTime** | [**DateTime**](DateTime.md) | Last time we got an update on a given condition. | [optional] 8 | **lastTransitionTime** | [**DateTime**](DateTime.md) | Last time the condition transit from one status to another. | [optional] 9 | **message** | **String** | Human readable message indicating details about last transition. | [optional] 10 | **reason** | **String** | (brief) reason for the condition's last transition. | [optional] 11 | **status** | **String** | Status of the condition, one of True, False, Unknown. | 12 | **type** | **String** | Type of node condition. | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1DeploymentCondition.md: -------------------------------------------------------------------------------- 1 | 2 | # V1DeploymentCondition 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **lastTransitionTime** | [**DateTime**](DateTime.md) | Last time the condition transitioned from one status to another. | [optional] 8 | **lastUpdateTime** | [**DateTime**](DateTime.md) | The last time this condition was updated. | [optional] 9 | **message** | **String** | A human readable message indicating details about the transition. | [optional] 10 | **reason** | **String** | The reason for the condition's last transition. | [optional] 11 | **status** | **String** | Status of the condition, one of True, False, Unknown. | 12 | **type** | **String** | Type of deployment condition. | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1VsphereVirtualDiskVolumeSource.md: -------------------------------------------------------------------------------- 1 | 2 | # V1VsphereVirtualDiskVolumeSource 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **fsType** | **String** | Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. | [optional] 8 | **storagePolicyID** | **String** | Storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName. | [optional] 9 | **storagePolicyName** | **String** | Storage Policy Based Management (SPBM) profile name. | [optional] 10 | **volumePath** | **String** | Path that identifies vSphere volume vmdk | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /kubernetes/docs/V2beta1PodsMetricStatus.md: -------------------------------------------------------------------------------- 1 | 2 | # V2beta1PodsMetricStatus 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **currentAverageValue** | **String** | currentAverageValue is the current value of the average of the metric across all relevant pods (as a quantity) | 8 | **metricName** | **String** | metricName is the name of the metric in question | 9 | **selector** | [**V1LabelSelector**](V1LabelSelector.md) | selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the PodsMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics. | [optional] 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /kubernetes/docs/V1beta2DeploymentCondition.md: -------------------------------------------------------------------------------- 1 | 2 | # V1beta2DeploymentCondition 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **lastTransitionTime** | [**DateTime**](DateTime.md) | Last time the condition transitioned from one status to another. | [optional] 8 | **lastUpdateTime** | [**DateTime**](DateTime.md) | The last time this condition was updated. | [optional] 9 | **message** | **String** | A human readable message indicating details about the transition. | [optional] 10 | **reason** | **String** | The reason for the condition's last transition. | [optional] 11 | **status** | **String** | Status of the condition, one of True, False, Unknown. | 12 | **type** | **String** | Type of deployment condition. | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/AppsV1beta1DeploymentCondition.md: -------------------------------------------------------------------------------- 1 | 2 | # AppsV1beta1DeploymentCondition 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **lastTransitionTime** | [**DateTime**](DateTime.md) | Last time the condition transitioned from one status to another. | [optional] 8 | **lastUpdateTime** | [**DateTime**](DateTime.md) | The last time this condition was updated. | [optional] 9 | **message** | **String** | A human readable message indicating details about the transition. | [optional] 10 | **reason** | **String** | The reason for the condition's last transition. | [optional] 11 | **status** | **String** | Status of the condition, one of True, False, Unknown. | 12 | **type** | **String** | Type of deployment condition. | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /util/src/main/java/io/kubernetes/client/informer/SharedIndexInformer.java: -------------------------------------------------------------------------------- 1 | package io.kubernetes.client.informer; 2 | 3 | import io.kubernetes.client.informer.cache.Indexer; 4 | import java.util.List; 5 | import java.util.Map; 6 | import java.util.function.Function; 7 | 8 | /* 9 | * SharedIndexInformer extends SharedInformer and provides indexer operability additionally. 10 | */ 11 | public interface SharedIndexInformer extends SharedInformer { 12 | 13 | /** 14 | * Add indexers. 15 | * 16 | * @param indexers the indexers 17 | */ 18 | void addIndexers(Map>> indexers); 19 | 20 | /** 21 | * getIndexer returns the internal indexer store. 22 | * 23 | * @return the internal indexer store 24 | */ 25 | Indexer getIndexer(); 26 | } 27 | -------------------------------------------------------------------------------- /kubernetes/docs/V1alpha1RuntimeClassSpec.md: -------------------------------------------------------------------------------- 1 | 2 | # V1alpha1RuntimeClassSpec 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **runtimeHandler** | **String** | RuntimeHandler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration. It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called \"runc\" might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The RuntimeHandler must conform to the DNS Label (RFC 1123) requirements and is immutable. | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /kubernetes/docs/V2beta1ExternalMetricSource.md: -------------------------------------------------------------------------------- 1 | 2 | # V2beta1ExternalMetricSource 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **metricName** | **String** | metricName is the name of the metric in question. | 8 | **metricSelector** | [**V1LabelSelector**](V1LabelSelector.md) | metricSelector is used to identify a specific time series within a given metric. | [optional] 9 | **targetAverageValue** | [**Quantity**](Quantity.md) | targetAverageValue is the target per-pod value of global metric (as a quantity). Mutually exclusive with TargetValue. | [optional] 10 | **targetValue** | [**Quantity**](Quantity.md) | targetValue is the target value of the metric (as a quantity). Mutually exclusive with TargetAverageValue. | [optional] 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /kubernetes/docs/V1EndpointAddress.md: -------------------------------------------------------------------------------- 1 | 2 | # V1EndpointAddress 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **hostname** | **String** | The Hostname of this endpoint | [optional] 8 | **ip** | **String** | The IP of this endpoint. May not be loopback (127.0.0.0/8), link-local (169.254.0.0/16), or link-local multicast ((224.0.0.0/24). IPv6 is also accepted but not fully supported on all platforms. Also, certain kubernetes components, like kube-proxy, are not IPv6 ready. | 9 | **nodeName** | **String** | Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node. | [optional] 10 | **targetRef** | [**V1ObjectReference**](V1ObjectReference.md) | Reference to object providing the endpoint. | [optional] 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /kubernetes/docs/V1NodeSelectorRequirement.md: -------------------------------------------------------------------------------- 1 | 2 | # V1NodeSelectorRequirement 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **key** | **String** | The label key that the selector applies to. | 8 | **operator** | **String** | Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. | 9 | **values** | **List<String>** | An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch. | [optional] 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /kubernetes/docs/V1ResourceRequirements.md: -------------------------------------------------------------------------------- 1 | 2 | # V1ResourceRequirements 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **limits** | [**Map<String, Quantity>**](Quantity.md) | Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ | [optional] 8 | **requests** | [**Map<String, Quantity>**](Quantity.md) | Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/V2beta1ResourceMetricSource.md: -------------------------------------------------------------------------------- 1 | 2 | # V2beta1ResourceMetricSource 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **name** | **String** | name is the name of the resource in question. | 8 | **targetAverageUtilization** | **Integer** | targetAverageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. | [optional] 9 | **targetAverageValue** | [**Quantity**](Quantity.md) | targetAverageValue is the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the \"pods\" metric source type. | [optional] 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /kubernetes/docs/ExtensionsV1beta1DeploymentCondition.md: -------------------------------------------------------------------------------- 1 | 2 | # ExtensionsV1beta1DeploymentCondition 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **lastTransitionTime** | [**DateTime**](DateTime.md) | Last time the condition transitioned from one status to another. | [optional] 8 | **lastUpdateTime** | [**DateTime**](DateTime.md) | The last time this condition was updated. | [optional] 9 | **message** | **String** | A human readable message indicating details about the transition. | [optional] 10 | **reason** | **String** | The reason for the condition's last transition. | [optional] 11 | **status** | **String** | Status of the condition, one of True, False, Unknown. | 12 | **type** | **String** | Type of deployment condition. | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1HTTPGetAction.md: -------------------------------------------------------------------------------- 1 | 2 | # V1HTTPGetAction 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **host** | **String** | Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead. | [optional] 8 | **httpHeaders** | [**List<V1HTTPHeader>**](V1HTTPHeader.md) | Custom headers to set in the request. HTTP allows repeated headers. | [optional] 9 | **path** | **String** | Path to access on the HTTP server. | [optional] 10 | **port** | [**IntOrString**](IntOrString.md) | Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. | 11 | **scheme** | **String** | Scheme to use for connecting to the host. Defaults to HTTP. | [optional] 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /kubernetes/docs/ExtensionsV1beta1HTTPIngressPath.md: -------------------------------------------------------------------------------- 1 | 2 | # ExtensionsV1beta1HTTPIngressPath 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **backend** | [**ExtensionsV1beta1IngressBackend**](ExtensionsV1beta1IngressBackend.md) | Backend defines the referenced service endpoint to which the traffic will be forwarded to. | 8 | **path** | **String** | Path is an extended POSIX regex as defined by IEEE Std 1003.1, (i.e this follows the egrep/unix syntax, not the perl syntax) matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional \"path\" part of a URL as defined by RFC 3986. Paths must begin with a '/'. If unspecified, the path defaults to a catch all sending traffic to the backend. | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/NetworkingV1beta1HTTPIngressPath.md: -------------------------------------------------------------------------------- 1 | 2 | # NetworkingV1beta1HTTPIngressPath 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **backend** | [**NetworkingV1beta1IngressBackend**](NetworkingV1beta1IngressBackend.md) | Backend defines the referenced service endpoint to which the traffic will be forwarded to. | 8 | **path** | **String** | Path is an extended POSIX regex as defined by IEEE Std 1003.1, (i.e this follows the egrep/unix syntax, not the perl syntax) matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional \"path\" part of a URL as defined by RFC 3986. Paths must begin with a '/'. If unspecified, the path defaults to a catch all sending traffic to the backend. | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /extended/src/main/java/io/kubernetes/client/extended/controller/LeaderElectingController.java: -------------------------------------------------------------------------------- 1 | package io.kubernetes.client.extended.controller; 2 | 3 | import io.kubernetes.client.extended.leaderelection.LeaderElector; 4 | 5 | public class LeaderElectingController implements Controller { 6 | 7 | private Controller delegateController; 8 | private LeaderElector leaderElector; 9 | 10 | public LeaderElectingController(LeaderElector leaderElector, Controller delegateController) { 11 | this.delegateController = delegateController; 12 | this.leaderElector = leaderElector; 13 | } 14 | 15 | @Override 16 | public void shutdown() { 17 | this.delegateController.shutdown(); 18 | } 19 | 20 | @Override 21 | public void run() { 22 | this.leaderElector.run( 23 | () -> this.delegateController.run(), () -> this.delegateController.shutdown()); 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /kubernetes/docs/V1EndpointSubset.md: -------------------------------------------------------------------------------- 1 | 2 | # V1EndpointSubset 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **addresses** | [**List<V1EndpointAddress>**](V1EndpointAddress.md) | IP addresses which offer the related ports that are marked as ready. These endpoints should be considered safe for load balancers and clients to utilize. | [optional] 8 | **notReadyAddresses** | [**List<V1EndpointAddress>**](V1EndpointAddress.md) | IP addresses which offer the related ports but are not currently marked as ready because they have not yet finished starting, have recently failed a readiness check, or have recently failed a liveness check. | [optional] 9 | **ports** | [**List<V1EndpointPort>**](V1EndpointPort.md) | Port numbers available on the related IP addresses. | [optional] 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /kubernetes/docs/V2beta2MetricTarget.md: -------------------------------------------------------------------------------- 1 | 2 | # V2beta2MetricTarget 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **averageUtilization** | **Integer** | averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type | [optional] 8 | **averageValue** | [**Quantity**](Quantity.md) | averageValue is the target value of the average of the metric across all relevant pods (as a quantity) | [optional] 9 | **type** | **String** | type represents whether the metric type is Utilization, Value, or AverageValue | 10 | **value** | [**Quantity**](Quantity.md) | value is the target value of the metric (as a quantity). | [optional] 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /kubernetes/docs/ExtensionsV1beta1IngressTLS.md: -------------------------------------------------------------------------------- 1 | 2 | # ExtensionsV1beta1IngressTLS 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **hosts** | **List<String>** | Hosts are a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified. | [optional] 8 | **secretName** | **String** | SecretName is the name of the secret used to terminate SSL traffic on 443. Field is left optional to allow SSL routing based on SNI hostname alone. If the SNI host in a listener conflicts with the \"Host\" header field used by an IngressRule, the SNI host is used for termination and value of the Host header is used for routing. | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/NetworkingV1beta1IngressTLS.md: -------------------------------------------------------------------------------- 1 | 2 | # NetworkingV1beta1IngressTLS 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **hosts** | **List<String>** | Hosts are a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified. | [optional] 8 | **secretName** | **String** | SecretName is the name of the secret used to terminate SSL traffic on 443. Field is left optional to allow SSL routing based on SNI hostname alone. If the SNI host in a listener conflicts with the \"Host\" header field used by an IngressRule, the SNI host is used for termination and value of the Host header is used for routing. | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/docs/V1EnvVar.md: -------------------------------------------------------------------------------- 1 | 2 | # V1EnvVar 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **name** | **String** | Name of the environment variable. Must be a C_IDENTIFIER. | 8 | **value** | **String** | Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to \"\". | [optional] 9 | **valueFrom** | [**V1EnvVarSource**](V1EnvVarSource.md) | Source for the environment variable's value. Cannot be used if value is not empty. | [optional] 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /kubernetes/docs/V1PersistentVolumeClaimCondition.md: -------------------------------------------------------------------------------- 1 | 2 | # V1PersistentVolumeClaimCondition 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **lastProbeTime** | [**DateTime**](DateTime.md) | Last time we probed the condition. | [optional] 8 | **lastTransitionTime** | [**DateTime**](DateTime.md) | Last time the condition transitioned from one status to another. | [optional] 9 | **message** | **String** | Human-readable message indicating details about last transition. | [optional] 10 | **reason** | **String** | Unique, this should be a short, machine understandable string that gives the reason for condition's last transition. If it reports \"ResizeStarted\" that means the underlying persistent volume is being resized. | [optional] 11 | **status** | **String** | | 12 | **type** | **String** | | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1APIGroupList.md: -------------------------------------------------------------------------------- 1 | 2 | # V1APIGroupList 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **apiVersion** | **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] 8 | **groups** | [**List<V1APIGroup>**](V1APIGroup.md) | groups is a list of APIGroup. | 9 | **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] 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /kubernetes/docs/V1LeaseSpec.md: -------------------------------------------------------------------------------- 1 | 2 | # V1LeaseSpec 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **acquireTime** | [**DateTime**](DateTime.md) | acquireTime is a time when the current lease was acquired. | [optional] 8 | **holderIdentity** | **String** | holderIdentity contains the identity of the holder of a current lease. | [optional] 9 | **leaseDurationSeconds** | **Integer** | leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime. | [optional] 10 | **leaseTransitions** | **Integer** | leaseTransitions is the number of transitions of a lease between holders. | [optional] 11 | **renewTime** | [**DateTime**](DateTime.md) | renewTime is a time when the current holder of a lease has last updated the lease. | [optional] 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /kubernetes/docs/V1PodAffinityTerm.md: -------------------------------------------------------------------------------- 1 | 2 | # V1PodAffinityTerm 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **labelSelector** | [**V1LabelSelector**](V1LabelSelector.md) | A label query over a set of resources, in this case pods. | [optional] 8 | **namespaces** | **List<String>** | namespaces specifies which namespaces the labelSelector applies to (matches against); null or empty list means \"this pod's namespace\" | [optional] 9 | **topologyKey** | **String** | This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed. | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /kubernetes/docs/V1beta1LeaseSpec.md: -------------------------------------------------------------------------------- 1 | 2 | # V1beta1LeaseSpec 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **acquireTime** | [**DateTime**](DateTime.md) | acquireTime is a time when the current lease was acquired. | [optional] 8 | **holderIdentity** | **String** | holderIdentity contains the identity of the holder of a current lease. | [optional] 9 | **leaseDurationSeconds** | **Integer** | leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime. | [optional] 10 | **leaseTransitions** | **Integer** | leaseTransitions is the number of transitions of a lease between holders. | [optional] 11 | **renewTime** | [**DateTime**](DateTime.md) | renewTime is a time when the current holder of a lease has last updated the lease. | [optional] 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /util/src/test/java/io/kubernetes/client/util/credentials/AccessTokenAuthenticationTest.java: -------------------------------------------------------------------------------- 1 | package io.kubernetes.client.util.credentials; 2 | 3 | import static io.kubernetes.client.util.TestUtils.getApiKeyAuthFromClient; 4 | import static org.hamcrest.core.Is.is; 5 | import static org.junit.Assert.*; 6 | 7 | import io.kubernetes.client.ApiClient; 8 | import org.junit.Test; 9 | 10 | public class AccessTokenAuthenticationTest { 11 | 12 | @Test 13 | public void testTokenProvided() { 14 | final ApiClient client = new ApiClient(); 15 | new AccessTokenAuthentication("token").provide(client); 16 | assertThat(getApiKeyAuthFromClient(client).getApiKeyPrefix(), is("Bearer")); 17 | assertThat(getApiKeyAuthFromClient(client).getApiKey(), is("token")); 18 | } 19 | 20 | @Test(expected = NullPointerException.class) 21 | public void testTokenNonnull() { 22 | new AccessTokenAuthentication(null); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /kubernetes/src/test/java/io/kubernetes/client/models/V1PodBuilderTest.java: -------------------------------------------------------------------------------- 1 | package io.kubernetes.client.models; 2 | 3 | import java.util.Arrays; 4 | 5 | import org.junit.Assert; 6 | import org.junit.Test; 7 | 8 | public class V1PodBuilderTest { 9 | 10 | @Test 11 | public void testBuilder() { 12 | V1Pod pod1 = new V1PodBuilder() 13 | .withNewMetadata() 14 | .withName("mypod") 15 | .endMetadata() 16 | .withNewSpec() 17 | .addNewContainer() 18 | .withName("cnt") 19 | .endContainer() 20 | .endSpec() 21 | .build(); 22 | 23 | V1Pod pod2 = new V1Pod() 24 | .metadata(new V1ObjectMeta().name("mypod")) 25 | .spec(new V1PodSpec() 26 | .containers(Arrays.asList( 27 | new V1Container().name("cnt") 28 | ) 29 | ) 30 | ); 31 | 32 | 33 | Assert.assertEquals(pod1, pod2); 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /util/src/main/java/io/kubernetes/client/util/CallGenerator.java: -------------------------------------------------------------------------------- 1 | package io.kubernetes.client.util; 2 | 3 | import com.squareup.okhttp.Call; 4 | import io.kubernetes.client.ApiException; 5 | 6 | /** 7 | * The interface Call generator. It's for homogenizing client interface so that we can invoke a 8 | * generized adaptor interface elsewhere. 9 | * 10 | *

For example, we can adapt list-node interface from CoreV1Api package like: 11 | * 12 | *

(CallGeneratorParams params) -> { return coreV1Api.listNodeCall( null, null, null, null, null, 13 | * params.resourceVersion, params.timeoutSeconds, params.watch, null, null); }, 14 | */ 15 | @FunctionalInterface 16 | public interface CallGenerator { 17 | /** 18 | * Generate call. 19 | * 20 | * @param params the params 21 | * @return the call 22 | * @throws ApiException the api exception 23 | */ 24 | Call generate(CallGeneratorParams params) throws ApiException; 25 | } 26 | -------------------------------------------------------------------------------- /kubernetes/docs/V1PodDNSConfig.md: -------------------------------------------------------------------------------- 1 | 2 | # V1PodDNSConfig 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **nameservers** | **List<String>** | A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed. | [optional] 8 | **options** | [**List<V1PodDNSConfigOption>**](V1PodDNSConfigOption.md) | A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy. | [optional] 9 | **searches** | **List<String>** | A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed. | [optional] 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /kubernetes/docs/V1ResourceQuotaSpec.md: -------------------------------------------------------------------------------- 1 | 2 | # V1ResourceQuotaSpec 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **hard** | [**Map<String, Quantity>**](Quantity.md) | hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/ | [optional] 8 | **scopeSelector** | [**V1ScopeSelector**](V1ScopeSelector.md) | scopeSelector is also a collection of filters like scopes that must match each object tracked by a quota but expressed using ScopeSelectorOperator in combination with possible values. For a resource to match, both scopes AND scopeSelector (if specified in spec), must be matched. | [optional] 9 | **scopes** | **List<String>** | A collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects. | [optional] 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /kubernetes/docs/V1ContainerStateTerminated.md: -------------------------------------------------------------------------------- 1 | 2 | # V1ContainerStateTerminated 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **containerID** | **String** | Container's ID in the format 'docker://<container_id>' | [optional] 8 | **exitCode** | **Integer** | Exit status from the last termination of the container | 9 | **finishedAt** | [**DateTime**](DateTime.md) | Time at which the container last terminated | [optional] 10 | **message** | **String** | Message regarding the last termination of the container | [optional] 11 | **reason** | **String** | (brief) reason from the last termination of the container | [optional] 12 | **signal** | **Integer** | Signal from the last termination of the container | [optional] 13 | **startedAt** | [**DateTime**](DateTime.md) | Time at which previous execution of the container started | [optional] 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /kubernetes/docs/V1EmptyDirVolumeSource.md: -------------------------------------------------------------------------------- 1 | 2 | # V1EmptyDirVolumeSource 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **medium** | **String** | What type of storage medium should back this directory. The default is \"\" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir | [optional] 8 | **sizeLimit** | **String** | Total amount of local storage required for this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. The default is nil which means that the limit is undefined. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /kubernetes/src/main/java/io/kubernetes/client/auth/Authentication.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Kubernetes 3 | * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) 4 | * 5 | * OpenAPI spec version: v1.14.2 6 | * 7 | * 8 | * NOTE: This class is auto generated by the swagger code generator program. 9 | * https://github.com/swagger-api/swagger-codegen.git 10 | * Do not edit the class manually. 11 | */ 12 | 13 | 14 | package io.kubernetes.client.auth; 15 | 16 | import io.kubernetes.client.Pair; 17 | 18 | import java.util.Map; 19 | import java.util.List; 20 | 21 | public interface Authentication { 22 | /** 23 | * Apply authentication settings to header and query params. 24 | * 25 | * @param queryParams List of query parameters 26 | * @param headerParams Map of header parameters 27 | */ 28 | void applyToParams(List queryParams, Map headerParams); 29 | } 30 | -------------------------------------------------------------------------------- /kubernetes/docs/V1APIServiceList.md: -------------------------------------------------------------------------------- 1 | 2 | # V1APIServiceList 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **apiVersion** | **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] 8 | **items** | [**List<V1APIService>**](V1APIService.md) | | 9 | **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] 10 | **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /kubernetes/docs/V1alpha1PodPresetSpec.md: -------------------------------------------------------------------------------- 1 | 2 | # V1alpha1PodPresetSpec 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **env** | [**List<V1EnvVar>**](V1EnvVar.md) | Env defines the collection of EnvVar to inject into containers. | [optional] 8 | **envFrom** | [**List<V1EnvFromSource>**](V1EnvFromSource.md) | EnvFrom defines the collection of EnvFromSource to inject into containers. | [optional] 9 | **selector** | [**V1LabelSelector**](V1LabelSelector.md) | Selector is a label query over a set of resources, in this case pods. Required. | [optional] 10 | **volumeMounts** | [**List<V1VolumeMount>**](V1VolumeMount.md) | VolumeMounts defines the collection of VolumeMount to inject into containers. | [optional] 11 | **volumes** | [**List<V1Volume>**](V1Volume.md) | Volumes defines the collection of Volume to inject into the pod. | [optional] 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /kubernetes/docs/V1PersistentVolumeClaimStatus.md: -------------------------------------------------------------------------------- 1 | 2 | # V1PersistentVolumeClaimStatus 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **accessModes** | **List<String>** | AccessModes contains the actual access modes the volume backing the PVC has. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 | [optional] 8 | **capacity** | [**Map<String, Quantity>**](Quantity.md) | Represents the actual resources of the underlying volume. | [optional] 9 | **conditions** | [**List<V1PersistentVolumeClaimCondition>**](V1PersistentVolumeClaimCondition.md) | Current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'ResizeStarted'. | [optional] 10 | **phase** | **String** | Phase represents the current phase of PersistentVolumeClaim. | [optional] 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /kubernetes/docs/V1StatefulSetList.md: -------------------------------------------------------------------------------- 1 | 2 | # V1StatefulSetList 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **apiVersion** | **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] 8 | **items** | [**List<V1StatefulSet>**](V1StatefulSet.md) | | 9 | **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] 10 | **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /kubernetes/docs/V1FCVolumeSource.md: -------------------------------------------------------------------------------- 1 | 2 | # V1FCVolumeSource 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **fsType** | **String** | Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. | [optional] 8 | **lun** | **Integer** | Optional: FC target lun number | [optional] 9 | **readOnly** | **Boolean** | Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. | [optional] 10 | **targetWWNs** | **List<String>** | Optional: FC target worldwide names (WWNs) | [optional] 11 | **wwids** | **List<String>** | Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously. | [optional] 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /util/src/test/resources/clientauth-chain.key: -------------------------------------------------------------------------------- 1 | -----BEGIN RSA PRIVATE KEY----- 2 | MIICXAIBAAKBgQCZS0r2lQ3l1jzXVNq3haNYUCB5x+LnAwdeUQ8PWwEqE4JgFbj4 3 | IxTZbwuiSrTL87jbG6pXSQM52exKSQtnSDDKLX5+bpEK7swisIAS6RUaORqoYOlS 4 | r3F1kJ3NeHOPoOitnPzGEnyf7//AYxVTO7DV/Mv8l+m2ftVsts0f9+1DnQIDAQAB 5 | AoGBAIM/o/9bv3p54726OUnIcgK7GBMswWlpfnWSkYJkOKr96TK7ZpON9dv059Ec 6 | hY/aLPvsw/vX15tAqr8vq0PS23HsEgWwmKH3YU2uNZwKdOo0RH35+O/LuOx1rNen 7 | z25kGPoSsmfZ39P4WGqrPM/d0KnuAJNkSGtTUw+ab0gvMElBAkEAyp1zBKm182HE 8 | x/jZe61UVe4wJY5eRF+m+qR/+FWlYIUV/40tAPAgMv16Z1hwcqeihNwnxftY4tzF 9 | q2gaMqOQ6wJBAMGvG1CnhWEDIE0aVthEtpbTLytDsnsWznI8Zib0kg4iMgXpFu6f 10 | DM3QjHtNXndsS6L1AfuhpdKUj3pa3TD+G5cCQAqNOpEymWQsYkgbwI+9ThgPiHhc 11 | OrKK3LJO4M84/pzRMX0WiBJ1bufY5Yf+RhTigAc1Q+j+lvlxj+XGTR73/7MCQAZA 12 | I26H6XsHAczbM8BI/2eAqz4HMkRcqQ7wug85x1jja5/bNN1AjsY5m78C8TCDczFw 13 | HL9FKTfRiYvWUNsa6EMCQFMaUg169kMc6/of9+DJzBb021qcgZIlidzsNMZi+09i 14 | 2iE+bew55txfRlkyeVHysI5AfxCCKfES3JntR2SZvAk= 15 | -----END RSA PRIVATE KEY----- 16 | -------------------------------------------------------------------------------- /util/src/test/resources/clientauth-rsa.key: -------------------------------------------------------------------------------- 1 | -----BEGIN RSA PRIVATE KEY----- 2 | MIICXQIBAAKBgQDz2XhYxigM1TVl6+O+nl4lM+uTNs4T8h2n2bUc7GVgjSN3Xj6L 3 | 6cuId+w6o9jKEC90Zgbe2UkWAkxSG3bGzhlTHM6Qh4zi8o9ybg+Yt/fYzR6KhsIt 4 | 2y1D/yiyMC4FCc3oARXh7djhk3qZuS4sbeX/DsqE61Sr9NzWR6RvqgimDwIDAQAB 5 | AoGBAKnZs6MaO3Fc3TnmChePVgJR3OgIx5hLD+8HjMjdvGt5Q9f0dFqeed/PsGLU 6 | F7//cB6Cpox5Cxhid2jFqoEls6q9jnnVGYGDJHDQ7u//xigVfHf9lJzmdxQWId6G 7 | F6VoU0N6Oh2AtG4L/SQqnbacG1JVXZun/8J8bBon6C4PeacZAkEA/YaNeLcLtv22 8 | 992UJaj3Rd9i5Sxs6dH6PDoABvkbipqWtj4osiMt6a5h32Xy/811CYDI1wvcVDDr 9 | 9HAQP1pfPQJBAPY6vcA+JuKdg9KSZzCh77aE5LGXqz62rcMlUHPtRchNfcFo06MC 10 | ehKA+YIBmT5we0GrdyAXsYGIVypK0l8irzsCQEkr43r6wavP8FX7or131d5Zye5A 11 | 8zJNAz8MsmNQ1G0djvAMYqx/UMoIJYFXqFnCD8xtWgoPB0lZUVCcY2QVjjUCQGYk 12 | A+alYZgL400MckXYRwodooiQ8/Z17SrQZclRGet3Sb1bcL9kHaNjYR0u8JTYMCkT 13 | qbzkVzv2hMIEe7P/PVUCQQCxLiT5qDxQawP1/ZFnp4KCHTKTQ1Mvw8cGajEG+DKP 14 | 2GzD8K03HaJU5eN4Z1Uo1TYPQY1tRD3nM+sDH9EcLvqP 15 | -----END RSA PRIVATE KEY----- 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1HorizontalPodAutoscalerStatus.md: -------------------------------------------------------------------------------- 1 | 2 | # V1HorizontalPodAutoscalerStatus 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **currentCPUUtilizationPercentage** | **Integer** | current average CPU utilization over all pods, represented as a percentage of requested CPU, e.g. 70 means that an average pod is using now 70% of its requested CPU. | [optional] 8 | **currentReplicas** | **Integer** | current number of replicas of pods managed by this autoscaler. | 9 | **desiredReplicas** | **Integer** | desired number of replicas of pods managed by this autoscaler. | 10 | **lastScaleTime** | [**DateTime**](DateTime.md) | last time the HorizontalPodAutoscaler scaled the number of pods; used by the autoscaler to control how often the number of pods is changed. | [optional] 11 | **observedGeneration** | **Long** | most recent generation observed by this autoscaler. | [optional] 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /kubernetes/docs/V1beta1APIServiceList.md: -------------------------------------------------------------------------------- 1 | 2 | # V1beta1APIServiceList 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **apiVersion** | **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] 8 | **items** | [**List<V1beta1APIService>**](V1beta1APIService.md) | | 9 | **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] 10 | **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /kubernetes/docs/V1alpha1PodPreset.md: -------------------------------------------------------------------------------- 1 | 2 | # V1alpha1PodPreset 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **apiVersion** | **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] 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** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] 10 | **spec** | [**V1alpha1PodPresetSpec**](V1alpha1PodPresetSpec.md) | | [optional] 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /kubernetes/docs/V1beta1StatefulSetList.md: -------------------------------------------------------------------------------- 1 | 2 | # V1beta1StatefulSetList 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **apiVersion** | **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] 8 | **items** | [**List<V1beta1StatefulSet>**](V1beta1StatefulSet.md) | | 9 | **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] 10 | **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /kubernetes/docs/V1beta2StatefulSetList.md: -------------------------------------------------------------------------------- 1 | 2 | # V1beta2StatefulSetList 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **apiVersion** | **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] 8 | **items** | [**List<V1beta2StatefulSet>**](V1beta2StatefulSet.md) | | 9 | **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] 10 | **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /kubernetes/docs/V1HorizontalPodAutoscalerSpec.md: -------------------------------------------------------------------------------- 1 | 2 | # V1HorizontalPodAutoscalerSpec 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **maxReplicas** | **Integer** | upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas. | 8 | **minReplicas** | **Integer** | lower limit for the number of pods that can be set by the autoscaler, default 1. | [optional] 9 | **scaleTargetRef** | [**V1CrossVersionObjectReference**](V1CrossVersionObjectReference.md) | reference to scaled resource; horizontal pod autoscaler will learn the current resource consumption and will set the desired number of pods by using its Scale subresource. | 10 | **targetCPUUtilizationPercentage** | **Integer** | target average CPU utilization (represented as a percentage of requested CPU) over all the pods; if not specified the default autoscaling policy will be used. | [optional] 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /kubernetes/docs/V1Subject.md: -------------------------------------------------------------------------------- 1 | 2 | # V1Subject 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **apiGroup** | **String** | APIGroup holds the API group of the referenced subject. Defaults to \"\" for ServiceAccount subjects. Defaults to \"rbac.authorization.k8s.io\" for User and Group subjects. | [optional] 8 | **kind** | **String** | Kind of object being referenced. Values defined by this API group are \"User\", \"Group\", and \"ServiceAccount\". If the Authorizer does not recognized the kind value, the Authorizer should report an error. | 9 | **name** | **String** | Name of the object being referenced. | 10 | **namespace** | **String** | Namespace of the referenced object. If the object kind is non-namespace, such as \"User\" or \"Group\", and this value is not empty the Authorizer should report an error. | [optional] 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /kubernetes/src/test/java/io/kubernetes/client/JSONTest.java: -------------------------------------------------------------------------------- 1 | package io.kubernetes.client; 2 | 3 | import okio.ByteString; 4 | import org.junit.Test; 5 | 6 | import static org.hamcrest.CoreMatchers.is; 7 | import static org.junit.Assert.*; 8 | 9 | public class JSONTest { 10 | 11 | @Test 12 | public void testSerializeByteArray() { 13 | final JSON json = new JSON(); 14 | final String plainText = "string that contains '=' when encoded"; 15 | final String base64String = json.serialize(plainText.getBytes()); 16 | //serialize returns string surrounded by quotes: "\"[base64]\"" 17 | final String pureString = base64String.replaceAll("^\"|\"$", ""); 18 | final ByteString byteStr = ByteString.decodeBase64(pureString); 19 | 20 | //Check encoded to valid base64 21 | assertNotNull(byteStr); 22 | 23 | //Check encoded string correctly 24 | final String decodedText = new String(byteStr.toByteArray()); 25 | assertThat(decodedText, is(plainText)); 26 | } 27 | } -------------------------------------------------------------------------------- /kubernetes/docs/V1RoleList.md: -------------------------------------------------------------------------------- 1 | 2 | # V1RoleList 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **apiVersion** | **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] 8 | **items** | [**List<V1Role>**](V1Role.md) | Items is a list of Roles | 9 | **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] 10 | **metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard object's metadata. | [optional] 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /kubernetes/docs/V2beta1ResourceMetricStatus.md: -------------------------------------------------------------------------------- 1 | 2 | # V2beta1ResourceMetricStatus 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **currentAverageUtilization** | **Integer** | currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. It will only be present if `targetAverageValue` was set in the corresponding metric specification. | [optional] 8 | **currentAverageValue** | **String** | currentAverageValue is the current value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the \"pods\" metric source type. It will always be set, regardless of the corresponding metric specification. | 9 | **name** | **String** | name is the name of the resource in question. | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /kubernetes/docs/V1beta1Subject.md: -------------------------------------------------------------------------------- 1 | 2 | # V1beta1Subject 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **apiGroup** | **String** | APIGroup holds the API group of the referenced subject. Defaults to \"\" for ServiceAccount subjects. Defaults to \"rbac.authorization.k8s.io\" for User and Group subjects. | [optional] 8 | **kind** | **String** | Kind of object being referenced. Values defined by this API group are \"User\", \"Group\", and \"ServiceAccount\". If the Authorizer does not recognized the kind value, the Authorizer should report an error. | 9 | **name** | **String** | Name of the object being referenced. | 10 | **namespace** | **String** | Namespace of the referenced object. If the object kind is non-namespace, such as \"User\" or \"Group\", and this value is not empty the Authorizer should report an error. | [optional] 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /settings: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Copyright 2015 The Kubernetes Authors. 4 | # 5 | # Licensed under the Apache License, Version 2.0 (the "License"); 6 | # you may not use this file except in compliance with the License. 7 | # You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License. 16 | 17 | # Kubernetes branch to get the OpenAPI spec from. 18 | export KUBERNETES_BRANCH="release-1.14" 19 | 20 | # client version for packaging and releasing. It can 21 | # be different than SPEC_VERSION. 22 | export CLIENT_VERSION="5.0-SNAPSHOT" 23 | 24 | # Name of the release package 25 | export PACKAGE_NAME="io.kubernetes.client" 26 | 27 | -------------------------------------------------------------------------------- /kubernetes/docs/V1PodCondition.md: -------------------------------------------------------------------------------- 1 | 2 | # V1PodCondition 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **lastProbeTime** | [**DateTime**](DateTime.md) | Last time we probed the condition. | [optional] 8 | **lastTransitionTime** | [**DateTime**](DateTime.md) | Last time the condition transitioned from one status to another. | [optional] 9 | **message** | **String** | Human-readable message indicating details about last transition. | [optional] 10 | **reason** | **String** | Unique, one-word, CamelCase reason for the condition's last transition. | [optional] 11 | **status** | **String** | Status is the status of the condition. Can be True, False, Unknown. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions | 12 | **type** | **String** | Type is the type of the condition. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1StatusCause.md: -------------------------------------------------------------------------------- 1 | 2 | # V1StatusCause 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **field** | **String** | The field of the resource that has caused this error, as named by its JSON serialization. May include dot and postfix notation for nested attributes. Arrays are zero-indexed. Fields may appear more than once in an array of causes due to fields having multiple errors. Optional. Examples: \"name\" - the field \"name\" on the current resource \"items[0].name\" - the field \"name\" on the first array entry in \"items\" | [optional] 8 | **message** | **String** | A human-readable description of the cause of the error. This field may be presented as-is to a reader. | [optional] 9 | **reason** | **String** | A machine-readable description of the cause of the error. If this value is empty there is no information available. | [optional] 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /util/src/test/resources/clientauth.key: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIICdwIBADANBgkqhkiG9w0BAQEFAASCAmEwggJdAgEAAoGBAPPZeFjGKAzVNWXr 3 | 476eXiUz65M2zhPyHafZtRzsZWCNI3dePovpy4h37Dqj2MoQL3RmBt7ZSRYCTFIb 4 | dsbOGVMczpCHjOLyj3JuD5i399jNHoqGwi3bLUP/KLIwLgUJzegBFeHt2OGTepm5 5 | Lixt5f8OyoTrVKv03NZHpG+qCKYPAgMBAAECgYEAqdmzoxo7cVzdOeYKF49WAlHc 6 | 6AjHmEsP7weMyN28a3lD1/R0Wp5538+wYtQXv/9wHoKmjHkLGGJ3aMWqgSWzqr2O 7 | edUZgYMkcNDu7//GKBV8d/2UnOZ3FBYh3oYXpWhTQ3o6HYC0bgv9JCqdtpwbUlVd 8 | m6f/wnxsGifoLg95pxkCQQD9ho14twu2/bb33ZQlqPdF32LlLGzp0fo8OgAG+RuK 9 | mpa2PiiyIy3prmHfZfL/zXUJgMjXC9xUMOv0cBA/Wl89AkEA9jq9wD4m4p2D0pJn 10 | MKHvtoTksZerPratwyVQc+1FyE19wWjTowJ6EoD5ggGZPnB7Qat3IBexgYhXKkrS 11 | XyKvOwJASSvjevrBq8/wVfuivXfV3lnJ7kDzMk0DPwyyY1DUbR2O8AxirH9Qyggl 12 | gVeoWcIPzG1aCg8HSVlRUJxjZBWONQJAZiQD5qVhmAvjTQxyRdhHCh2iiJDz9nXt 13 | KtBlyVEZ63dJvVtwv2Qdo2NhHS7wlNgwKROpvORXO/aEwgR7s/89VQJBALEuJPmo 14 | PFBrA/X9kWengoIdMpNDUy/DxwZqMQb4Mo/YbMPwrTcdolTl43hnVSjVNg9BjW1E 15 | Pecz6wMf0Rwu+o8= 16 | -----END PRIVATE KEY----- 17 | --------------------------------------------------------------------------------