You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by JuozasVainauskas May 22, 2023
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.
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 a RolloutServiceClient?
As described in the discussion above, I want to user argo-rollouts apiClient. However, I think that pkg/apiclient/apiclient.go is missing. I assume that it was forgotten to be included in this PR: #1015
The text was updated successfully, but these errors were encountered:
@JuozasVainauskas argo rollouts does not have an api, it just uses the k8s api to modify particular fields on the rollouts spec. You can look at what the cli is currently doing to get an understanding of what to modify such as promote
Discussed in #2799
Originally posted by JuozasVainauskas May 22, 2023
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
?As described in the discussion above, I want to user argo-rollouts apiClient. However, I think that pkg/apiclient/apiclient.go is missing. I assume that it was forgotten to be included in this PR: #1015
The text was updated successfully, but these errors were encountered: