java icon indicating copy to clipboard operation
java copied to clipboard

io.kubernetes.client-java:14.0.0 missing V1PodBuilder

Open Delovelyeleven opened this issue 3 years ago • 5 comments

Describe the bug io.kubernetes.client-java:14.0.0 missing V1PodBuilder

Client Version 14.0.0

Kubernetes Version 1.21

Java Version Java 8

Delovelyeleven avatar Feb 28 '22 06:02 Delovelyeleven

V1PodBuilder is located here: https://github.com/kubernetes-client/java/blob/client-java-parent-14.0.0/fluent/src/main/java/io/kubernetes/client/openapi/models/V1PodBuilder.java

wideocean avatar Feb 28 '22 19:02 wideocean

I am facing the same issue with V1ObjectMetaBuilder; Jar file downloaded by maven doesn't have this. I get below error The import io.kubernetes.client.openapi.models.V1ObjectMetaBuilder cannot be resolved

Do we need to import from a different package?

VikasChoataHP avatar Mar 24 '22 09:03 VikasChoataHP

@VikasChoata88 yup, all .*Builder classes got removed

  • https://javadoc.io/static/io.kubernetes/client-java-api/12.0.2/allclasses-noframe.html
  • https://javadoc.io/static/io.kubernetes/client-java-api/14.0.1/allclasses-noframe.html

something like:

-                    new V1ObjectMetaBuilder()
-                            .withAnnotations([(K8sMetadataFactory.SOME_LABEL): "0.0.1"])
-                            .build()
+                    new V1ObjectMeta()
+                            .annotations([(K8sMetadataFactory.SOME_LABEL): "0.0.1"])

should be enough.

ojagodzinski avatar Apr 12 '22 14:04 ojagodzinski

The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle stale
  • Mark this issue or PR as rotten with /lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

k8s-triage-robot avatar Jul 11 '22 16:07 k8s-triage-robot

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle rotten

k8s-triage-robot avatar Aug 10 '22 17:08 k8s-triage-robot

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Reopen this issue or PR with /reopen
  • Mark this issue or PR as fresh with /remove-lifecycle rotten
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/close

k8s-triage-robot avatar Sep 09 '22 17:09 k8s-triage-robot

@k8s-triage-robot: Closing this issue.

In response to this:

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Reopen this issue or PR with /reopen
  • Mark this issue or PR as fresh with /remove-lifecycle rotten
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

k8s-ci-robot avatar Sep 09 '22 17:09 k8s-ci-robot