├── util └── src │ ├── test │ └── resources │ │ ├── token1 │ │ ├── token2 │ │ ├── mockito-extensions │ │ └── org.mockito.plugins.MockMaker │ │ ├── oidc-server.jks │ │ ├── oidc-signing.p12 │ │ ├── kubeconfig-https │ │ ├── .kube │ │ └── config │ │ ├── kubeconfig │ │ ├── kubeconfig-utf8 │ │ ├── namespace-list-status.json │ │ ├── clientauth-ec.key │ │ ├── clientauth-ec-fixed.key │ │ ├── test-pod.yaml │ │ ├── pod-tag.yaml │ │ ├── logback-test.xml │ │ ├── test-pod.json │ │ ├── kubeconfig-http │ │ └── ca-cert-invalid.pem │ └── main │ └── java │ └── io │ └── kubernetes │ └── client │ ├── apimachinery │ └── ParseKubernetesResourceException.java │ ├── util │ ├── ApiInvocation.java │ ├── generic │ │ └── options │ │ │ └── DeleteOptions.java │ └── exception │ │ ├── CSRSigningException.java │ │ └── TypeMetaReflectException.java │ └── informer │ └── exception │ └── WatchExpiredException.java ├── kubernetes ├── .openapi-generator │ ├── VERSION │ ├── swagger.json.sha256 │ ├── swagger.json-default.sha256 │ └── COMMIT ├── .swagger-codegen │ ├── VERSION │ └── COMMIT ├── .openapi-generator-ignore ├── src │ ├── main │ │ ├── AndroidManifest.xml │ │ └── java │ │ │ └── io │ │ │ └── kubernetes │ │ │ └── client │ │ │ └── custom │ │ │ └── QuantityFormatException.java │ └── test │ │ └── resources │ │ └── logback-test.xml ├── .gitignore └── docs │ ├── V1PodIP.md │ ├── V1SleepAction.md │ ├── V1HostIP.md │ ├── V1ContainerUser.md │ ├── V1DaemonEndpoint.md │ ├── V1ForZone.md │ ├── V1beta1IPAddressSpec.md │ ├── V1Sysctl.md │ ├── V1alpha3DeviceSelector.md │ ├── V1IngressStatus.md │ ├── V1PodDNSConfigOption.md │ ├── V1ScaleSpec.md │ ├── V1NodeDaemonEndpoints.md │ ├── V1SelfSubjectReviewStatus.md │ ├── V1SessionAffinityConfig.md │ ├── V1ContainerStateRunning.md │ ├── V1VolumeNodeAffinity.md │ ├── V1alpha1SelfSubjectReviewStatus.md │ ├── V1beta1SelfSubjectReviewStatus.md │ ├── V1PodSchedulingGate.md │ ├── V1CustomResourceValidation.md │ ├── V1PodReadinessGate.md │ ├── V1UserSubject.md │ ├── V1SelfSubjectRulesReviewSpec.md │ ├── V1alpha3DeviceClassConfiguration.md │ ├── V1ExternalDocumentation.md │ ├── V1NodeAddress.md │ ├── V1beta3UserSubject.md │ ├── V1APIServiceStatus.md │ ├── V1Capabilities.md │ ├── V1EphemeralVolumeSource.md │ ├── V1LimitRangeSpec.md │ ├── V1Overhead.md │ ├── V1EventSource.md │ ├── V1JobTemplateSpec.md │ ├── V1PodTemplateSpec.md │ ├── V2MetricIdentifier.md │ ├── V1AttachedVolume.md │ ├── V1FlowSchemaStatus.md │ ├── V1Preconditions.md │ ├── V1TypeChecking.md │ ├── V1EndpointHints.md │ ├── V1TokenRequestStatus.md │ ├── V1NodeConfigSource.md │ ├── V1ServiceStatus.md │ ├── V1beta3FlowSchemaStatus.md │ ├── V1FlowDistinguisherMethod.md │ ├── V1HostAlias.md │ ├── V1ContainerStateWaiting.md │ ├── V1HTTPHeader.md │ ├── V1IngressBackend.md │ ├── V1IngressLoadBalancerStatus.md │ ├── V1alpha1TypeChecking.md │ ├── V1beta1TypeChecking.md │ ├── V1PriorityLevelConfigurationReference.md │ ├── V1alpha3ResourceClaimTemplateSpec.md │ ├── V1beta3FlowDistinguisherMethod.md │ ├── V2ExternalMetricStatus.md │ ├── V1NodeRuntimeHandler.md │ ├── V1beta1ServiceCIDRStatus.md │ ├── V1beta3PriorityLevelConfigurationReference.md │ ├── V1NamespaceSpec.md │ ├── V1VolumeDevice.md │ ├── V1Affinity.md │ ├── V1NonResourceAttributes.md │ ├── V1alpha1GroupVersionResource.md │ ├── V1IngressServiceBackend.md │ ├── V1ParamKind.md │ ├── V1CSINodeSpec.md │ ├── V1GroupSubject.md │ ├── V1RoleRef.md │ ├── V1LoadBalancerStatus.md │ ├── V1ObjectFieldSelector.md │ ├── V1PersistentVolumeClaimTemplate.md │ ├── V1ScopeSelector.md │ ├── V1beta1ParamKind.md │ ├── V2PodsMetricStatus.md │ ├── V1DownwardAPIProjection.md │ ├── V1alpha1ParamKind.md │ ├── V1beta3GroupSubject.md │ ├── V1UncountedTerminatedPods.md │ ├── CoreV1EventSeries.md │ ├── V1ContainerImage.md │ ├── V1DeploymentStrategy.md │ ├── V1NodeSelector.md │ ├── V1PriorityLevelConfigurationStatus.md │ ├── V1WeightedPodAffinityTerm.md │ ├── V1SecretReference.md │ ├── V1GRPCAction.md │ ├── V1NetworkPolicyPeer.md │ ├── V2HorizontalPodAutoscalerBehavior.md │ ├── V1beta3PriorityLevelConfigurationStatus.md │ ├── V2ExternalMetricSource.md │ ├── V1ClientIPConfig.md │ ├── V1VolumeError.md │ ├── V1WatchEvent.md │ ├── V1alpha3Device.md │ ├── V1DaemonSetUpdateStrategy.md │ ├── V1NodeFeatures.md │ ├── V1ContainerResizePolicy.md │ ├── V1EnvFromSource.md │ ├── V1ServiceAccountSubject.md │ ├── V2PodsMetricSource.md │ ├── V1AggregationRule.md │ ├── V1beta3ServiceAccountSubject.md │ ├── V1ServiceBackendPort.md │ ├── V1TopologySelectorLabelRequirement.md │ ├── V2ObjectMetricSource.md │ ├── V1PreferredSchedulingTerm.md │ ├── V1alpha3DeviceClaimConfiguration.md │ ├── V1beta1ServiceCIDRSpec.md │ ├── V1SelfSubjectAccessReviewSpec.md │ ├── V2ObjectMetricStatus.md │ ├── V1BoundObjectReference.md │ ├── V1PodOS.md │ ├── V1NodeRuntimeHandlerFeatures.md │ ├── V1ResourceQuotaStatus.md │ ├── V1NamespaceStatus.md │ ├── VersionInfo.md │ ├── V1VolumeAttachmentSpec.md │ ├── V1alpha3PodSchedulingContextStatus.md │ ├── V1HTTPIngressRuleValue.md │ ├── V1AzureFileVolumeSource.md │ ├── V1EnvVarSource.md │ ├── V1GroupVersionForDiscovery.md │ ├── V1TCPSocketAction.md │ ├── V1alpha1StorageVersionMigrationSpec.md │ ├── V1LocalObjectReference.md │ ├── V1beta1ParentReference.md │ ├── V1Lifecycle.md │ ├── V1ResourceClaim.md │ ├── V1ContainerState.md │ ├── V1CronJobStatus.md │ ├── V1LifecycleHandler.md │ ├── V1PhotonPersistentDiskVolumeSource.md │ ├── V1ServerAddressByClientCIDR.md │ ├── V1alpha3DeviceAttribute.md │ ├── ApiregistrationV1ServiceReference.md │ ├── V1LinuxContainerUser.md │ ├── V1StatefulSetUpdateStrategy.md │ ├── V1TopologySelectorTerm.md │ ├── V1VolumeAttachmentSource.md │ ├── V1SELinuxOptions.md │ ├── V1ValidatingAdmissionPolicyStatus.md │ ├── StorageV1TokenRequest.md │ ├── V1NonResourceRule.md │ ├── V1IngressLoadBalancerIngress.md │ ├── V1PodFailurePolicy.md │ ├── V1ResourceStatus.md │ ├── V1alpha1ValidatingAdmissionPolicyStatus.md │ ├── V1beta1ValidatingAdmissionPolicyStatus.md │ ├── V1HostPathVolumeSource.md │ ├── V2HPAScalingPolicy.md │ ├── V1PodFailurePolicyOnPodConditionsPattern.md │ ├── V1NodeSelectorTerm.md │ ├── V2ResourceMetricStatus.md │ ├── V1ExecAction.md │ ├── V1FlockerVolumeSource.md │ ├── V1VolumeNodeResources.md │ ├── V1ConfigMapKeySelector.md │ ├── V1LimitResponse.md │ ├── V1ExpressionWarning.md │ ├── V1TokenReviewSpec.md │ ├── V1alpha1MigrationCondition.md │ ├── V1ResourceQuotaSpec.md │ ├── V1beta1ExpressionWarning.md │ ├── V1TypedLocalObjectReference.md │ ├── V1alpha1ExpressionWarning.md │ ├── V1beta3LimitResponse.md │ ├── FlowcontrolV1Subject.md │ ├── V1CrossVersionObjectReference.md │ ├── V1SelectableField.md │ ├── V1alpha3ResourceClaimSchedulingStatus.md │ ├── V2CrossVersionObjectReference.md │ ├── V1alpha1StorageVersionMigrationStatus.md │ ├── V1EndpointAddress.md │ ├── V1LocalVolumeSource.md │ ├── V1ScaleStatus.md │ ├── V1NamespaceCondition.md │ ├── V1PortworxVolumeSource.md │ ├── V1beta3Subject.md │ ├── V1DaemonSetCondition.md │ ├── V1alpha3DeviceAllocationConfiguration.md │ ├── V1SecretKeySelector.md │ ├── V1alpha3BasicDevice.md │ ├── V1StatefulSetCondition.md │ ├── V1Taint.md │ ├── V1ReplicaSetCondition.md │ ├── V1alpha3ResourceClaimSpec.md │ ├── ApiextensionsV1ServiceReference.md │ ├── V1StatefulSetOrdinals.md │ ├── V1alpha1Variable.md │ ├── V1ComponentCondition.md │ ├── V1SecretEnvSource.md │ ├── V1VolumeMountStatus.md │ ├── V2ResourceMetricSource.md │ ├── V1AppArmorProfile.md │ ├── V1ConfigMapEnvSource.md │ ├── EventsV1EventSeries.md │ ├── V1APIServiceCondition.md │ ├── V1UserInfo.md │ ├── V1CustomResourceSubresources.md │ ├── V1Variable.md │ ├── V1VolumeProjection.md │ ├── V1IPBlock.md │ ├── V1NFSVolumeSource.md │ ├── V1ReplicationControllerCondition.md │ ├── V1beta1Variable.md │ ├── AdmissionregistrationV1ServiceReference.md │ ├── V1AzureFilePersistentVolumeSource.md │ ├── V1JobCondition.md │ ├── V1IngressClassSpec.md │ ├── V1NodeCondition.md │ ├── V1PortStatus.md │ ├── V1RollingUpdateDeployment.md │ ├── V1FieldSelectorRequirement.md │ ├── V1LabelSelectorRequirement.md │ ├── V1RollingUpdateDaemonSet.md │ ├── V2ContainerResourceMetricStatus.md │ ├── V1PersistentVolumeClaimVolumeSource.md │ ├── V1SuccessPolicy.md │ ├── V1IngressPortStatus.md │ ├── V1alpha3PodSchedulingContextSpec.md │ └── V1DeploymentCondition.md ├── spring └── src │ ├── test │ └── resources │ │ ├── discovery-apis.json │ │ ├── discovery-api.json │ │ ├── service.yaml │ │ └── spring │ │ └── test-context.xml │ └── main │ └── resources │ └── META-INF │ ├── spring │ └── org.springframework.boot.autoconfigure.AutoConfiguration.imports │ └── spring.factories ├── extended └── src │ ├── test │ └── resources │ │ ├── discovery-apis.json │ │ ├── discovery-api.json │ │ ├── namespace-list-pager0.json │ │ ├── status-400.json │ │ ├── bad-token-status.json │ │ ├── deleted-not-found.json │ │ ├── logback-test.xml │ │ ├── namespace-list-pager2.json │ │ └── namespace-list-pager1.json │ └── main │ └── java │ └── io │ └── kubernetes │ └── client │ └── extended │ ├── event │ └── EventType.java │ ├── wait │ └── Wait.java │ └── network │ ├── exception │ └── NoAvailableAddressException.java │ └── LoadBalanceStrategy.java ├── .mvn └── wrapper │ └── maven-wrapper.jar ├── examples ├── examples-release-17 │ ├── src │ │ └── main │ │ │ └── resources │ │ │ └── application.properties │ ├── Dockerfile │ ├── test-svc.yaml │ ├── README.md │ ├── test.yaml │ └── createPod.sh ├── examples-release-18 │ ├── src │ │ └── main │ │ │ └── resources │ │ │ └── application.properties │ ├── Dockerfile │ ├── test-svc.yaml │ ├── README.md │ ├── test.yaml │ └── createPod.sh ├── examples-release-19 │ ├── src │ │ └── main │ │ │ └── resources │ │ │ └── application.properties │ ├── Dockerfile │ ├── test-svc.yaml │ ├── README.md │ ├── test.yaml │ └── createPod.sh ├── examples-release-20 │ ├── src │ │ └── main │ │ │ └── resources │ │ │ └── application.properties │ ├── Dockerfile │ ├── test-svc.yaml │ ├── README.md │ ├── test.yaml │ └── createPod.sh └── examples-release-latest │ ├── src │ └── main │ │ └── resources │ │ └── application.properties │ ├── Dockerfile │ ├── test-svc.yaml │ ├── README.md │ ├── test.yaml │ └── createPod.sh ├── code-of-conduct.md ├── fluent └── src │ └── main │ └── java │ └── io │ └── kubernetes │ └── client │ └── fluent │ ├── Nested.java │ ├── Editable.java │ ├── VisitableBuilder.java │ ├── Builder.java │ └── TypedVisitor.java ├── spring-aot └── src │ └── main │ └── resources │ └── META-INF │ └── spring │ └── aot.factories ├── OWNERS ├── fluent-gen ├── generate.sh └── README.md ├── proto └── README.md ├── scripts └── publish-crd-model-gen-image.sh ├── settings.xml ├── .devcontainer ├── maven-settings.xml └── library-scripts │ └── README.md ├── client-java-contrib ├── publish-gen-image.sh ├── admissionreview │ └── generate.sh └── Dockerfile ├── .github ├── dependabot.yml └── ISSUE_TEMPLATE │ └── bug_report.md ├── e2e └── src │ └── test │ └── resources │ ├── test-deployment.yaml │ ├── test-deployment-updated.yaml │ ├── test-statefulset.yaml │ └── test-statefulset-updated.yaml ├── .gitignore └── SECURITY_CONTACTS /util/src/test/resources/token1: -------------------------------------------------------------------------------- 1 | token1 2 | -------------------------------------------------------------------------------- /util/src/test/resources/token2: -------------------------------------------------------------------------------- 1 | token2 2 | -------------------------------------------------------------------------------- /kubernetes/.openapi-generator/VERSION: -------------------------------------------------------------------------------- 1 | 7.6.0 2 | -------------------------------------------------------------------------------- /kubernetes/.swagger-codegen/VERSION: -------------------------------------------------------------------------------- 1 | 2.3.0-SNAPSHOT -------------------------------------------------------------------------------- /util/src/test/resources/mockito-extensions/org.mockito.plugins.MockMaker: -------------------------------------------------------------------------------- 1 | mock-maker-inline -------------------------------------------------------------------------------- /spring/src/test/resources/discovery-apis.json: -------------------------------------------------------------------------------- 1 | {"kind":"APIGroupList","apiVersion":"v1","groups":[]} -------------------------------------------------------------------------------- /extended/src/test/resources/discovery-apis.json: -------------------------------------------------------------------------------- 1 | {"kind":"APIGroupList","apiVersion":"v1","groups":[]} -------------------------------------------------------------------------------- /kubernetes/.openapi-generator/swagger.json.sha256: -------------------------------------------------------------------------------- 1 | ef3717c25d7e722a1c938c6ee368aca8b43a81e86d61e1c44656a8028c586f6e -------------------------------------------------------------------------------- /.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/igorgamer001/java2/HEAD/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /kubernetes/.openapi-generator/swagger.json-default.sha256: -------------------------------------------------------------------------------- 1 | b41435edfacf2f648f065211836417b7ac128554c81938a2f41fa23f326b7cd3 -------------------------------------------------------------------------------- /kubernetes/.openapi-generator-ignore: -------------------------------------------------------------------------------- 1 | .gitignore 2 | .travis.yml 3 | *gradle* 4 | *sbt* 5 | git_push.sh 6 | README.md 7 | pom.xml 8 | -------------------------------------------------------------------------------- /util/src/test/resources/oidc-server.jks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/igorgamer001/java2/HEAD/util/src/test/resources/oidc-server.jks -------------------------------------------------------------------------------- /kubernetes/.openapi-generator/COMMIT: -------------------------------------------------------------------------------- 1 | Requested Commit/Tag : v7.6.0 2 | Actual Commit : ab7d0cb74f6ef95bdaeafd327bbdb5d54f819175 3 | -------------------------------------------------------------------------------- /util/src/test/resources/oidc-signing.p12: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/igorgamer001/java2/HEAD/util/src/test/resources/oidc-signing.p12 -------------------------------------------------------------------------------- /examples/examples-release-17/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | namespace=airflow 2 | management.endpoints.web.exposure.include=prometheus -------------------------------------------------------------------------------- /examples/examples-release-18/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | namespace=airflow 2 | management.endpoints.web.exposure.include=prometheus -------------------------------------------------------------------------------- /examples/examples-release-19/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | namespace=airflow 2 | management.endpoints.web.exposure.include=prometheus -------------------------------------------------------------------------------- /examples/examples-release-20/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | namespace=airflow 2 | management.endpoints.web.exposure.include=prometheus -------------------------------------------------------------------------------- /examples/examples-release-latest/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | namespace=airflow 2 | management.endpoints.web.exposure.include=prometheus -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /spring/src/test/resources/discovery-api.json: -------------------------------------------------------------------------------- 1 | {"kind":"APIVersions","versions":["v1"],"serverAddressByClientCIDRs":[{"clientCIDR":"0.0.0.0/0","serverAddress":"192.168.65.3:6443"}]} -------------------------------------------------------------------------------- /extended/src/test/resources/discovery-api.json: -------------------------------------------------------------------------------- 1 | {"kind":"APIVersions","versions":["v1"],"serverAddressByClientCIDRs":[{"clientCIDR":"0.0.0.0/0","serverAddress":"192.168.65.3:6443"}]} -------------------------------------------------------------------------------- /fluent/src/main/java/io/kubernetes/client/fluent/Nested.java: -------------------------------------------------------------------------------- 1 | package io.kubernetes.client.fluent; 2 | 3 | public interface Nested{ 4 | 5 | 6 | F and(); 7 | 8 | 9 | } -------------------------------------------------------------------------------- /fluent/src/main/java/io/kubernetes/client/fluent/Editable.java: -------------------------------------------------------------------------------- 1 | package io.kubernetes.client.fluent; 2 | 3 | public interface Editable{ 4 | 5 | 6 | T edit(); 7 | 8 | 9 | } -------------------------------------------------------------------------------- /kubernetes/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /examples/examples-release-17/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 | -------------------------------------------------------------------------------- /examples/examples-release-18/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 | -------------------------------------------------------------------------------- /examples/examples-release-19/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 | -------------------------------------------------------------------------------- /examples/examples-release-20/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 | -------------------------------------------------------------------------------- /examples/examples-release-latest/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 | -------------------------------------------------------------------------------- /spring-aot/src/main/resources/META-INF/spring/aot.factories: -------------------------------------------------------------------------------- 1 | org.springframework.beans.factory.aot.BeanFactoryInitializationAotProcessor=io.kubernetes.client.spring.aot.KubernetesBeanFactoryInitializationAotProcessor -------------------------------------------------------------------------------- /OWNERS: -------------------------------------------------------------------------------- 1 | # See the OWNERS docs at https://go.k8s.io/owners 2 | 3 | approvers: 4 | - brendandburns 5 | - yue9944882 6 | reviewers: 7 | - brendandburns 8 | - yue9944882 9 | emeritus_approvers: 10 | - mbohlool # 9/2/2020 11 | 12 | -------------------------------------------------------------------------------- /fluent-gen/generate.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # TODO: Incorporate this into the pom.xml 4 | 5 | rm -r ../fluent/src/main/java/io 6 | mvn -Pfluent-gen clean compile 7 | mv target/generated-sources/annotations/io ../fluent/src/main/java/io 8 | -------------------------------------------------------------------------------- /fluent/src/main/java/io/kubernetes/client/fluent/VisitableBuilder.java: -------------------------------------------------------------------------------- 1 | package io.kubernetes.client.fluent; 2 | 3 | public interface VisitableBuilder> extends Builder,Visitable{ 4 | 5 | 6 | 7 | } -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /extended/src/test/resources/namespace-list-pager0.json: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "NamespaceList", 3 | "apiVersion": "v1", 4 | "metadata": { 5 | "selfLink": "/api/v1/namespaces", 6 | "resourceVersion": "61027" 7 | }, 8 | "items": [] 9 | } -------------------------------------------------------------------------------- /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 -------------------------------------------------------------------------------- /examples/examples-release-17/test-svc.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Service 3 | metadata: 4 | name: test-service 5 | spec: 6 | type: ClusterIP 7 | selector: 8 | app: test-service 9 | ports: 10 | - name: port-of-container 11 | port: 8080 -------------------------------------------------------------------------------- /examples/examples-release-18/test-svc.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Service 3 | metadata: 4 | name: test-service 5 | spec: 6 | type: ClusterIP 7 | selector: 8 | app: test-service 9 | ports: 10 | - name: port-of-container 11 | port: 8080 -------------------------------------------------------------------------------- /examples/examples-release-19/test-svc.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Service 3 | metadata: 4 | name: test-service 5 | spec: 6 | type: ClusterIP 7 | selector: 8 | app: test-service 9 | ports: 10 | - name: port-of-container 11 | port: 8080 -------------------------------------------------------------------------------- /examples/examples-release-20/test-svc.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Service 3 | metadata: 4 | name: test-service 5 | spec: 6 | type: ClusterIP 7 | selector: 8 | app: test-service 9 | ports: 10 | - name: port-of-container 11 | port: 8080 -------------------------------------------------------------------------------- /fluent/src/main/java/io/kubernetes/client/fluent/Builder.java: -------------------------------------------------------------------------------- 1 | package io.kubernetes.client.fluent; 2 | 3 | import java.lang.FunctionalInterface; 4 | @FunctionalInterface 5 | public interface Builder{ 6 | 7 | 8 | T build(); 9 | 10 | 11 | } -------------------------------------------------------------------------------- /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 -------------------------------------------------------------------------------- /examples/examples-release-latest/test-svc.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Service 3 | metadata: 4 | name: test-service 5 | spec: 6 | type: ClusterIP 7 | selector: 8 | app: test-service 9 | ports: 10 | - name: port-of-container 11 | port: 8080 -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /scripts/publish-crd-model-gen-image.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | export IMAGE_REPOSITORY=docker.pkg.github.com 4 | export IMAGE_NAME=kubernetes-client/java/crd-model-gen 5 | export IMAGE_VERSION=v1.0.0 6 | 7 | bash "$(dirname $0)/../client-java-contrib/publish-gen-image.sh" 8 | -------------------------------------------------------------------------------- /util/src/test/resources/kubeconfig-utf8: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | clusters: 3 | - cluster: 4 | server: http://kubeconfig.dir.com 5 | name: façade 6 | contexts: 7 | - context: 8 | cluster: façade 9 | name: foo-context 10 | current-context: foo-context -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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----- 6 | -------------------------------------------------------------------------------- /spring/src/test/resources/service.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Service 3 | metadata: 4 | labels: 5 | app: test 6 | name: test 7 | spec: 8 | ports: 9 | - name: http 10 | port: 8080 11 | targetPort: 8080 12 | selector: 13 | app: test 14 | type: ClusterIP 15 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /examples/examples-release-17/README.md: -------------------------------------------------------------------------------- 1 | # Running examples 2 | 3 | ```sh 4 | export REPO_ROOT=/path/to/client-java/repo 5 | 6 | cd ${REPO_ROOT}/ 7 | mvn install 8 | 9 | cd ${REPO_ROOT}/examples/examples-14 10 | mvn compile 11 | mvn exec:java -Dexec.mainClass="io.kubernetes.client.examples.Example" 12 | ``` 13 | 14 | -------------------------------------------------------------------------------- /examples/examples-release-18/README.md: -------------------------------------------------------------------------------- 1 | # Running examples 2 | 3 | ```sh 4 | export REPO_ROOT=/path/to/client-java/repo 5 | 6 | cd ${REPO_ROOT}/ 7 | mvn install 8 | 9 | cd ${REPO_ROOT}/examples/examples-15 10 | mvn compile 11 | mvn exec:java -Dexec.mainClass="io.kubernetes.client.examples.Example" 12 | ``` 13 | 14 | -------------------------------------------------------------------------------- /examples/examples-release-19/README.md: -------------------------------------------------------------------------------- 1 | # Running examples 2 | 3 | ```sh 4 | export REPO_ROOT=/path/to/client-java/repo 5 | 6 | cd ${REPO_ROOT}/ 7 | mvn install 8 | 9 | cd ${REPO_ROOT}/examples/examples-15 10 | mvn compile 11 | mvn exec:java -Dexec.mainClass="io.kubernetes.client.examples.Example" 12 | ``` 13 | 14 | -------------------------------------------------------------------------------- /examples/examples-release-20/README.md: -------------------------------------------------------------------------------- 1 | # Running examples 2 | 3 | ```sh 4 | export REPO_ROOT=/path/to/client-java/repo 5 | 6 | cd ${REPO_ROOT}/ 7 | mvn install 8 | 9 | cd ${REPO_ROOT}/examples/examples-15 10 | mvn compile 11 | mvn exec:java -Dexec.mainClass="io.kubernetes.client.examples.Example" 12 | ``` 13 | 14 | -------------------------------------------------------------------------------- /examples/examples-release-latest/README.md: -------------------------------------------------------------------------------- 1 | # Running examples 2 | 3 | ```sh 4 | export REPO_ROOT=/path/to/client-java/repo 5 | 6 | cd ${REPO_ROOT}/ 7 | mvn install 8 | 9 | cd ${REPO_ROOT}/examples/examples-15 10 | mvn compile 11 | mvn exec:java -Dexec.mainClass="io.kubernetes.client.examples.Example" 12 | ``` 13 | 14 | -------------------------------------------------------------------------------- /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/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/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/V1PodIP.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1PodIP 4 | 5 | PodIP represents a single IP address allocated to the pod. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**ip** | **String** | IP is the IP address assigned to the pod | | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /kubernetes/docs/V1SleepAction.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1SleepAction 4 | 5 | SleepAction describes a \"sleep\" action. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**seconds** | **Long** | Seconds is the number of seconds to sleep. | | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /kubernetes/docs/V1HostIP.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1HostIP 4 | 5 | HostIP represents a single IP address allocated to the host. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**ip** | **String** | IP is the IP address assigned to the host | | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /extended/src/test/resources/deleted-not-found.json: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "Status", 3 | "apiVersion": "v1", 4 | "metadata": {}, 5 | "status": "Failure", 6 | "message": "jobs.batch \"bar\" not found", 7 | "reason": "NotFound", 8 | "details": { 9 | "name": "bar", 10 | "group": "batch", 11 | "kind": "jobs" 12 | }, 13 | "code": 404 14 | } -------------------------------------------------------------------------------- /spring/src/test/resources/spring/test-context.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | -------------------------------------------------------------------------------- /.devcontainer/maven-settings.xml: -------------------------------------------------------------------------------- 1 | 5 | /usr/share/maven/ref/repository 6 | -------------------------------------------------------------------------------- /util/src/test/resources/pod-tag.yaml: -------------------------------------------------------------------------------- 1 | !!io.kubernetes.client.util.TestPoJ 2 | apiVersion: v1 3 | kind: Pod 4 | metadata: 5 | creationTimestamp: "2018-12-23T01:09:18Z" 6 | generateName: test-776d6c86cc- 7 | labels: 8 | app: test 9 | app-version: "19911" 10 | pod-template-hash: "3328274277" 11 | name: test-776d6c86cc-4zwj5 12 | namespace: default -------------------------------------------------------------------------------- /kubernetes/docs/V1ContainerUser.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1ContainerUser 4 | 5 | ContainerUser represents user identity information 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**linux** | [**V1LinuxContainerUser**](V1LinuxContainerUser.md) | | [optional] | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /kubernetes/docs/V1DaemonEndpoint.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1DaemonEndpoint 4 | 5 | DaemonEndpoint contains information about a single Daemon endpoint. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**port** | **Integer** | Port number of the given endpoint. | | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /kubernetes/docs/V1ForZone.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1ForZone 4 | 5 | ForZone provides information about which zones should consume this endpoint. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**name** | **String** | name represents the name of the zone. | | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /fluent/src/main/java/io/kubernetes/client/fluent/TypedVisitor.java: -------------------------------------------------------------------------------- 1 | package io.kubernetes.client.fluent; 2 | 3 | import java.lang.Class; 4 | public abstract class TypedVisitor implements Visitor{ 5 | 6 | 7 | 8 | public Class getType() { 9 | return (Class) Visitors.getTypeArguments(TypedVisitor.class, getClass()).get(0); 10 | } 11 | 12 | 13 | } -------------------------------------------------------------------------------- /spring/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports: -------------------------------------------------------------------------------- 1 | io.kubernetes.client.spring.extended.controller.config.KubernetesInformerAutoConfiguration 2 | io.kubernetes.client.spring.extended.controller.config.KubernetesReconcilerAutoConfiguration 3 | io.kubernetes.client.spring.extended.manifests.config.KubernetesManifestsAutoConfiguration -------------------------------------------------------------------------------- /kubernetes/docs/V1beta1IPAddressSpec.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1beta1IPAddressSpec 4 | 5 | IPAddressSpec describe the attributes in an IP Address. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**parentRef** | [**V1beta1ParentReference**](V1beta1ParentReference.md) | | | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /kubernetes/docs/V1Sysctl.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1Sysctl 4 | 5 | Sysctl defines a kernel parameter to be set 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**name** | **String** | Name of a property to set | | 12 | |**value** | **String** | Value of a property to set | | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1alpha3DeviceSelector.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1alpha3DeviceSelector 4 | 5 | DeviceSelector must have exactly one field set. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**cel** | [**V1alpha3CELDeviceSelector**](V1alpha3CELDeviceSelector.md) | | [optional] | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /kubernetes/docs/V1IngressStatus.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1IngressStatus 4 | 5 | IngressStatus describe the current state of the Ingress. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**loadBalancer** | [**V1IngressLoadBalancerStatus**](V1IngressLoadBalancerStatus.md) | | [optional] | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /kubernetes/docs/V1PodDNSConfigOption.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1PodDNSConfigOption 4 | 5 | PodDNSConfigOption defines DNS resolver options of a pod. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**name** | **String** | Required. | [optional] | 12 | |**value** | **String** | | [optional] | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1ScaleSpec.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1ScaleSpec 4 | 5 | ScaleSpec describes the attributes of a scale subresource. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**replicas** | **Integer** | replicas is the desired number of instances for the scaled object. | [optional] | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /spring/src/main/resources/META-INF/spring.factories: -------------------------------------------------------------------------------- 1 | org.springframework.boot.autoconfigure.EnableAutoConfiguration=\ 2 | io.kubernetes.client.spring.extended.controller.config.KubernetesInformerAutoConfiguration, \ 3 | io.kubernetes.client.spring.extended.controller.config.KubernetesReconcilerAutoConfiguration, \ 4 | io.kubernetes.client.spring.extended.manifests.config.KubernetesManifestsAutoConfiguration 5 | -------------------------------------------------------------------------------- /kubernetes/docs/V1NodeDaemonEndpoints.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1NodeDaemonEndpoints 4 | 5 | NodeDaemonEndpoints lists ports opened by daemons running on the Node. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**kubeletEndpoint** | [**V1DaemonEndpoint**](V1DaemonEndpoint.md) | | [optional] | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /kubernetes/docs/V1SelfSubjectReviewStatus.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1SelfSubjectReviewStatus 4 | 5 | SelfSubjectReviewStatus is filled by the kube-apiserver and sent back to a user. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**userInfo** | [**V1UserInfo**](V1UserInfo.md) | | [optional] | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /kubernetes/docs/V1SessionAffinityConfig.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1SessionAffinityConfig 4 | 5 | SessionAffinityConfig represents the configurations of session affinity. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**clientIP** | [**V1ClientIPConfig**](V1ClientIPConfig.md) | | [optional] | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /fluent-gen/README.md: -------------------------------------------------------------------------------- 1 | # Instructions for rebuilding fluents 2 | 3 | ## Step zero 4 | Start from a totally clean environment (eg. a clean VM if you can), clone everything. 5 | 6 | ## Step one 7 | `mvn -Pfluent-gen install` 8 | 9 | ## Step two 10 | ``` 11 | cd fluent-gen; ./generate.sh 12 | ``` 13 | 14 | ## Step four 15 | Comment the above modules back into the pom.xml 16 | 17 | ## Step five 18 | `mvn install` -------------------------------------------------------------------------------- /kubernetes/docs/V1ContainerStateRunning.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1ContainerStateRunning 4 | 5 | ContainerStateRunning is a running state of a container. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**startedAt** | **OffsetDateTime** | Time at which the container was last (re-)started | [optional] | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /kubernetes/docs/V1VolumeNodeAffinity.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1VolumeNodeAffinity 4 | 5 | VolumeNodeAffinity defines constraints that limit what nodes this volume can be accessed from. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**required** | [**V1NodeSelector**](V1NodeSelector.md) | | [optional] | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /kubernetes/docs/V1alpha1SelfSubjectReviewStatus.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1alpha1SelfSubjectReviewStatus 4 | 5 | SelfSubjectReviewStatus is filled by the kube-apiserver and sent back to a user. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**userInfo** | [**V1UserInfo**](V1UserInfo.md) | | [optional] | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /kubernetes/docs/V1beta1SelfSubjectReviewStatus.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1beta1SelfSubjectReviewStatus 4 | 5 | SelfSubjectReviewStatus is filled by the kube-apiserver and sent back to a user. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**userInfo** | [**V1UserInfo**](V1UserInfo.md) | | [optional] | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /kubernetes/docs/V1PodSchedulingGate.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1PodSchedulingGate 4 | 5 | PodSchedulingGate is associated to a Pod to guard its scheduling. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**name** | **String** | Name of the scheduling gate. Each scheduling gate must have a unique name field. | | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /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/V1CustomResourceValidation.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1CustomResourceValidation 4 | 5 | CustomResourceValidation is a list of validation methods for CustomResources. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**openAPIV3Schema** | [**V1JSONSchemaProps**](V1JSONSchemaProps.md) | | [optional] | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /kubernetes/docs/V1PodReadinessGate.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1PodReadinessGate 4 | 5 | PodReadinessGate contains the reference to a pod condition 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**conditionType** | **String** | ConditionType refers to a condition in the pod's condition list with matching type. | | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /kubernetes/docs/V1UserSubject.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1UserSubject 4 | 5 | UserSubject holds detailed information for user-kind subject. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**name** | **String** | `name` is the username that matches, or \"*\" to match all usernames. Required. | | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /util/src/test/resources/test-pod.json: -------------------------------------------------------------------------------- 1 | { 2 | "apiVersion": "v1", 3 | "kind": "Pod", 4 | "metadata": { 5 | "creationTimestamp": "2018-12-23T01:09:18Z", 6 | "generateName": "test-776d6c86cc-", 7 | "labels": { 8 | "app": "test", 9 | "app-version": "19911", 10 | "pod-template-hash": "3328274277" 11 | }, 12 | "name": "test-776d6c86cc-4zwj5", 13 | "namespace": "default" 14 | } 15 | } -------------------------------------------------------------------------------- /kubernetes/docs/V1SelfSubjectRulesReviewSpec.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1SelfSubjectRulesReviewSpec 4 | 5 | SelfSubjectRulesReviewSpec defines the specification for SelfSubjectRulesReview. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**namespace** | **String** | Namespace to evaluate rules for. Required. | [optional] | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /kubernetes/docs/V1alpha3DeviceClassConfiguration.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1alpha3DeviceClassConfiguration 4 | 5 | DeviceClassConfiguration is used in DeviceClass. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**opaque** | [**V1alpha3OpaqueDeviceConfiguration**](V1alpha3OpaqueDeviceConfiguration.md) | | [optional] | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /kubernetes/docs/V1ExternalDocumentation.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1ExternalDocumentation 4 | 5 | ExternalDocumentation allows referencing an external resource for extended documentation. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**description** | **String** | | [optional] | 12 | |**url** | **String** | | [optional] | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1NodeAddress.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1NodeAddress 4 | 5 | NodeAddress contains information for the node's address. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**address** | **String** | The node address. | | 12 | |**type** | **String** | Node address type, one of Hostname, ExternalIP or InternalIP. | | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1beta3UserSubject.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1beta3UserSubject 4 | 5 | UserSubject holds detailed information for user-kind subject. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**name** | **String** | `name` is the username that matches, or \"*\" to match all usernames. Required. | | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /client-java-contrib/publish-gen-image.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # User-overridable variables 4 | IMAGE_REPOSITORY=${IMAGE_REPOSITORY:-docker.pkg.github.com} 5 | IMAGE_NAME=${IMAGE_NAME:-kubernetes-client/java/crd-model-gen} 6 | IMAGE_VERSION=${IMAGE_VERSION:-v1.0.0} 7 | 8 | IMAGE=${IMAGE_REPOSITORY}/${IMAGE_NAME}:${IMAGE_VERSION} 9 | BUILD_DIR="$(dirname $0)" 10 | docker build -t ${IMAGE} ${BUILD_DIR} 11 | docker push ${IMAGE} 12 | -------------------------------------------------------------------------------- /examples/examples-release-17/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 | -------------------------------------------------------------------------------- /examples/examples-release-18/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 | -------------------------------------------------------------------------------- /examples/examples-release-19/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 | -------------------------------------------------------------------------------- /examples/examples-release-20/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 | -------------------------------------------------------------------------------- /examples/examples-release-latest/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/docs/V1APIServiceStatus.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1APIServiceStatus 4 | 5 | APIServiceStatus contains derived information about an API server 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**conditions** | [**List<V1APIServiceCondition>**](V1APIServiceCondition.md) | Current service state of apiService. | [optional] | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /kubernetes/docs/V1Capabilities.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1Capabilities 4 | 5 | Adds and removes POSIX capabilities from running containers. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**add** | **List<String>** | Added capabilities | [optional] | 12 | |**drop** | **List<String>** | Removed capabilities | [optional] | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1EphemeralVolumeSource.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1EphemeralVolumeSource 4 | 5 | Represents an ephemeral volume that is handled by a normal storage driver. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**volumeClaimTemplate** | [**V1PersistentVolumeClaimTemplate**](V1PersistentVolumeClaimTemplate.md) | | [optional] | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /kubernetes/docs/V1LimitRangeSpec.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1LimitRangeSpec 4 | 5 | LimitRangeSpec defines a min/max usage limit for resources that match on kind. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**limits** | [**List<V1LimitRangeItem>**](V1LimitRangeItem.md) | Limits is the list of LimitRangeItem objects that are enforced. | | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /kubernetes/docs/V1Overhead.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1Overhead 4 | 5 | Overhead structure represents the resource overhead associated with running a pod. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**podFixed** | **Map<String, Quantity>** | podFixed represents the fixed resource overhead associated with running a pod. | [optional] | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /kubernetes/docs/V1EventSource.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1EventSource 4 | 5 | EventSource contains information for an event. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**component** | **String** | Component from which the event is generated. | [optional] | 12 | |**host** | **String** | Node name on which the event is generated. | [optional] | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1JobTemplateSpec.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1JobTemplateSpec 4 | 5 | JobTemplateSpec describes the data a Job should have when created from a template 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] | 12 | |**spec** | [**V1JobSpec**](V1JobSpec.md) | | [optional] | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1PodTemplateSpec.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1PodTemplateSpec 4 | 5 | PodTemplateSpec describes the data a pod should have when created from a template 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] | 12 | |**spec** | [**V1PodSpec**](V1PodSpec.md) | | [optional] | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V2MetricIdentifier.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V2MetricIdentifier 4 | 5 | MetricIdentifier defines the name and optionally selector for a metric 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**name** | **String** | name is the name of the given metric | | 12 | |**selector** | [**V1LabelSelector**](V1LabelSelector.md) | | [optional] | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1AttachedVolume.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1AttachedVolume 4 | 5 | AttachedVolume describes a volume attached to a node 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**devicePath** | **String** | DevicePath represents the device path where the volume should be available | | 12 | |**name** | **String** | Name of the attached volume | | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1FlowSchemaStatus.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1FlowSchemaStatus 4 | 5 | FlowSchemaStatus represents the current state of a FlowSchema. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**conditions** | [**List<V1FlowSchemaCondition>**](V1FlowSchemaCondition.md) | `conditions` is a list of the current states of FlowSchema. | [optional] | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /kubernetes/docs/V1Preconditions.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1Preconditions 4 | 5 | Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**resourceVersion** | **String** | Specifies the target ResourceVersion | [optional] | 12 | |**uid** | **String** | Specifies the target UID. | [optional] | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1TypeChecking.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1TypeChecking 4 | 5 | TypeChecking contains results of type checking the expressions in the ValidatingAdmissionPolicy 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**expressionWarnings** | [**List<V1ExpressionWarning>**](V1ExpressionWarning.md) | The type checking warnings for each expression. | [optional] | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- 1 | version: 2 2 | updates: 3 | - package-ecosystem: "maven" 4 | directory: "/" 5 | schedule: 6 | interval: "daily" 7 | time: "02:00" 8 | - package-ecosystem: "maven" 9 | directory: "/" 10 | target-branch: "master-java8" 11 | schedule: 12 | interval: "daily" 13 | time: "02:00" 14 | - package-ecosystem: "github-actions" 15 | directory: "/" 16 | schedule: 17 | interval: "daily" 18 | time: "03:00" 19 | -------------------------------------------------------------------------------- /client-java-contrib/admissionreview/generate.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | LOCAL_MANIFEST_FILE=$PWD/admission-swagger-1.20.4.json 3 | 4 | docker run --rm \ 5 | -v $LOCAL_MANIFEST_FILE:$LOCAL_MANIFEST_FILE \ 6 | -v /var/run/docker.sock:/var/run/docker.sock \ 7 | -v $PWD:$PWD \ 8 | -it docker.pkg.github.com/kubernetes-client/java/crd-model-gen:v1.0.6 \ 9 | sh -c "source /gen/openapi/java-crd-cmd.sh -n v1 -p io.kubernetes.client.admissionreview -l 2 -o $PWD/gen < $LOCAL_MANIFEST_FILE" 10 | -------------------------------------------------------------------------------- /kubernetes/docs/V1EndpointHints.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1EndpointHints 4 | 5 | EndpointHints provides hints describing how an endpoint should be consumed. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**forZones** | [**List<V1ForZone>**](V1ForZone.md) | forZones indicates the zone(s) this endpoint should be consumed by to enable topology aware routing. | [optional] | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /kubernetes/docs/V1TokenRequestStatus.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1TokenRequestStatus 4 | 5 | TokenRequestStatus is the result of a token request. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**expirationTimestamp** | **OffsetDateTime** | ExpirationTimestamp is the time of expiration of the returned token. | | 12 | |**token** | **String** | Token is the opaque bearer token. | | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /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/V1NodeConfigSource.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1NodeConfigSource 4 | 5 | NodeConfigSource specifies a source of node configuration. Exactly one subfield (excluding metadata) must be non-nil. This API is deprecated since 1.22 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**configMap** | [**V1ConfigMapNodeConfigSource**](V1ConfigMapNodeConfigSource.md) | | [optional] | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /kubernetes/docs/V1ServiceStatus.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1ServiceStatus 4 | 5 | ServiceStatus represents the current status of a service. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**conditions** | [**List<V1Condition>**](V1Condition.md) | Current service state | [optional] | 12 | |**loadBalancer** | [**V1LoadBalancerStatus**](V1LoadBalancerStatus.md) | | [optional] | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1beta3FlowSchemaStatus.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1beta3FlowSchemaStatus 4 | 5 | FlowSchemaStatus represents the current state of a FlowSchema. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**conditions** | [**List<V1beta3FlowSchemaCondition>**](V1beta3FlowSchemaCondition.md) | `conditions` is a list of the current states of FlowSchema. | [optional] | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /kubernetes/docs/V1FlowDistinguisherMethod.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1FlowDistinguisherMethod 4 | 5 | FlowDistinguisherMethod specifies the method of a flow distinguisher. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**type** | **String** | `type` is the type of flow distinguisher method The supported types are \"ByUser\" and \"ByNamespace\". Required. | | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /kubernetes/docs/V1HostAlias.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1HostAlias 4 | 5 | HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**hostnames** | **List<String>** | Hostnames for the above IP address. | [optional] | 12 | |**ip** | **String** | IP address of the host file entry. | | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1ContainerStateWaiting.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1ContainerStateWaiting 4 | 5 | ContainerStateWaiting is a waiting state of a container. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**message** | **String** | Message regarding why the container is not yet running. | [optional] | 12 | |**reason** | **String** | (brief) reason the container is not yet running. | [optional] | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1HTTPHeader.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1HTTPHeader 4 | 5 | HTTPHeader describes a custom header to be used in HTTP probes 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**name** | **String** | The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. | | 12 | |**value** | **String** | The header field value | | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1IngressBackend.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1IngressBackend 4 | 5 | IngressBackend describes all endpoints for a given service and port. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**resource** | [**V1TypedLocalObjectReference**](V1TypedLocalObjectReference.md) | | [optional] | 12 | |**service** | [**V1IngressServiceBackend**](V1IngressServiceBackend.md) | | [optional] | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1IngressLoadBalancerStatus.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1IngressLoadBalancerStatus 4 | 5 | IngressLoadBalancerStatus represents the status of a load-balancer. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**ingress** | [**List<V1IngressLoadBalancerIngress>**](V1IngressLoadBalancerIngress.md) | ingress is a list containing ingress points for the load-balancer. | [optional] | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /kubernetes/docs/V1alpha1TypeChecking.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1alpha1TypeChecking 4 | 5 | TypeChecking contains results of type checking the expressions in the ValidatingAdmissionPolicy 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**expressionWarnings** | [**List<V1alpha1ExpressionWarning>**](V1alpha1ExpressionWarning.md) | The type checking warnings for each expression. | [optional] | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /kubernetes/docs/V1beta1TypeChecking.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1beta1TypeChecking 4 | 5 | TypeChecking contains results of type checking the expressions in the ValidatingAdmissionPolicy 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**expressionWarnings** | [**List<V1beta1ExpressionWarning>**](V1beta1ExpressionWarning.md) | The type checking warnings for each expression. | [optional] | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /e2e/src/test/resources/test-deployment.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: apps/v1 2 | kind: Deployment 3 | metadata: 4 | name: nginx-deployment 5 | namespace: default 6 | labels: 7 | app: nginx 8 | spec: 9 | replicas: 3 10 | selector: 11 | matchLabels: 12 | app: nginx 13 | template: 14 | metadata: 15 | labels: 16 | app: nginx 17 | spec: 18 | containers: 19 | - name: nginx 20 | image: nginx:1.14.2 21 | ports: 22 | - containerPort: 80 -------------------------------------------------------------------------------- /kubernetes/docs/V1PriorityLevelConfigurationReference.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1PriorityLevelConfigurationReference 4 | 5 | PriorityLevelConfigurationReference contains information that points to the \"request-priority\" being used. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**name** | **String** | `name` is the name of the priority level configuration being referenced Required. | | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /kubernetes/docs/V1alpha3ResourceClaimTemplateSpec.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1alpha3ResourceClaimTemplateSpec 4 | 5 | ResourceClaimTemplateSpec contains the metadata and fields for a ResourceClaim. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] | 12 | |**spec** | [**V1alpha3ResourceClaimSpec**](V1alpha3ResourceClaimSpec.md) | | | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1beta3FlowDistinguisherMethod.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1beta3FlowDistinguisherMethod 4 | 5 | FlowDistinguisherMethod specifies the method of a flow distinguisher. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**type** | **String** | `type` is the type of flow distinguisher method The supported types are \"ByUser\" and \"ByNamespace\". Required. | | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /kubernetes/docs/V2ExternalMetricStatus.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V2ExternalMetricStatus 4 | 5 | ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**current** | [**V2MetricValueStatus**](V2MetricValueStatus.md) | | | 12 | |**metric** | [**V2MetricIdentifier**](V2MetricIdentifier.md) | | | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1NodeRuntimeHandler.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1NodeRuntimeHandler 4 | 5 | NodeRuntimeHandler is a set of runtime handler information. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**features** | [**V1NodeRuntimeHandlerFeatures**](V1NodeRuntimeHandlerFeatures.md) | | [optional] | 12 | |**name** | **String** | Runtime handler name. Empty for the default runtime handler. | [optional] | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1beta1ServiceCIDRStatus.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1beta1ServiceCIDRStatus 4 | 5 | ServiceCIDRStatus describes the current state of the ServiceCIDR. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**conditions** | [**List<V1Condition>**](V1Condition.md) | conditions holds an array of metav1.Condition that describe the state of the ServiceCIDR. Current service state | [optional] | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /kubernetes/docs/V1beta3PriorityLevelConfigurationReference.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1beta3PriorityLevelConfigurationReference 4 | 5 | PriorityLevelConfigurationReference contains information that points to the \"request-priority\" being used. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**name** | **String** | `name` is the name of the priority level configuration being referenced Required. | | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /.devcontainer/library-scripts/README.md: -------------------------------------------------------------------------------- 1 | # Warning: Folder contents may be replaced 2 | 3 | The contents of this folder will be automatically replaced with a file of the same name in the [vscode-dev-containers](https://github.com/microsoft/vscode-dev-containers) repository's [script-library folder](https://github.com/microsoft/vscode-dev-containers/tree/master/script-library) whenever the repository is packaged. 4 | 5 | To retain your edits, move the file to a different location. You may also delete the files if they are not needed. -------------------------------------------------------------------------------- /kubernetes/docs/V1NamespaceSpec.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1NamespaceSpec 4 | 5 | NamespaceSpec describes the attributes on a Namespace. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**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] | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /kubernetes/docs/V1VolumeDevice.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1VolumeDevice 4 | 5 | volumeDevice describes a mapping of a raw block device within a container. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**devicePath** | **String** | devicePath is the path inside of the container that the device will be mapped to. | | 12 | |**name** | **String** | name must match the name of a persistentVolumeClaim in the pod | | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1Affinity.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1Affinity 4 | 5 | Affinity is a group of affinity scheduling rules. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**nodeAffinity** | [**V1NodeAffinity**](V1NodeAffinity.md) | | [optional] | 12 | |**podAffinity** | [**V1PodAffinity**](V1PodAffinity.md) | | [optional] | 13 | |**podAntiAffinity** | [**V1PodAntiAffinity**](V1PodAntiAffinity.md) | | [optional] | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /kubernetes/docs/V1NonResourceAttributes.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1NonResourceAttributes 4 | 5 | NonResourceAttributes includes the authorization attributes available for non-resource requests to the Authorizer interface 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**path** | **String** | Path is the URL path of the request | [optional] | 12 | |**verb** | **String** | Verb is the standard HTTP verb | [optional] | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1alpha1GroupVersionResource.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1alpha1GroupVersionResource 4 | 5 | The names of the group, the version, and the resource. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**group** | **String** | The name of the group. | [optional] | 12 | |**resource** | **String** | The name of the resource. | [optional] | 13 | |**version** | **String** | The name of the version. | [optional] | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /kubernetes/docs/V1IngressServiceBackend.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1IngressServiceBackend 4 | 5 | IngressServiceBackend references a Kubernetes Service as a Backend. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**name** | **String** | name is the referenced service. The service must exist in the same namespace as the Ingress object. | | 12 | |**port** | [**V1ServiceBackendPort**](V1ServiceBackendPort.md) | | [optional] | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1ParamKind.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1ParamKind 4 | 5 | ParamKind is a tuple of Group Kind and Version. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**apiVersion** | **String** | APIVersion is the API group version the resources belong to. In format of \"group/version\". Required. | [optional] | 12 | |**kind** | **String** | Kind is the API kind the resources belong to. Required. | [optional] | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1CSINodeSpec.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1CSINodeSpec 4 | 5 | CSINodeSpec holds information about the specification of all CSI drivers installed on a node 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**drivers** | [**List<V1CSINodeDriver>**](V1CSINodeDriver.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. | | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /kubernetes/docs/V1GroupSubject.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1GroupSubject 4 | 5 | GroupSubject holds detailed information for group-kind subject. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**name** | **String** | name is the user group that matches, or \"*\" to match all user groups. See https://github.com/kubernetes/apiserver/blob/master/pkg/authentication/user/user.go for some well-known group names. Required. | | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /kubernetes/docs/V1RoleRef.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1RoleRef 4 | 5 | RoleRef contains information that points to the role being used 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**apiGroup** | **String** | APIGroup is the group for the resource being referenced | | 12 | |**kind** | **String** | Kind is the type of resource being referenced | | 13 | |**name** | **String** | Name is the name of resource being referenced | | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /kubernetes/docs/V1LoadBalancerStatus.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1LoadBalancerStatus 4 | 5 | LoadBalancerStatus represents the status of a load-balancer. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**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] | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /kubernetes/docs/V1ObjectFieldSelector.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1ObjectFieldSelector 4 | 5 | ObjectFieldSelector selects an APIVersioned field of an object. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**apiVersion** | **String** | Version of the schema the FieldPath is written in terms of, defaults to \"v1\". | [optional] | 12 | |**fieldPath** | **String** | Path of the field to select in the specified API version. | | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1PersistentVolumeClaimTemplate.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1PersistentVolumeClaimTemplate 4 | 5 | PersistentVolumeClaimTemplate is used to produce PersistentVolumeClaim objects as part of an EphemeralVolumeSource. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] | 12 | |**spec** | [**V1PersistentVolumeClaimSpec**](V1PersistentVolumeClaimSpec.md) | | | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1ScopeSelector.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1ScopeSelector 4 | 5 | A scope selector represents the AND of the selectors represented by the scoped-resource selector requirements. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**matchExpressions** | [**List<V1ScopedResourceSelectorRequirement>**](V1ScopedResourceSelectorRequirement.md) | A list of scope selector requirements by scope of the resources. | [optional] | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /kubernetes/docs/V1beta1ParamKind.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1beta1ParamKind 4 | 5 | ParamKind is a tuple of Group Kind and Version. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**apiVersion** | **String** | APIVersion is the API group version the resources belong to. In format of \"group/version\". Required. | [optional] | 12 | |**kind** | **String** | Kind is the API kind the resources belong to. Required. | [optional] | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V2PodsMetricStatus.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V2PodsMetricStatus 4 | 5 | PodsMetricStatus indicates the current value of a metric describing each pod in the current scale target (for example, transactions-processed-per-second). 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**current** | [**V2MetricValueStatus**](V2MetricValueStatus.md) | | | 12 | |**metric** | [**V2MetricIdentifier**](V2MetricIdentifier.md) | | | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1DownwardAPIProjection.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1DownwardAPIProjection 4 | 5 | Represents downward API info for projecting into a projected volume. Note that this is identical to a downwardAPI volume source without the default mode. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**items** | [**List<V1DownwardAPIVolumeFile>**](V1DownwardAPIVolumeFile.md) | Items is a list of DownwardAPIVolume file | [optional] | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /kubernetes/docs/V1alpha1ParamKind.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1alpha1ParamKind 4 | 5 | ParamKind is a tuple of Group Kind and Version. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**apiVersion** | **String** | APIVersion is the API group version the resources belong to. In format of \"group/version\". Required. | [optional] | 12 | |**kind** | **String** | Kind is the API kind the resources belong to. Required. | [optional] | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1beta3GroupSubject.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1beta3GroupSubject 4 | 5 | GroupSubject holds detailed information for group-kind subject. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**name** | **String** | name is the user group that matches, or \"*\" to match all user groups. See https://github.com/kubernetes/apiserver/blob/master/pkg/authentication/user/user.go for some well-known group names. Required. | | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /kubernetes/docs/V1UncountedTerminatedPods.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1UncountedTerminatedPods 4 | 5 | UncountedTerminatedPods holds UIDs of Pods that have terminated but haven't been accounted in Job status counters. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**failed** | **List<String>** | failed holds UIDs of failed Pods. | [optional] | 12 | |**succeeded** | **List<String>** | succeeded holds UIDs of succeeded Pods. | [optional] | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/CoreV1EventSeries.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # CoreV1EventSeries 4 | 5 | EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**count** | **Integer** | Number of occurrences in this series up to the last heartbeat time | [optional] | 12 | |**lastObservedTime** | **OffsetDateTime** | Time of the last occurrence observed | [optional] | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1ContainerImage.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1ContainerImage 4 | 5 | Describe a container image 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**names** | **List<String>** | Names by which this image is known. e.g. [\"kubernetes.example/hyperkube:v1.0.7\", \"cloud-vendor.registry.example/cloud-vendor/hyperkube:v1.0.7\"] | [optional] | 12 | |**sizeBytes** | **Long** | The size of the image in bytes. | [optional] | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1DeploymentStrategy.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1DeploymentStrategy 4 | 5 | DeploymentStrategy describes how to replace existing pods with new ones. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**rollingUpdate** | [**V1RollingUpdateDeployment**](V1RollingUpdateDeployment.md) | | [optional] | 12 | |**type** | **String** | Type of deployment. Can be \"Recreate\" or \"RollingUpdate\". Default is RollingUpdate. | [optional] | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1NodeSelector.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1NodeSelector 4 | 5 | A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**nodeSelectorTerms** | [**List<V1NodeSelectorTerm>**](V1NodeSelectorTerm.md) | Required. A list of node selector terms. The terms are ORed. | | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /kubernetes/docs/V1PriorityLevelConfigurationStatus.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1PriorityLevelConfigurationStatus 4 | 5 | PriorityLevelConfigurationStatus represents the current state of a \"request-priority\". 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**conditions** | [**List<V1PriorityLevelConfigurationCondition>**](V1PriorityLevelConfigurationCondition.md) | `conditions` is the current state of \"request-priority\". | [optional] | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /kubernetes/docs/V1WeightedPodAffinityTerm.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1WeightedPodAffinityTerm 4 | 5 | The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**podAffinityTerm** | [**V1PodAffinityTerm**](V1PodAffinityTerm.md) | | | 12 | |**weight** | **Integer** | weight associated with matching the corresponding podAffinityTerm, in the range 1-100. | | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1SecretReference.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1SecretReference 4 | 5 | SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**name** | **String** | name is unique within a namespace to reference a secret resource. | [optional] | 12 | |**namespace** | **String** | namespace defines the space within which the secret name must be unique. | [optional] | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1GRPCAction.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1GRPCAction 4 | 5 | 6 | ## Properties 7 | 8 | | Name | Type | Description | Notes | 9 | |------------ | ------------- | ------------- | -------------| 10 | |**port** | **Integer** | Port number of the gRPC service. Number must be in the range 1 to 65535. | | 11 | |**service** | **String** | Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC. | [optional] | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /kubernetes/docs/V1NetworkPolicyPeer.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1NetworkPolicyPeer 4 | 5 | NetworkPolicyPeer describes a peer to allow traffic to/from. Only certain combinations of fields are allowed 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**ipBlock** | [**V1IPBlock**](V1IPBlock.md) | | [optional] | 12 | |**namespaceSelector** | [**V1LabelSelector**](V1LabelSelector.md) | | [optional] | 13 | |**podSelector** | [**V1LabelSelector**](V1LabelSelector.md) | | [optional] | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /kubernetes/docs/V2HorizontalPodAutoscalerBehavior.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V2HorizontalPodAutoscalerBehavior 4 | 5 | HorizontalPodAutoscalerBehavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively). 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**scaleDown** | [**V2HPAScalingRules**](V2HPAScalingRules.md) | | [optional] | 12 | |**scaleUp** | [**V2HPAScalingRules**](V2HPAScalingRules.md) | | [optional] | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1beta3PriorityLevelConfigurationStatus.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1beta3PriorityLevelConfigurationStatus 4 | 5 | PriorityLevelConfigurationStatus represents the current state of a \"request-priority\". 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**conditions** | [**List<V1beta3PriorityLevelConfigurationCondition>**](V1beta3PriorityLevelConfigurationCondition.md) | `conditions` is the current state of \"request-priority\". | [optional] | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /kubernetes/docs/V2ExternalMetricSource.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V2ExternalMetricSource 4 | 5 | ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster). 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**metric** | [**V2MetricIdentifier**](V2MetricIdentifier.md) | | | 12 | |**target** | [**V2MetricTarget**](V2MetricTarget.md) | | | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1ClientIPConfig.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1ClientIPConfig 4 | 5 | ClientIPConfig represents the configurations of Client IP based session affinity. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**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] | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /kubernetes/docs/V1VolumeError.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1VolumeError 4 | 5 | VolumeError captures an error encountered during a volume operation. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**message** | **String** | message represents the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information. | [optional] | 12 | |**time** | **OffsetDateTime** | time represents the time the error was encountered. | [optional] | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1WatchEvent.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1WatchEvent 4 | 5 | Event represents a single event to a watched resource. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**_object** | **Object** | 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. | | 12 | |**type** | **String** | | | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1alpha3Device.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1alpha3Device 4 | 5 | Device represents one individual hardware instance that can be selected based on its attributes. Besides the name, exactly one field must be set. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**basic** | [**V1alpha3BasicDevice**](V1alpha3BasicDevice.md) | | [optional] | 12 | |**name** | **String** | Name is unique identifier among all devices managed by the driver in the pool. It must be a DNS label. | | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1DaemonSetUpdateStrategy.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1DaemonSetUpdateStrategy 4 | 5 | DaemonSetUpdateStrategy is a struct used to control the update strategy for a DaemonSet. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**rollingUpdate** | [**V1RollingUpdateDaemonSet**](V1RollingUpdateDaemonSet.md) | | [optional] | 12 | |**type** | **String** | Type of daemon set update. Can be \"RollingUpdate\" or \"OnDelete\". Default is RollingUpdate. | [optional] | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1NodeFeatures.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1NodeFeatures 4 | 5 | NodeFeatures describes the set of features implemented by the CRI implementation. The features contained in the NodeFeatures should depend only on the cri implementation independent of runtime handlers. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**supplementalGroupsPolicy** | **Boolean** | SupplementalGroupsPolicy is set to true if the runtime supports SupplementalGroupsPolicy and ContainerUser. | [optional] | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.class 2 | 3 | # VS Code IDE Files 4 | .classpath 5 | .settings/ 6 | .project 7 | .vscode/ 8 | .attach_pid* 9 | 10 | # Maven builds 11 | */target/ 12 | target/ 13 | **/.factorypath 14 | gen/** 15 | 16 | # Mobile Tools for Java (J2ME) 17 | .mtj.tmp/ 18 | 19 | # Package Files # 20 | *.jar 21 | *.war 22 | *.ear 23 | 24 | # virtual machine crash logs, see https://www.java.com/en/download/help/error_hotspot.xml 25 | hs_err_pid* 26 | 27 | # Intellij IDEA files 28 | .idea 29 | *.iml 30 | 31 | .DS_Store 32 | 33 | # generated stuff 34 | kubernetes/bin 35 | kubernetes/swagger.json.unprocessed 36 | -------------------------------------------------------------------------------- /kubernetes/docs/V1ContainerResizePolicy.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1ContainerResizePolicy 4 | 5 | ContainerResizePolicy represents resource resize policy for the container. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**resourceName** | **String** | Name of the resource to which this resource resize policy applies. Supported values: cpu, memory. | | 12 | |**restartPolicy** | **String** | Restart policy to apply when specified resource is resized. If not specified, it defaults to NotRequired. | | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1EnvFromSource.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1EnvFromSource 4 | 5 | EnvFromSource represents the source of a set of ConfigMaps 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**configMapRef** | [**V1ConfigMapEnvSource**](V1ConfigMapEnvSource.md) | | [optional] | 12 | |**prefix** | **String** | An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER. | [optional] | 13 | |**secretRef** | [**V1SecretEnvSource**](V1SecretEnvSource.md) | | [optional] | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /kubernetes/docs/V1ServiceAccountSubject.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1ServiceAccountSubject 4 | 5 | ServiceAccountSubject holds detailed information for service-account-kind subject. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**name** | **String** | `name` is the name of matching ServiceAccount objects, or \"*\" to match regardless of name. Required. | | 12 | |**namespace** | **String** | `namespace` is the namespace of matching ServiceAccount objects. Required. | | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V2PodsMetricSource.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V2PodsMetricSource 4 | 5 | PodsMetricSource indicates how to scale on a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**metric** | [**V2MetricIdentifier**](V2MetricIdentifier.md) | | | 12 | |**target** | [**V2MetricTarget**](V2MetricTarget.md) | | | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1AggregationRule.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1AggregationRule 4 | 5 | AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**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] | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /kubernetes/docs/V1beta3ServiceAccountSubject.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1beta3ServiceAccountSubject 4 | 5 | ServiceAccountSubject holds detailed information for service-account-kind subject. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**name** | **String** | `name` is the name of matching ServiceAccount objects, or \"*\" to match regardless of name. Required. | | 12 | |**namespace** | **String** | `namespace` is the namespace of matching ServiceAccount objects. Required. | | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1ServiceBackendPort.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1ServiceBackendPort 4 | 5 | ServiceBackendPort is the service port being referenced. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**name** | **String** | name is the name of the port on the Service. This is a mutually exclusive setting with \"Number\". | [optional] | 12 | |**number** | **Integer** | number is the numerical port number (e.g. 80) on the Service. This is a mutually exclusive setting with \"Name\". | [optional] | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1TopologySelectorLabelRequirement.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1TopologySelectorLabelRequirement 4 | 5 | A topology selector requirement is a selector that matches given label. This is an alpha feature and may change in the future. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**key** | **String** | The label key that the selector applies to. | | 12 | |**values** | **List<String>** | An array of string values. One value must match the label to be selected. Each entry in Values is ORed. | | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V2ObjectMetricSource.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V2ObjectMetricSource 4 | 5 | ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object). 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**describedObject** | [**V2CrossVersionObjectReference**](V2CrossVersionObjectReference.md) | | | 12 | |**metric** | [**V2MetricIdentifier**](V2MetricIdentifier.md) | | | 13 | |**target** | [**V2MetricTarget**](V2MetricTarget.md) | | | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /kubernetes/docs/V1PreferredSchedulingTerm.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1PreferredSchedulingTerm 4 | 5 | An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**preference** | [**V1NodeSelectorTerm**](V1NodeSelectorTerm.md) | | | 12 | |**weight** | **Integer** | Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100. | | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1alpha3DeviceClaimConfiguration.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1alpha3DeviceClaimConfiguration 4 | 5 | DeviceClaimConfiguration is used for configuration parameters in DeviceClaim. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**opaque** | [**V1alpha3OpaqueDeviceConfiguration**](V1alpha3OpaqueDeviceConfiguration.md) | | [optional] | 12 | |**requests** | **List<String>** | Requests lists the names of requests where the configuration applies. If empty, it applies to all requests. | [optional] | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1beta1ServiceCIDRSpec.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1beta1ServiceCIDRSpec 4 | 5 | ServiceCIDRSpec define the CIDRs the user wants to use for allocating ClusterIPs for Services. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**cidrs** | **List<String>** | CIDRs defines the IP blocks in CIDR notation (e.g. \"192.168.0.0/24\" or \"2001:db8::/64\") from which to assign service cluster IPs. Max of two CIDRs is allowed, one of each IP family. This field is immutable. | [optional] | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /examples/examples-release-17/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 | -------------------------------------------------------------------------------- /examples/examples-release-18/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 | -------------------------------------------------------------------------------- /examples/examples-release-19/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 | -------------------------------------------------------------------------------- /examples/examples-release-20/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/V1SelfSubjectAccessReviewSpec.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1SelfSubjectAccessReviewSpec 4 | 5 | SelfSubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**nonResourceAttributes** | [**V1NonResourceAttributes**](V1NonResourceAttributes.md) | | [optional] | 12 | |**resourceAttributes** | [**V1ResourceAttributes**](V1ResourceAttributes.md) | | [optional] | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V2ObjectMetricStatus.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V2ObjectMetricStatus 4 | 5 | ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object). 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**current** | [**V2MetricValueStatus**](V2MetricValueStatus.md) | | | 12 | |**describedObject** | [**V2CrossVersionObjectReference**](V2CrossVersionObjectReference.md) | | | 13 | |**metric** | [**V2MetricIdentifier**](V2MetricIdentifier.md) | | | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /e2e/src/test/resources/test-deployment-updated.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: apps/v1 2 | kind: Deployment 3 | metadata: 4 | name: nginx-deployment 5 | namespace: default 6 | labels: 7 | app: nginx 8 | spec: 9 | replicas: 3 10 | selector: 11 | matchLabels: 12 | app: nginx 13 | template: 14 | metadata: 15 | labels: 16 | app: nginx 17 | spec: 18 | containers: 19 | - name: nginx 20 | image: nginx:1.14.2 21 | ports: 22 | - containerPort: 80 23 | - name: nginx-2 24 | image: nginx:1.14.2 25 | ports: 26 | - containerPort: 80 27 | -------------------------------------------------------------------------------- /examples/examples-release-latest/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/V1BoundObjectReference.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1BoundObjectReference 4 | 5 | BoundObjectReference is a reference to an object that a token is bound to. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**apiVersion** | **String** | API version of the referent. | [optional] | 12 | |**kind** | **String** | Kind of the referent. Valid kinds are 'Pod' and 'Secret'. | [optional] | 13 | |**name** | **String** | Name of the referent. | [optional] | 14 | |**uid** | **String** | UID of the referent. | [optional] | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /kubernetes/docs/V1PodOS.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1PodOS 4 | 5 | PodOS defines the OS parameters of a pod. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**name** | **String** | Name is the name of the operating system. The currently supported values are linux and windows. Additional value may be defined in future and can be one of: https://github.com/opencontainers/runtime-spec/blob/master/config.md#platform-specific-configuration Clients should expect to handle additional values and treat unrecognized values in this field as os: null | | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /kubernetes/docs/V1NodeRuntimeHandlerFeatures.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1NodeRuntimeHandlerFeatures 4 | 5 | NodeRuntimeHandlerFeatures is a set of features implemented by the runtime handler. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**recursiveReadOnlyMounts** | **Boolean** | RecursiveReadOnlyMounts is set to true if the runtime handler supports RecursiveReadOnlyMounts. | [optional] | 12 | |**userNamespaces** | **Boolean** | UserNamespaces is set to true if the runtime handler supports UserNamespaces, including for volumes. | [optional] | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1ResourceQuotaStatus.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1ResourceQuotaStatus 4 | 5 | ResourceQuotaStatus defines the enforced hard limits and observed use. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**hard** | **Map<String, Quantity>** | Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/ | [optional] | 12 | |**used** | **Map<String, Quantity>** | Used is the current observed total usage of the resource in the namespace. | [optional] | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1NamespaceStatus.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1NamespaceStatus 4 | 5 | NamespaceStatus is information about the current status of a Namespace. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**conditions** | [**List<V1NamespaceCondition>**](V1NamespaceCondition.md) | Represents the latest available observations of a namespace's current state. | [optional] | 12 | |**phase** | **String** | Phase is the current lifecycle phase of the namespace. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/ | [optional] | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/VersionInfo.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # VersionInfo 4 | 5 | Info contains versioning information. how we'll want to distribute that information. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**buildDate** | **String** | | | 12 | |**compiler** | **String** | | | 13 | |**gitCommit** | **String** | | | 14 | |**gitTreeState** | **String** | | | 15 | |**gitVersion** | **String** | | | 16 | |**goVersion** | **String** | | | 17 | |**major** | **String** | | | 18 | |**minor** | **String** | | | 19 | |**platform** | **String** | | | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /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/V1VolumeAttachmentSpec.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1VolumeAttachmentSpec 4 | 5 | VolumeAttachmentSpec is the specification of a VolumeAttachment request. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**attacher** | **String** | attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName(). | | 12 | |**nodeName** | **String** | nodeName represents the node that the volume should be attached to. | | 13 | |**source** | [**V1VolumeAttachmentSource**](V1VolumeAttachmentSource.md) | | | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /kubernetes/docs/V1alpha3PodSchedulingContextStatus.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1alpha3PodSchedulingContextStatus 4 | 5 | PodSchedulingContextStatus describes where resources for the Pod can be allocated. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**resourceClaims** | [**List<V1alpha3ResourceClaimSchedulingStatus>**](V1alpha3ResourceClaimSchedulingStatus.md) | ResourceClaims describes resource availability for each pod.spec.resourceClaim entry where the corresponding ResourceClaim uses \"WaitForFirstConsumer\" allocation mode. | [optional] | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /kubernetes/docs/V1HTTPIngressRuleValue.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1HTTPIngressRuleValue 4 | 5 | HTTPIngressRuleValue is a list of http selectors pointing to backends. In the example: http:///? -> backend where where parts of the url correspond to RFC 3986, this resource will be used to match against everything after the last '/' and before the first '?' or '#'. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**paths** | [**List<V1HTTPIngressPath>**](V1HTTPIngressPath.md) | paths is a collection of paths that map requests to backends. | | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /e2e/src/test/resources/test-statefulset.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: apps/v1 2 | kind: StatefulSet 3 | metadata: 4 | name: web 5 | namespace: default 6 | spec: 7 | selector: 8 | matchLabels: 9 | app: nginx # has to match .spec.template.metadata.labels 10 | serviceName: "nginx" 11 | replicas: 3 # by default is 1 12 | template: 13 | metadata: 14 | labels: 15 | app: nginx # has to match .spec.selector.matchLabels 16 | spec: 17 | terminationGracePeriodSeconds: 10 18 | containers: 19 | - name: nginx 20 | image: k8s.gcr.io/nginx-slim:0.8 21 | ports: 22 | - containerPort: 80 23 | name: web -------------------------------------------------------------------------------- /kubernetes/docs/V1AzureFileVolumeSource.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1AzureFileVolumeSource 4 | 5 | AzureFile represents an Azure File Service mount on the host and bind mount to the pod. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**readOnly** | **Boolean** | readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. | [optional] | 12 | |**secretName** | **String** | secretName is the name of secret that contains Azure Storage Account Name and Key | | 13 | |**shareName** | **String** | shareName is the azure share Name | | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /kubernetes/docs/V1EnvVarSource.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1EnvVarSource 4 | 5 | EnvVarSource represents a source for the value of an EnvVar. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**configMapKeyRef** | [**V1ConfigMapKeySelector**](V1ConfigMapKeySelector.md) | | [optional] | 12 | |**fieldRef** | [**V1ObjectFieldSelector**](V1ObjectFieldSelector.md) | | [optional] | 13 | |**resourceFieldRef** | [**V1ResourceFieldSelector**](V1ResourceFieldSelector.md) | | [optional] | 14 | |**secretKeyRef** | [**V1SecretKeySelector**](V1SecretKeySelector.md) | | [optional] | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /kubernetes/docs/V1GroupVersionForDiscovery.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1GroupVersionForDiscovery 4 | 5 | GroupVersion contains the \"group/version\" and \"version\" string of a version. It is made a struct to keep extensibility. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**groupVersion** | **String** | groupVersion specifies the API group and version in the form \"group/version\" | | 12 | |**version** | **String** | version specifies the version in the form of \"version\". This is to save the clients the trouble of splitting the GroupVersion. | | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1TCPSocketAction.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1TCPSocketAction 4 | 5 | TCPSocketAction describes an action based on opening a socket 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**host** | **String** | Optional: Host name to connect to, defaults to the pod IP. | [optional] | 12 | |**port** | **IntOrString** | IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number. | | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1alpha1StorageVersionMigrationSpec.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1alpha1StorageVersionMigrationSpec 4 | 5 | Spec of the storage version migration. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**continueToken** | **String** | The token used in the list options to get the next chunk of objects to migrate. When the .status.conditions indicates the migration is \"Running\", users can use this token to check the progress of the migration. | [optional] | 12 | |**resource** | [**V1alpha1GroupVersionResource**](V1alpha1GroupVersionResource.md) | | | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1LocalObjectReference.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1LocalObjectReference 4 | 5 | LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**name** | **String** | Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names | [optional] | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /kubernetes/docs/V1beta1ParentReference.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1beta1ParentReference 4 | 5 | ParentReference describes a reference to a parent object. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**group** | **String** | Group is the group of the object being referenced. | [optional] | 12 | |**name** | **String** | Name is the name of the object being referenced. | | 13 | |**namespace** | **String** | Namespace is the namespace of the object being referenced. | [optional] | 14 | |**resource** | **String** | Resource is the resource of the object being referenced. | | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /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/V1Lifecycle.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1Lifecycle 4 | 5 | Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**postStart** | [**V1LifecycleHandler**](V1LifecycleHandler.md) | | [optional] | 12 | |**preStop** | [**V1LifecycleHandler**](V1LifecycleHandler.md) | | [optional] | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1ResourceClaim.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1ResourceClaim 4 | 5 | ResourceClaim references one entry in PodSpec.ResourceClaims. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**name** | **String** | Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. | | 12 | |**request** | **String** | Request is the name chosen for a request in the referenced claim. If empty, everything from the claim is made available, otherwise only the result of this request. | [optional] | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1ContainerState.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1ContainerState 4 | 5 | ContainerState holds a possible state of container. Only one of its members may be specified. If none of them is specified, the default one is ContainerStateWaiting. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**running** | [**V1ContainerStateRunning**](V1ContainerStateRunning.md) | | [optional] | 12 | |**terminated** | [**V1ContainerStateTerminated**](V1ContainerStateTerminated.md) | | [optional] | 13 | |**waiting** | [**V1ContainerStateWaiting**](V1ContainerStateWaiting.md) | | [optional] | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /kubernetes/docs/V1CronJobStatus.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1CronJobStatus 4 | 5 | CronJobStatus represents the current state of a cron job. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**active** | [**List<V1ObjectReference>**](V1ObjectReference.md) | A list of pointers to currently running jobs. | [optional] | 12 | |**lastScheduleTime** | **OffsetDateTime** | Information when was the last time the job was successfully scheduled. | [optional] | 13 | |**lastSuccessfulTime** | **OffsetDateTime** | Information when was the last time the job successfully completed. | [optional] | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /kubernetes/docs/V1LifecycleHandler.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1LifecycleHandler 4 | 5 | LifecycleHandler defines a specific action that should be taken in a lifecycle hook. One and only one of the fields, except TCPSocket must be specified. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**exec** | [**V1ExecAction**](V1ExecAction.md) | | [optional] | 12 | |**httpGet** | [**V1HTTPGetAction**](V1HTTPGetAction.md) | | [optional] | 13 | |**sleep** | [**V1SleepAction**](V1SleepAction.md) | | [optional] | 14 | |**tcpSocket** | [**V1TCPSocketAction**](V1TCPSocketAction.md) | | [optional] | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /kubernetes/docs/V1PhotonPersistentDiskVolumeSource.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1PhotonPersistentDiskVolumeSource 4 | 5 | Represents a Photon Controller persistent disk resource. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**fsType** | **String** | fsType is the 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] | 12 | |**pdID** | **String** | pdID is the ID that identifies Photon Controller persistent disk | | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1ServerAddressByClientCIDR.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1ServerAddressByClientCIDR 4 | 5 | ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**clientCIDR** | **String** | The CIDR with which clients can match their IP to figure out the server address that they should use. | | 12 | |**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. | | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1alpha3DeviceAttribute.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1alpha3DeviceAttribute 4 | 5 | DeviceAttribute must have exactly one field set. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**bool** | **Boolean** | BoolValue is a true/false value. | [optional] | 12 | |**_int** | **Long** | IntValue is a number. | [optional] | 13 | |**string** | **String** | StringValue is a string. Must not be longer than 64 characters. | [optional] | 14 | |**version** | **String** | VersionValue is a semantic version according to semver.org spec 2.0.0. Must not be longer than 64 characters. | [optional] | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /kubernetes/docs/ApiregistrationV1ServiceReference.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # ApiregistrationV1ServiceReference 4 | 5 | ServiceReference holds a reference to Service.legacy.k8s.io 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**name** | **String** | Name is the name of the service | [optional] | 12 | |**namespace** | **String** | Namespace is the namespace of the service | [optional] | 13 | |**port** | **Integer** | If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive). | [optional] | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /kubernetes/docs/V1LinuxContainerUser.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1LinuxContainerUser 4 | 5 | LinuxContainerUser represents user identity information in Linux containers 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**gid** | **Long** | GID is the primary gid initially attached to the first process in the container | | 12 | |**supplementalGroups** | **List<Long>** | SupplementalGroups are the supplemental groups initially attached to the first process in the container | [optional] | 13 | |**uid** | **Long** | UID is the primary uid initially attached to the first process in the container | | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /kubernetes/docs/V1StatefulSetUpdateStrategy.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1StatefulSetUpdateStrategy 4 | 5 | StatefulSetUpdateStrategy indicates the strategy that the StatefulSet controller will use to perform updates. It includes any additional parameters necessary to perform the update for the indicated strategy. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**rollingUpdate** | [**V1RollingUpdateStatefulSetStrategy**](V1RollingUpdateStatefulSetStrategy.md) | | [optional] | 12 | |**type** | **String** | Type indicates the type of the StatefulSetUpdateStrategy. Default is RollingUpdate. | [optional] | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1TopologySelectorTerm.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1TopologySelectorTerm 4 | 5 | A topology selector term represents the result of label queries. A null or empty topology selector term matches no objects. The requirements of them are ANDed. It provides a subset of functionality as NodeSelectorTerm. This is an alpha feature and may change in the future. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**matchLabelExpressions** | [**List<V1TopologySelectorLabelRequirement>**](V1TopologySelectorLabelRequirement.md) | A list of topology selector requirements by labels. | [optional] | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /kubernetes/docs/V1VolumeAttachmentSource.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1VolumeAttachmentSource 4 | 5 | VolumeAttachmentSource represents a volume that should be attached. Right now only PersistenVolumes can be attached via external attacher, in future we may allow also inline volumes in pods. Exactly one member can be set. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**inlineVolumeSpec** | [**V1PersistentVolumeSpec**](V1PersistentVolumeSpec.md) | | [optional] | 12 | |**persistentVolumeName** | **String** | persistentVolumeName represents the name of the persistent volume to attach. | [optional] | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1SELinuxOptions.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1SELinuxOptions 4 | 5 | SELinuxOptions are the labels to be applied to the container 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**level** | **String** | Level is SELinux level label that applies to the container. | [optional] | 12 | |**role** | **String** | Role is a SELinux role label that applies to the container. | [optional] | 13 | |**type** | **String** | Type is a SELinux type label that applies to the container. | [optional] | 14 | |**user** | **String** | User is a SELinux user label that applies to the container. | [optional] | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /kubernetes/docs/V1ValidatingAdmissionPolicyStatus.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1ValidatingAdmissionPolicyStatus 4 | 5 | ValidatingAdmissionPolicyStatus represents the status of an admission validation policy. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**conditions** | [**List<V1Condition>**](V1Condition.md) | The conditions represent the latest available observations of a policy's current state. | [optional] | 12 | |**observedGeneration** | **Long** | The generation observed by the controller. | [optional] | 13 | |**typeChecking** | [**V1TypeChecking**](V1TypeChecking.md) | | [optional] | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /kubernetes/docs/StorageV1TokenRequest.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # StorageV1TokenRequest 4 | 5 | TokenRequest contains parameters of a service account token. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**audience** | **String** | audience is the intended audience of the token in \"TokenRequestSpec\". It will default to the audiences of kube apiserver. | | 12 | |**expirationSeconds** | **Long** | expirationSeconds is the duration of validity of the token in \"TokenRequestSpec\". It has the same default value of \"ExpirationSeconds\" in \"TokenRequestSpec\". | [optional] | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /kubernetes/docs/V1NonResourceRule.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1NonResourceRule 4 | 5 | NonResourceRule holds information that describes a rule for the non-resource 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**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] | 12 | |**verbs** | **List<String>** | Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options. \"*\" means all. | | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /client-java-contrib/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM docker:stable 2 | 3 | # install git, bash, kind, kubectl and clone the kubernetes-client/gen code base 4 | RUN apk add --no-cache git bash && \ 5 | wget -O /usr/bin/kind https://kind.sigs.k8s.io/dl/v0.17.0/kind-linux-amd64 && \ 6 | chmod +x /usr/bin/kind && \ 7 | wget -O /usr/bin/kubectl https://dl.k8s.io/release/v1.28.2/bin/linux/amd64/kubectl && \ 8 | chmod +x /usr/bin/kubectl && \ 9 | git clone https://github.com/kubernetes-client/gen.git && \ 10 | cd gen && \ 11 | git checkout 84f2bc9e34129f92606a00fccb8c5c62204012b9 12 | 13 | 14 | COPY generate.sh generate.sh 15 | 16 | RUN chmod +x generate.sh 17 | 18 | WORKDIR gen/openapi 19 | 20 | CMD ["/generate.sh"] -------------------------------------------------------------------------------- /kubernetes/docs/V1IngressLoadBalancerIngress.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1IngressLoadBalancerIngress 4 | 5 | IngressLoadBalancerIngress represents the status of a load-balancer ingress point. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**hostname** | **String** | hostname is set for load-balancer ingress points that are DNS based. | [optional] | 12 | |**ip** | **String** | ip is set for load-balancer ingress points that are IP based. | [optional] | 13 | |**ports** | [**List<V1IngressPortStatus>**](V1IngressPortStatus.md) | ports provides information about the ports exposed by this LoadBalancer. | [optional] | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /kubernetes/docs/V1PodFailurePolicy.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1PodFailurePolicy 4 | 5 | PodFailurePolicy describes how failed pods influence the backoffLimit. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**rules** | [**List<V1PodFailurePolicyRule>**](V1PodFailurePolicyRule.md) | A list of pod failure policy rules. The rules are evaluated in order. Once a rule matches a Pod failure, the remaining of the rules are ignored. When no rule matches the Pod failure, the default handling applies - the counter of pod failures is incremented and it is checked against the backoffLimit. At most 20 elements are allowed. | | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /kubernetes/docs/V1ResourceStatus.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1ResourceStatus 4 | 5 | 6 | ## Properties 7 | 8 | | Name | Type | Description | Notes | 9 | |------------ | ------------- | ------------- | -------------| 10 | |**name** | **String** | Name of the resource. Must be unique within the pod and match one of the resources from the pod spec. | | 11 | |**resources** | [**List<V1ResourceHealth>**](V1ResourceHealth.md) | List of unique Resources health. Each element in the list contains an unique resource ID and resource health. At a minimum, ResourceID must uniquely identify the Resource allocated to the Pod on the Node for the lifetime of a Pod. See ResourceID type for it's definition. | [optional] | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /kubernetes/docs/V1alpha1ValidatingAdmissionPolicyStatus.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1alpha1ValidatingAdmissionPolicyStatus 4 | 5 | ValidatingAdmissionPolicyStatus represents the status of a ValidatingAdmissionPolicy. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**conditions** | [**List<V1Condition>**](V1Condition.md) | The conditions represent the latest available observations of a policy's current state. | [optional] | 12 | |**observedGeneration** | **Long** | The generation observed by the controller. | [optional] | 13 | |**typeChecking** | [**V1alpha1TypeChecking**](V1alpha1TypeChecking.md) | | [optional] | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /kubernetes/docs/V1beta1ValidatingAdmissionPolicyStatus.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1beta1ValidatingAdmissionPolicyStatus 4 | 5 | ValidatingAdmissionPolicyStatus represents the status of an admission validation policy. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**conditions** | [**List<V1Condition>**](V1Condition.md) | The conditions represent the latest available observations of a policy's current state. | [optional] | 12 | |**observedGeneration** | **Long** | The generation observed by the controller. | [optional] | 13 | |**typeChecking** | [**V1beta1TypeChecking**](V1beta1TypeChecking.md) | | [optional] | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /kubernetes/docs/V1HostPathVolumeSource.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1HostPathVolumeSource 4 | 5 | Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**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 | | 12 | |**type** | **String** | type for HostPath Volume Defaults to \"\" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath | [optional] | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V2HPAScalingPolicy.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V2HPAScalingPolicy 4 | 5 | HPAScalingPolicy is a single policy which must hold true for a specified past interval. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**periodSeconds** | **Integer** | periodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min). | | 12 | |**type** | **String** | type is used to specify the scaling policy. | | 13 | |**value** | **Integer** | value contains the amount of change which is permitted by the policy. It must be greater than zero | | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /kubernetes/docs/V1PodFailurePolicyOnPodConditionsPattern.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1PodFailurePolicyOnPodConditionsPattern 4 | 5 | PodFailurePolicyOnPodConditionsPattern describes a pattern for matching an actual pod condition type. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**status** | **String** | Specifies the required Pod condition status. To match a pod condition it is required that the specified status equals the pod condition status. Defaults to True. | | 12 | |**type** | **String** | Specifies the required Pod condition type. To match a pod condition it is required that specified type equals the pod condition type. | | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /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/V1NodeSelectorTerm.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1NodeSelectorTerm 4 | 5 | A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**matchExpressions** | [**List<V1NodeSelectorRequirement>**](V1NodeSelectorRequirement.md) | A list of node selector requirements by node's labels. | [optional] | 12 | |**matchFields** | [**List<V1NodeSelectorRequirement>**](V1NodeSelectorRequirement.md) | A list of node selector requirements by node's fields. | [optional] | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V2ResourceMetricStatus.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V2ResourceMetricStatus 4 | 5 | ResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**current** | [**V2MetricValueStatus**](V2MetricValueStatus.md) | | | 12 | |**name** | **String** | name is the name of the resource in question. | | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1ExecAction.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1ExecAction 4 | 5 | ExecAction describes a \"run in container\" action. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**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] | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /kubernetes/docs/V1FlockerVolumeSource.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1FlockerVolumeSource 4 | 5 | Represents a Flocker volume mounted by the Flocker agent. One and only one of datasetName and datasetUUID should be set. Flocker volumes do not support ownership management or SELinux relabeling. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**datasetName** | **String** | datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated | [optional] | 12 | |**datasetUUID** | **String** | datasetUUID is the UUID of the dataset. This is unique identifier of a Flocker dataset | [optional] | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1VolumeNodeResources.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1VolumeNodeResources 4 | 5 | VolumeNodeResources is a set of resource limits for scheduling of volumes. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**count** | **Integer** | count indicates the maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is not specified, then the supported number of volumes on this node is unbounded. | [optional] | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /kubernetes/docs/V1ConfigMapKeySelector.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1ConfigMapKeySelector 4 | 5 | Selects a key from a ConfigMap. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**key** | **String** | The key to select. | | 12 | |**name** | **String** | Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names | [optional] | 13 | |**optional** | **Boolean** | Specify whether the ConfigMap or its key must be defined | [optional] | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /kubernetes/docs/V1LimitResponse.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1LimitResponse 4 | 5 | LimitResponse defines how to handle requests that can not be executed right now. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**queuing** | [**V1QueuingConfiguration**](V1QueuingConfiguration.md) | | [optional] | 12 | |**type** | **String** | `type` is \"Queue\" or \"Reject\". \"Queue\" means that requests that can not be executed upon arrival are held in a queue until they can be executed or a queuing limit is reached. \"Reject\" means that requests that can not be executed upon arrival are rejected. Required. | | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1ExpressionWarning.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1ExpressionWarning 4 | 5 | ExpressionWarning is a warning information that targets a specific expression. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**fieldRef** | **String** | The path to the field that refers the expression. For example, the reference to the expression of the first item of validations is \"spec.validations[0].expression\" | | 12 | |**warning** | **String** | The content of type checking information in a human-readable form. Each line of the warning contains the type that the expression is checked against, followed by the type check error from the compiler. | | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1TokenReviewSpec.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1TokenReviewSpec 4 | 5 | TokenReviewSpec is a description of the token authentication request. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**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] | 12 | |**token** | **String** | Token is the opaque bearer token. | [optional] | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1alpha1MigrationCondition.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1alpha1MigrationCondition 4 | 5 | Describes the state of a migration at a certain point. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**lastUpdateTime** | **OffsetDateTime** | The last time this condition was updated. | [optional] | 12 | |**message** | **String** | A human readable message indicating details about the transition. | [optional] | 13 | |**reason** | **String** | The reason for the condition's last transition. | [optional] | 14 | |**status** | **String** | Status of the condition, one of True, False, Unknown. | | 15 | |**type** | **String** | Type of the condition. | | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /kubernetes/docs/V1ResourceQuotaSpec.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1ResourceQuotaSpec 4 | 5 | ResourceQuotaSpec defines the desired hard limits to enforce for Quota. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**hard** | **Map<String, Quantity>** | hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/ | [optional] | 12 | |**scopeSelector** | [**V1ScopeSelector**](V1ScopeSelector.md) | | [optional] | 13 | |**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] | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /kubernetes/docs/V1beta1ExpressionWarning.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1beta1ExpressionWarning 4 | 5 | ExpressionWarning is a warning information that targets a specific expression. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**fieldRef** | **String** | The path to the field that refers the expression. For example, the reference to the expression of the first item of validations is \"spec.validations[0].expression\" | | 12 | |**warning** | **String** | The content of type checking information in a human-readable form. Each line of the warning contains the type that the expression is checked against, followed by the type check error from the compiler. | | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1TypedLocalObjectReference.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1TypedLocalObjectReference 4 | 5 | TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**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] | 12 | |**kind** | **String** | Kind is the type of resource being referenced | | 13 | |**name** | **String** | Name is the name of resource being referenced | | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /kubernetes/docs/V1alpha1ExpressionWarning.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1alpha1ExpressionWarning 4 | 5 | ExpressionWarning is a warning information that targets a specific expression. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**fieldRef** | **String** | The path to the field that refers the expression. For example, the reference to the expression of the first item of validations is \"spec.validations[0].expression\" | | 12 | |**warning** | **String** | The content of type checking information in a human-readable form. Each line of the warning contains the type that the expression is checked against, followed by the type check error from the compiler. | | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1beta3LimitResponse.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1beta3LimitResponse 4 | 5 | LimitResponse defines how to handle requests that can not be executed right now. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**queuing** | [**V1beta3QueuingConfiguration**](V1beta3QueuingConfiguration.md) | | [optional] | 12 | |**type** | **String** | `type` is \"Queue\" or \"Reject\". \"Queue\" means that requests that can not be executed upon arrival are held in a queue until they can be executed or a queuing limit is reached. \"Reject\" means that requests that can not be executed upon arrival are rejected. Required. | | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/FlowcontrolV1Subject.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # FlowcontrolV1Subject 4 | 5 | Subject matches the originator of a request, as identified by the request authentication system. There are three ways of matching an originator; by user, group, or service account. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**group** | [**V1GroupSubject**](V1GroupSubject.md) | | [optional] | 12 | |**kind** | **String** | `kind` indicates which one of the other fields is non-empty. Required | | 13 | |**serviceAccount** | [**V1ServiceAccountSubject**](V1ServiceAccountSubject.md) | | [optional] | 14 | |**user** | [**V1UserSubject**](V1UserSubject.md) | | [optional] | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /kubernetes/docs/V1CrossVersionObjectReference.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1CrossVersionObjectReference 4 | 5 | CrossVersionObjectReference contains enough information to let you identify the referred resource. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**apiVersion** | **String** | apiVersion is the API version of the referent | [optional] | 12 | |**kind** | **String** | kind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | | 13 | |**name** | **String** | name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names | | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /kubernetes/docs/V1SelectableField.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1SelectableField 4 | 5 | SelectableField specifies the JSON path of a field that may be used with field selectors. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**jsonPath** | **String** | jsonPath is a simple JSON path which is evaluated against each custom resource to produce a field selector value. Only JSON paths without the array notation are allowed. Must point to a field of type string, boolean or integer. Types with enum values and strings with formats are allowed. If jsonPath refers to absent field in a resource, the jsonPath evaluates to an empty string. Must not point to metdata fields. Required. | | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /kubernetes/docs/V1alpha3ResourceClaimSchedulingStatus.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1alpha3ResourceClaimSchedulingStatus 4 | 5 | ResourceClaimSchedulingStatus contains information about one particular ResourceClaim with \"WaitForFirstConsumer\" allocation mode. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**name** | **String** | Name matches the pod.spec.resourceClaims[*].Name field. | | 12 | |**unsuitableNodes** | **List<String>** | UnsuitableNodes lists nodes that the ResourceClaim cannot be allocated for. The size of this field is limited to 128, the same as for PodSchedulingSpec.PotentialNodes. This may get increased in the future, but not reduced. | [optional] | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V2CrossVersionObjectReference.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V2CrossVersionObjectReference 4 | 5 | CrossVersionObjectReference contains enough information to let you identify the referred resource. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**apiVersion** | **String** | apiVersion is the API version of the referent | [optional] | 12 | |**kind** | **String** | kind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | | 13 | |**name** | **String** | name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names | | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /kubernetes/docs/V1alpha1StorageVersionMigrationStatus.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1alpha1StorageVersionMigrationStatus 4 | 5 | Status of the storage version migration. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**conditions** | [**List<V1alpha1MigrationCondition>**](V1alpha1MigrationCondition.md) | The latest available observations of the migration's current state. | [optional] | 12 | |**resourceVersion** | **String** | ResourceVersion to compare with the GC cache for performing the migration. This is the current resource version of given group, version and resource when kube-controller-manager first observes this StorageVersionMigration resource. | [optional] | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1EndpointAddress.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1EndpointAddress 4 | 5 | EndpointAddress is a tuple that describes single IP address. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**hostname** | **String** | The Hostname of this endpoint | [optional] | 12 | |**ip** | **String** | The IP of this endpoint. May not be loopback (127.0.0.0/8 or ::1), link-local (169.254.0.0/16 or fe80::/10), or link-local multicast (224.0.0.0/24 or ff02::/16). | | 13 | |**nodeName** | **String** | Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node. | [optional] | 14 | |**targetRef** | [**V1ObjectReference**](V1ObjectReference.md) | | [optional] | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /kubernetes/docs/V1LocalVolumeSource.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1LocalVolumeSource 4 | 5 | Local represents directly-attached storage with node affinity (Beta feature) 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**fsType** | **String** | fsType is the 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 filesystem if unspecified. | [optional] | 12 | |**path** | **String** | path of the full path to the volume on the node. It can be either a directory or block device (disk, partition, ...). | | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1ScaleStatus.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1ScaleStatus 4 | 5 | ScaleStatus represents the current status of a scale subresource. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**replicas** | **Integer** | replicas is the actual number of observed instances of the scaled object. | | 12 | |**selector** | **String** | selector is the 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: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ | [optional] | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1NamespaceCondition.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1NamespaceCondition 4 | 5 | NamespaceCondition contains details about state of namespace. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**lastTransitionTime** | **OffsetDateTime** | Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers. | [optional] | 12 | |**message** | **String** | | [optional] | 13 | |**reason** | **String** | | [optional] | 14 | |**status** | **String** | Status of the condition, one of True, False, Unknown. | | 15 | |**type** | **String** | Type of namespace controller condition. | | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /extended/src/main/java/io/kubernetes/client/extended/event/EventType.java: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2020 The Kubernetes Authors. 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | http://www.apache.org/licenses/LICENSE-2.0 7 | Unless required by applicable law or agreed to in writing, software 8 | distributed under the License is distributed on an "AS IS" BASIS, 9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 10 | See the License for the specific language governing permissions and 11 | limitations under the License. 12 | */ 13 | package io.kubernetes.client.extended.event; 14 | 15 | public enum EventType { 16 | Normal, 17 | Warning; 18 | } 19 | -------------------------------------------------------------------------------- /kubernetes/docs/V1PortworxVolumeSource.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1PortworxVolumeSource 4 | 5 | PortworxVolumeSource represents a Portworx volume resource. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**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] | 12 | |**readOnly** | **Boolean** | readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. | [optional] | 13 | |**volumeID** | **String** | volumeID uniquely identifies a Portworx volume | | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /kubernetes/docs/V1beta3Subject.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1beta3Subject 4 | 5 | Subject matches the originator of a request, as identified by the request authentication system. There are three ways of matching an originator; by user, group, or service account. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**group** | [**V1beta3GroupSubject**](V1beta3GroupSubject.md) | | [optional] | 12 | |**kind** | **String** | `kind` indicates which one of the other fields is non-empty. Required | | 13 | |**serviceAccount** | [**V1beta3ServiceAccountSubject**](V1beta3ServiceAccountSubject.md) | | [optional] | 14 | |**user** | [**V1beta3UserSubject**](V1beta3UserSubject.md) | | [optional] | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /kubernetes/docs/V1DaemonSetCondition.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1DaemonSetCondition 4 | 5 | DaemonSetCondition describes the state of a DaemonSet at a certain point. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**lastTransitionTime** | **OffsetDateTime** | Last time the condition transitioned from one status to another. | [optional] | 12 | |**message** | **String** | A human readable message indicating details about the transition. | [optional] | 13 | |**reason** | **String** | The reason for the condition's last transition. | [optional] | 14 | |**status** | **String** | Status of the condition, one of True, False, Unknown. | | 15 | |**type** | **String** | Type of DaemonSet condition. | | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /kubernetes/docs/V1alpha3DeviceAllocationConfiguration.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1alpha3DeviceAllocationConfiguration 4 | 5 | DeviceAllocationConfiguration gets embedded in an AllocationResult. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**opaque** | [**V1alpha3OpaqueDeviceConfiguration**](V1alpha3OpaqueDeviceConfiguration.md) | | [optional] | 12 | |**requests** | **List<String>** | Requests lists the names of requests where the configuration applies. If empty, its applies to all requests. | [optional] | 13 | |**source** | **String** | Source records whether the configuration comes from a class and thus is not something that a normal user would have been able to set or from a claim. | | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /extended/src/main/java/io/kubernetes/client/extended/wait/Wait.java: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2020 The Kubernetes Authors. 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | http://www.apache.org/licenses/LICENSE-2.0 7 | Unless required by applicable law or agreed to in writing, software 8 | distributed under the License is distributed on an "AS IS" BASIS, 9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 10 | See the License for the specific language governing permissions and 11 | limitations under the License. 12 | */ 13 | package io.kubernetes.client.extended.wait; 14 | 15 | @Deprecated 16 | public class Wait extends io.kubernetes.client.util.wait.Wait {} 17 | -------------------------------------------------------------------------------- /kubernetes/docs/V1SecretKeySelector.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1SecretKeySelector 4 | 5 | SecretKeySelector selects a key of a Secret. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**key** | **String** | The key of the secret to select from. Must be a valid secret key. | | 12 | |**name** | **String** | Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names | [optional] | 13 | |**optional** | **Boolean** | Specify whether the Secret or its key must be defined | [optional] | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /kubernetes/docs/V1alpha3BasicDevice.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1alpha3BasicDevice 4 | 5 | BasicDevice defines one device instance. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**attributes** | [**Map<String, V1alpha3DeviceAttribute>**](V1alpha3DeviceAttribute.md) | Attributes defines the set of attributes for this device. The name of each attribute must be unique in that set. The maximum number of attributes and capacities combined is 32. | [optional] | 12 | |**capacity** | **Map<String, Quantity>** | Capacity defines the set of capacities for this device. The name of each capacity must be unique in that set. The maximum number of attributes and capacities combined is 32. | [optional] | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1StatefulSetCondition.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1StatefulSetCondition 4 | 5 | StatefulSetCondition describes the state of a statefulset at a certain point. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**lastTransitionTime** | **OffsetDateTime** | Last time the condition transitioned from one status to another. | [optional] | 12 | |**message** | **String** | A human readable message indicating details about the transition. | [optional] | 13 | |**reason** | **String** | The reason for the condition's last transition. | [optional] | 14 | |**status** | **String** | Status of the condition, one of True, False, Unknown. | | 15 | |**type** | **String** | Type of statefulset condition. | | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /kubernetes/docs/V1Taint.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1Taint 4 | 5 | The node this Taint is attached to has the \"effect\" on any pod that does not tolerate the Taint. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**effect** | **String** | Required. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute. | | 12 | |**key** | **String** | Required. The taint key to be applied to a node. | | 13 | |**timeAdded** | **OffsetDateTime** | TimeAdded represents the time at which the taint was added. It is only written for NoExecute taints. | [optional] | 14 | |**value** | **String** | The taint value corresponding to the taint key. | [optional] | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /kubernetes/docs/V1ReplicaSetCondition.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1ReplicaSetCondition 4 | 5 | ReplicaSetCondition describes the state of a replica set at a certain point. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**lastTransitionTime** | **OffsetDateTime** | The last time the condition transitioned from one status to another. | [optional] | 12 | |**message** | **String** | A human readable message indicating details about the transition. | [optional] | 13 | |**reason** | **String** | The reason for the condition's last transition. | [optional] | 14 | |**status** | **String** | Status of the condition, one of True, False, Unknown. | | 15 | |**type** | **String** | Type of replica set condition. | | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /kubernetes/docs/V1alpha3ResourceClaimSpec.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1alpha3ResourceClaimSpec 4 | 5 | ResourceClaimSpec defines what is being requested in a ResourceClaim and how to configure it. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**controller** | **String** | Controller is the name of the DRA driver that is meant to handle allocation of this claim. If empty, allocation is handled by the scheduler while scheduling a pod. Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. This is an alpha field and requires enabling the DRAControlPlaneController feature gate. | [optional] | 12 | |**devices** | [**V1alpha3DeviceClaim**](V1alpha3DeviceClaim.md) | | [optional] | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /util/src/main/java/io/kubernetes/client/apimachinery/ParseKubernetesResourceException.java: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2020 The Kubernetes Authors. 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | http://www.apache.org/licenses/LICENSE-2.0 7 | Unless required by applicable law or agreed to in writing, software 8 | distributed under the License is distributed on an "AS IS" BASIS, 9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 10 | See the License for the specific language governing permissions and 11 | limitations under the License. 12 | */ 13 | package io.kubernetes.client.apimachinery; 14 | 15 | public class ParseKubernetesResourceException extends Exception {} 16 | -------------------------------------------------------------------------------- /kubernetes/docs/ApiextensionsV1ServiceReference.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # ApiextensionsV1ServiceReference 4 | 5 | ServiceReference holds a reference to Service.legacy.k8s.io 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**name** | **String** | name is the name of the service. Required | | 12 | |**namespace** | **String** | namespace is the namespace of the service. Required | | 13 | |**path** | **String** | path is an optional URL path at which the webhook will be contacted. | [optional] | 14 | |**port** | **Integer** | port is an optional service port at which the webhook will be contacted. `port` should be a valid port number (1-65535, inclusive). Defaults to 443 for backward compatibility. | [optional] | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /kubernetes/docs/V1StatefulSetOrdinals.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1StatefulSetOrdinals 4 | 5 | StatefulSetOrdinals describes the policy used for replica ordinal assignment in this StatefulSet. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**start** | **Integer** | start is the number representing the first replica's index. It may be used to number replicas from an alternate index (eg: 1-indexed) over the default 0-indexed names, or to orchestrate progressive movement of replicas from one StatefulSet to another. If set, replica indices will be in the range: [.spec.ordinals.start, .spec.ordinals.start + .spec.replicas). If unset, defaults to 0. Replica indices will be in the range: [0, .spec.replicas). | [optional] | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /kubernetes/docs/V1alpha1Variable.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1alpha1Variable 4 | 5 | Variable is the definition of a variable that is used for composition. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**expression** | **String** | Expression is the expression that will be evaluated as the value of the variable. The CEL expression has access to the same identifiers as the CEL expressions in Validation. | | 12 | |**name** | **String** | Name is the name of the variable. The name must be a valid CEL identifier and unique among all variables. The variable can be accessed in other expressions through `variables` For example, if name is \"foo\", the variable will be available as `variables.foo` | | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1ComponentCondition.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1ComponentCondition 4 | 5 | Information about the condition of a component. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**error** | **String** | Condition error code for a component. For example, a health check error code. | [optional] | 12 | |**message** | **String** | Message about the condition for a component. For example, information about a health check. | [optional] | 13 | |**status** | **String** | Status of the condition for a component. Valid values for \"Healthy\": \"True\", \"False\", or \"Unknown\". | | 14 | |**type** | **String** | Type of condition for a component. Valid value: \"Healthy\" | | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /kubernetes/docs/V1SecretEnvSource.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1SecretEnvSource 4 | 5 | SecretEnvSource selects a Secret to populate the environment variables with. The contents of the target Secret's Data field will represent the key-value pairs as environment variables. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**name** | **String** | Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names | [optional] | 12 | |**optional** | **Boolean** | Specify whether the Secret must be defined | [optional] | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1VolumeMountStatus.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1VolumeMountStatus 4 | 5 | VolumeMountStatus shows status of volume mounts. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**mountPath** | **String** | MountPath corresponds to the original VolumeMount. | | 12 | |**name** | **String** | Name corresponds to the name of the original VolumeMount. | | 13 | |**readOnly** | **Boolean** | ReadOnly corresponds to the original VolumeMount. | [optional] | 14 | |**recursiveReadOnly** | **String** | RecursiveReadOnly must be set to Disabled, Enabled, or unspecified (for non-readonly mounts). An IfPossible value in the original VolumeMount must be translated to Disabled or Enabled, depending on the mount result. | [optional] | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /extended/src/main/java/io/kubernetes/client/extended/network/exception/NoAvailableAddressException.java: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2020 The Kubernetes Authors. 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | http://www.apache.org/licenses/LICENSE-2.0 7 | Unless required by applicable law or agreed to in writing, software 8 | distributed under the License is distributed on an "AS IS" BASIS, 9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 10 | See the License for the specific language governing permissions and 11 | limitations under the License. 12 | */ 13 | package io.kubernetes.client.extended.network.exception; 14 | 15 | public class NoAvailableAddressException extends Exception {} 16 | -------------------------------------------------------------------------------- /e2e/src/test/resources/test-statefulset-updated.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: apps/v1 2 | kind: StatefulSet 3 | metadata: 4 | name: web 5 | namespace: default 6 | spec: 7 | selector: 8 | matchLabels: 9 | app: nginx # has to match .spec.template.metadata.labels 10 | serviceName: "nginx" 11 | replicas: 3 # by default is 1 12 | template: 13 | metadata: 14 | labels: 15 | app: nginx # has to match .spec.selector.matchLabels 16 | spec: 17 | terminationGracePeriodSeconds: 10 18 | containers: 19 | - name: nginx 20 | image: k8s.gcr.io/nginx-slim:0.8 21 | ports: 22 | - containerPort: 80 23 | name: web 24 | - name: nginx-2 25 | image: k8s.gcr.io/nginx-slim:0.8 26 | ports: 27 | - containerPort: 80 28 | name: web -------------------------------------------------------------------------------- /kubernetes/docs/V2ResourceMetricSource.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V2ResourceMetricSource 4 | 5 | ResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source. Only one \"target\" type should be set. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**name** | **String** | name is the name of the resource in question. | | 12 | |**target** | [**V2MetricTarget**](V2MetricTarget.md) | | | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1AppArmorProfile.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1AppArmorProfile 4 | 5 | AppArmorProfile defines a pod or container's AppArmor settings. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**localhostProfile** | **String** | localhostProfile indicates a profile loaded on the node that should be used. The profile must be preconfigured on the node to work. Must match the loaded name of the profile. Must be set if and only if type is \"Localhost\". | [optional] | 12 | |**type** | **String** | type indicates which kind of AppArmor profile will be applied. Valid options are: Localhost - a profile pre-loaded on the node. RuntimeDefault - the container runtime's default profile. Unconfined - no AppArmor enforcement. | | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1ConfigMapEnvSource.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1ConfigMapEnvSource 4 | 5 | ConfigMapEnvSource selects a ConfigMap to populate the environment variables with. The contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**name** | **String** | Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names | [optional] | 12 | |**optional** | **Boolean** | Specify whether the ConfigMap must be defined | [optional] | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/EventsV1EventSeries.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # EventsV1EventSeries 4 | 5 | EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time. How often to update the EventSeries is up to the event reporters. The default event reporter in \"k8s.io/client-go/tools/events/event_broadcaster.go\" shows how this struct is updated on heartbeats and can guide customized reporter implementations. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**count** | **Integer** | count is the number of occurrences in this series up to the last heartbeat time. | | 12 | |**lastObservedTime** | **OffsetDateTime** | lastObservedTime is the time when last Event from the series was seen before last heartbeat. | | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1APIServiceCondition.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1APIServiceCondition 4 | 5 | APIServiceCondition describes the state of an APIService at a particular point 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**lastTransitionTime** | **OffsetDateTime** | Last time the condition transitioned from one status to another. | [optional] | 12 | |**message** | **String** | Human-readable message indicating details about last transition. | [optional] | 13 | |**reason** | **String** | Unique, one-word, CamelCase reason for the condition's last transition. | [optional] | 14 | |**status** | **String** | Status is the status of the condition. Can be True, False, Unknown. | | 15 | |**type** | **String** | Type is the type of the condition. | | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /kubernetes/docs/V1UserInfo.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1UserInfo 4 | 5 | UserInfo holds the information about the user needed to implement the user.Info interface. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**extra** | **Map<String, List<String>>** | Any additional information provided by the authenticator. | [optional] | 12 | |**groups** | **List<String>** | The names of groups this user is a part of. | [optional] | 13 | |**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] | 14 | |**username** | **String** | The name that uniquely identifies this user among all active users. | [optional] | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /kubernetes/docs/V1CustomResourceSubresources.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1CustomResourceSubresources 4 | 5 | CustomResourceSubresources defines the status and scale subresources for CustomResources. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**scale** | [**V1CustomResourceSubresourceScale**](V1CustomResourceSubresourceScale.md) | | [optional] | 12 | |**status** | **Object** | status indicates the custom resource should serve a `/status` subresource. When enabled: 1. requests to the custom resource primary endpoint ignore changes to the `status` stanza of the object. 2. requests to the custom resource `/status` subresource ignore changes to anything other than the `status` stanza of the object. | [optional] | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1Variable.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1Variable 4 | 5 | Variable is the definition of a variable that is used for composition. A variable is defined as a named expression. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**expression** | **String** | Expression is the expression that will be evaluated as the value of the variable. The CEL expression has access to the same identifiers as the CEL expressions in Validation. | | 12 | |**name** | **String** | Name is the name of the variable. The name must be a valid CEL identifier and unique among all variables. The variable can be accessed in other expressions through `variables` For example, if name is \"foo\", the variable will be available as `variables.foo` | | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1VolumeProjection.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1VolumeProjection 4 | 5 | Projection that may be projected along with other supported volume types. Exactly one of these fields must be set. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**clusterTrustBundle** | [**V1ClusterTrustBundleProjection**](V1ClusterTrustBundleProjection.md) | | [optional] | 12 | |**configMap** | [**V1ConfigMapProjection**](V1ConfigMapProjection.md) | | [optional] | 13 | |**downwardAPI** | [**V1DownwardAPIProjection**](V1DownwardAPIProjection.md) | | [optional] | 14 | |**secret** | [**V1SecretProjection**](V1SecretProjection.md) | | [optional] | 15 | |**serviceAccountToken** | [**V1ServiceAccountTokenProjection**](V1ServiceAccountTokenProjection.md) | | [optional] | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /kubernetes/docs/V1IPBlock.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1IPBlock 4 | 5 | IPBlock describes a particular CIDR (Ex. \"192.168.1.0/24\",\"2001:db8::/64\") that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs that should not be included within this rule. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**cidr** | **String** | cidr is a string representing the IPBlock Valid examples are \"192.168.1.0/24\" or \"2001:db8::/64\" | | 12 | |**except** | **List<String>** | except is a slice of CIDRs that should not be included within an IPBlock Valid examples are \"192.168.1.0/24\" or \"2001:db8::/64\" Except values will be rejected if they are outside the cidr range | [optional] | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1NFSVolumeSource.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1NFSVolumeSource 4 | 5 | Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**path** | **String** | path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs | | 12 | |**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] | 13 | |**server** | **String** | server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs | | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /kubernetes/docs/V1ReplicationControllerCondition.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1ReplicationControllerCondition 4 | 5 | ReplicationControllerCondition describes the state of a replication controller at a certain point. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**lastTransitionTime** | **OffsetDateTime** | The last time the condition transitioned from one status to another. | [optional] | 12 | |**message** | **String** | A human readable message indicating details about the transition. | [optional] | 13 | |**reason** | **String** | The reason for the condition's last transition. | [optional] | 14 | |**status** | **String** | Status of the condition, one of True, False, Unknown. | | 15 | |**type** | **String** | Type of replication controller condition. | | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /kubernetes/docs/V1beta1Variable.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1beta1Variable 4 | 5 | Variable is the definition of a variable that is used for composition. A variable is defined as a named expression. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**expression** | **String** | Expression is the expression that will be evaluated as the value of the variable. The CEL expression has access to the same identifiers as the CEL expressions in Validation. | | 12 | |**name** | **String** | Name is the name of the variable. The name must be a valid CEL identifier and unique among all variables. The variable can be accessed in other expressions through `variables` For example, if name is \"foo\", the variable will be available as `variables.foo` | | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /util/src/main/java/io/kubernetes/client/util/ApiInvocation.java: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2021 The Kubernetes Authors. 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | http://www.apache.org/licenses/LICENSE-2.0 7 | Unless required by applicable law or agreed to in writing, software 8 | distributed under the License is distributed on an "AS IS" BASIS, 9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 10 | See the License for the specific language governing permissions and 11 | limitations under the License. 12 | */ 13 | package io.kubernetes.client.util; 14 | 15 | import io.kubernetes.client.openapi.ApiException; 16 | 17 | public interface ApiInvocation { 18 | 19 | ApiType call() throws ApiException; 20 | } 21 | -------------------------------------------------------------------------------- /util/src/main/java/io/kubernetes/client/util/generic/options/DeleteOptions.java: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2020 The Kubernetes Authors. 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | http://www.apache.org/licenses/LICENSE-2.0 7 | Unless required by applicable law or agreed to in writing, software 8 | distributed under the License is distributed on an "AS IS" BASIS, 9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 10 | See the License for the specific language governing permissions and 11 | limitations under the License. 12 | */ 13 | package io.kubernetes.client.util.generic.options; 14 | 15 | import io.kubernetes.client.openapi.models.V1DeleteOptions; 16 | 17 | public class DeleteOptions extends V1DeleteOptions {} 18 | -------------------------------------------------------------------------------- /kubernetes/docs/AdmissionregistrationV1ServiceReference.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # AdmissionregistrationV1ServiceReference 4 | 5 | ServiceReference holds a reference to Service.legacy.k8s.io 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**name** | **String** | `name` is the name of the service. Required | | 12 | |**namespace** | **String** | `namespace` is the namespace of the service. Required | | 13 | |**path** | **String** | `path` is an optional URL path which will be sent in any request to this service. | [optional] | 14 | |**port** | **Integer** | If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive). | [optional] | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /kubernetes/docs/V1AzureFilePersistentVolumeSource.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1AzureFilePersistentVolumeSource 4 | 5 | AzureFile represents an Azure File Service mount on the host and bind mount to the pod. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**readOnly** | **Boolean** | readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. | [optional] | 12 | |**secretName** | **String** | secretName is the name of secret that contains Azure Storage Account Name and Key | | 13 | |**secretNamespace** | **String** | secretNamespace is the namespace of the secret that contains Azure Storage Account Name and Key default is the same as the Pod | [optional] | 14 | |**shareName** | **String** | shareName is the azure Share Name | | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /kubernetes/docs/V1JobCondition.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1JobCondition 4 | 5 | JobCondition describes current state of a job. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**lastProbeTime** | **OffsetDateTime** | Last time the condition was checked. | [optional] | 12 | |**lastTransitionTime** | **OffsetDateTime** | Last time the condition transit from one status to another. | [optional] | 13 | |**message** | **String** | Human readable message indicating details about last transition. | [optional] | 14 | |**reason** | **String** | (brief) reason for the condition's last transition. | [optional] | 15 | |**status** | **String** | Status of the condition, one of True, False, Unknown. | | 16 | |**type** | **String** | Type of job condition, Complete or Failed. | | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /util/src/main/java/io/kubernetes/client/util/exception/CSRSigningException.java: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2020 The Kubernetes Authors. 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | http://www.apache.org/licenses/LICENSE-2.0 7 | Unless required by applicable law or agreed to in writing, software 8 | distributed under the License is distributed on an "AS IS" BASIS, 9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 10 | See the License for the specific language governing permissions and 11 | limitations under the License. 12 | */ 13 | package io.kubernetes.client.util.exception; 14 | 15 | public class CSRSigningException extends Exception { 16 | public CSRSigningException(Exception e) { 17 | super(e); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /kubernetes/docs/V1IngressClassSpec.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1IngressClassSpec 4 | 5 | IngressClassSpec provides information about the class of an Ingress. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**controller** | **String** | controller refers to the name of the controller that should handle this class. This allows for different \"flavors\" that are controlled by the same controller. For example, you may have different parameters for the same implementing controller. This should be specified as a domain-prefixed path no more than 250 characters in length, e.g. \"acme.io/ingress-controller\". This field is immutable. | [optional] | 12 | |**parameters** | [**V1IngressClassParametersReference**](V1IngressClassParametersReference.md) | | [optional] | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/src/main/java/io/kubernetes/client/custom/QuantityFormatException.java: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2020 The Kubernetes Authors. 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | http://www.apache.org/licenses/LICENSE-2.0 7 | Unless required by applicable law or agreed to in writing, software 8 | distributed under the License is distributed on an "AS IS" BASIS, 9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 10 | See the License for the specific language governing permissions and 11 | limitations under the License. 12 | */ 13 | package io.kubernetes.client.custom; 14 | 15 | public class QuantityFormatException extends RuntimeException { 16 | public QuantityFormatException(String s) { 17 | super(s); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /extended/src/main/java/io/kubernetes/client/extended/network/LoadBalanceStrategy.java: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2020 The Kubernetes Authors. 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | http://www.apache.org/licenses/LICENSE-2.0 7 | Unless required by applicable law or agreed to in writing, software 8 | distributed under the License is distributed on an "AS IS" BASIS, 9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 10 | See the License for the specific language governing permissions and 11 | limitations under the License. 12 | */ 13 | package io.kubernetes.client.extended.network; 14 | 15 | import java.util.List; 16 | 17 | public interface LoadBalanceStrategy { 18 | 19 | String chooseIP(List ipCandidates); 20 | } 21 | -------------------------------------------------------------------------------- /kubernetes/docs/V1NodeCondition.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1NodeCondition 4 | 5 | NodeCondition contains condition information for a node. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**lastHeartbeatTime** | **OffsetDateTime** | Last time we got an update on a given condition. | [optional] | 12 | |**lastTransitionTime** | **OffsetDateTime** | Last time the condition transit from one status to another. | [optional] | 13 | |**message** | **String** | Human readable message indicating details about last transition. | [optional] | 14 | |**reason** | **String** | (brief) reason for the condition's last transition. | [optional] | 15 | |**status** | **String** | Status of the condition, one of True, False, Unknown. | | 16 | |**type** | **String** | Type of node condition. | | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /kubernetes/docs/V1PortStatus.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1PortStatus 4 | 5 | 6 | ## Properties 7 | 8 | | Name | Type | Description | Notes | 9 | |------------ | ------------- | ------------- | -------------| 10 | |**error** | **String** | Error is to record the problem with the service port The format of the error shall comply with the following rules: - built-in error values shall be specified in this file and those shall use CamelCase names - cloud provider specific error values must have names that comply with the format foo.example.com/CamelCase. | [optional] | 11 | |**port** | **Integer** | Port is the port number of the service port of which status is recorded here | | 12 | |**protocol** | **String** | Protocol is the protocol of the service port of which status is recorded here The supported values are: \"TCP\", \"UDP\", \"SCTP\" | | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /util/src/main/java/io/kubernetes/client/informer/exception/WatchExpiredException.java: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2021 The Kubernetes Authors. 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | http://www.apache.org/licenses/LICENSE-2.0 7 | Unless required by applicable law or agreed to in writing, software 8 | distributed under the License is distributed on an "AS IS" BASIS, 9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 10 | See the License for the specific language governing permissions and 11 | limitations under the License. 12 | */ 13 | package io.kubernetes.client.informer.exception; 14 | 15 | /** A ERROR watch item was returned due to stale resource version. */ 16 | public class WatchExpiredException extends RuntimeException {} 17 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Bug report 3 | about: Create a report to help us improve 4 | title: '' 5 | labels: '' 6 | assignees: '' 7 | 8 | --- 9 | 10 | **Describe the bug** 11 | A clear and concise description of what the bug is. 12 | 13 | **Client Version** 14 | e.g. `11.0.1` 15 | 16 | **Kubernetes Version** 17 | e.g. `1.19.3` 18 | 19 | **Java Version** 20 | e.g. Java 8 21 | 22 | **To Reproduce** 23 | Steps to reproduce the behavior: 24 | 25 | **Expected behavior** 26 | A clear and concise description of what you expected to happen. 27 | 28 | **KubeConfig** 29 | If applicable, add a KubeConfig file with secrets redacted. 30 | 31 | **Server (please complete the following information):** 32 | - OS: [e.g. Linux] 33 | - Environment [e.g. container] 34 | - Cloud [e.g. Azure] 35 | 36 | **Additional context** 37 | Add any other context about the problem here. 38 | -------------------------------------------------------------------------------- /kubernetes/docs/V1RollingUpdateDeployment.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1RollingUpdateDeployment 4 | 5 | Spec to control the desired behavior of rolling update. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**maxSurge** | **IntOrString** | IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number. | [optional] | 12 | |**maxUnavailable** | **IntOrString** | IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number. | [optional] | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1FieldSelectorRequirement.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1FieldSelectorRequirement 4 | 5 | FieldSelectorRequirement is a selector that contains values, a key, and an operator that relates the key and values. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**key** | **String** | key is the field selector key that the requirement applies to. | | 12 | |**operator** | **String** | operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. The list of operators may grow in the future. | | 13 | |**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. | [optional] | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /kubernetes/docs/V1LabelSelectorRequirement.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1LabelSelectorRequirement 4 | 5 | A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**key** | **String** | key is the label key that the selector applies to. | | 12 | |**operator** | **String** | operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. | | 13 | |**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] | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /kubernetes/docs/V1RollingUpdateDaemonSet.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1RollingUpdateDaemonSet 4 | 5 | Spec to control the desired behavior of daemon set rolling update. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**maxSurge** | **IntOrString** | IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number. | [optional] | 12 | |**maxUnavailable** | **IntOrString** | IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number. | [optional] | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V2ContainerResourceMetricStatus.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V2ContainerResourceMetricStatus 4 | 5 | ContainerResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing a single container in each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**container** | **String** | container is the name of the container in the pods of the scaling target | | 12 | |**current** | [**V2MetricValueStatus**](V2MetricValueStatus.md) | | | 13 | |**name** | **String** | name is the name of the resource in question. | | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /kubernetes/docs/V1PersistentVolumeClaimVolumeSource.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1PersistentVolumeClaimVolumeSource 4 | 5 | PersistentVolumeClaimVolumeSource references the user's PVC in the same namespace. This volume finds the bound PV and mounts that volume for the pod. A PersistentVolumeClaimVolumeSource is, essentially, a wrapper around another type of volume that is owned by someone else (the system). 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**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 | | 12 | |**readOnly** | **Boolean** | readOnly Will force the ReadOnly setting in VolumeMounts. Default false. | [optional] | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /kubernetes/docs/V1SuccessPolicy.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1SuccessPolicy 4 | 5 | SuccessPolicy describes when a Job can be declared as succeeded based on the success of some indexes. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**rules** | [**List<V1SuccessPolicyRule>**](V1SuccessPolicyRule.md) | rules represents the list of alternative rules for the declaring the Jobs as successful before `.status.succeeded >= .spec.completions`. Once any of the rules are met, the \"SucceededCriteriaMet\" condition is added, and the lingering pods are removed. The terminal state for such a Job has the \"Complete\" condition. Additionally, these rules are evaluated in order; Once the Job meets one of the rules, other rules are ignored. At most 20 elements are allowed. | | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /kubernetes/docs/V1IngressPortStatus.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1IngressPortStatus 4 | 5 | IngressPortStatus represents the error condition of a service port 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**error** | **String** | error is to record the problem with the service port The format of the error shall comply with the following rules: - built-in error values shall be specified in this file and those shall use CamelCase names - cloud provider specific error values must have names that comply with the format foo.example.com/CamelCase. | [optional] | 12 | |**port** | **Integer** | port is the port number of the ingress port. | | 13 | |**protocol** | **String** | protocol is the protocol of the ingress port. The supported values are: \"TCP\", \"UDP\", \"SCTP\" | | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /kubernetes/docs/V1alpha3PodSchedulingContextSpec.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1alpha3PodSchedulingContextSpec 4 | 5 | PodSchedulingContextSpec describes where resources for the Pod are needed. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**potentialNodes** | **List<String>** | PotentialNodes lists nodes where the Pod might be able to run. The size of this field is limited to 128. This is large enough for many clusters. Larger clusters may need more attempts to find a node that suits all pending resources. This may get increased in the future, but not reduced. | [optional] | 12 | |**selectedNode** | **String** | SelectedNode is the node for which allocation of ResourceClaims that are referenced by the Pod and that use \"WaitForFirstConsumer\" allocation is to be attempted. | [optional] | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /util/src/main/java/io/kubernetes/client/util/exception/TypeMetaReflectException.java: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2020 The Kubernetes Authors. 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | http://www.apache.org/licenses/LICENSE-2.0 7 | Unless required by applicable law or agreed to in writing, software 8 | distributed under the License is distributed on an "AS IS" BASIS, 9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 10 | See the License for the specific language governing permissions and 11 | limitations under the License. 12 | */ 13 | package io.kubernetes.client.util.exception; 14 | 15 | public class TypeMetaReflectException extends Exception { 16 | public TypeMetaReflectException(ReflectiveOperationException e) { 17 | super(e); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /kubernetes/docs/V1DeploymentCondition.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # V1DeploymentCondition 4 | 5 | DeploymentCondition describes the state of a deployment at a certain point. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Notes | 10 | |------------ | ------------- | ------------- | -------------| 11 | |**lastTransitionTime** | **OffsetDateTime** | Last time the condition transitioned from one status to another. | [optional] | 12 | |**lastUpdateTime** | **OffsetDateTime** | The last time this condition was updated. | [optional] | 13 | |**message** | **String** | A human readable message indicating details about the transition. | [optional] | 14 | |**reason** | **String** | The reason for the condition's last transition. | [optional] | 15 | |**status** | **String** | Status of the condition, one of True, False, Unknown. | | 16 | |**type** | **String** | Type of deployment condition. | | 17 | 18 | 19 | 20 | --------------------------------------------------------------------------------