In Velero version 1.16, how can I interact with Velero programmatically using Golang code? #8912
Unanswered
cszixin
asked this question in
Community support Q&A
Replies: 1 comment 2 replies
-
|
Please use the controller-runtime unstructured client. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In Velero 1.14.1, I could use something like vclientSet "github.com/vmware-tanzu/velero/pkg/generated/clientset/versioned" to get Velero's clientset. However, in newer versions of Velero, the clientset is no longer auto-generated. In this case, how should I handle it? Could you provide an example? I want to upgrade from 1.14.1 to 1.16 but don’t want my code to change too much, especially the parts that interact with Velero.
Beta Was this translation helpful? Give feedback.
All reactions