How to use argo-rollouts apiClient #2799
Unanswered
JuozasVainauskas
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Did you find any answers to this @JuozasVainauskas ? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I want to use argo-rollout apiClient to interact with argo-rollouts resources from my Golang application (in this case,
promote
rollout in certain scenarios). However, I am not entirely sure how to use argo-rollouts apiClient.For example, in ArgoCD and argo-workflows cases I am able to use
pkg/apiclient/apiclient.go
to create clients for particular resources (e.g. ApplicationClient, WorkflowServiceClient, etc.)In argo-rollouts case, I want to create RolloutServiceClient. However,
pkg/apiclient/apiclient.go
file for creation of the client is not present in the package. I assume that this file should be available in the package and that this is a bug (If this is the case, I will create an issue). However, if I am mistaken and it is indeed intentional, how should I create aRolloutServiceClient
?Beta Was this translation helpful? Give feedback.
All reactions