All URIs are relative to https://api.qovery.com
| Method | HTTP request | Description |
|---|---|---|
| CheckArgoCdConnection | Post /cluster/{clusterId}/argoCdConfig/check | Check ArgoCD connection |
| DeleteArgoCdCredentials | Delete /cluster/{clusterId}/argoCdConfig | Delete ArgoCD credentials for a cluster |
| DeleteArgoCdDestinationClusterMapping | Delete /organization/{organizationId}/argoCdDestinationClusterMapping | Delete an ArgoCD destination cluster mapping |
| GetArgoCdApp | Get /argocdApp/{argocdAppId} | Get ArgoCD app by ID |
| GetArgoCdAppManifest | Get /argocdApp/{argocdAppId}/manifest | Get ArgoCD app manifest enrichment |
| GetArgoCdAssociatedServices | Get /cluster/{clusterId}/argocdApps/associatedServices | Get ArgoCD associated services for a cluster |
| GetArgoCdCredentials | Get /cluster/{clusterId}/argoCdConfig | Get ArgoCD credentials for a cluster |
| ListArgoCdDestinationClusterMappings | Get /organization/{organizationId}/argoCdDestinationClusterMapping | List ArgoCD instance mappings for an organization |
| SaveArgoCdCredentials | Post /cluster/{clusterId}/argoCdConfig | Save ArgoCD credentials for a cluster |
| SaveArgoCdDestinationClusterMapping | Post /organization/{organizationId}/argoCdDestinationClusterMapping | Save an ArgoCD destination cluster mapping |
ArgoCdConnectionCheckResponse CheckArgoCdConnection(ctx, clusterId).ArgoCdCredentialsRequest(argoCdCredentialsRequest).Execute()
Check ArgoCD connection
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/qovery/qovery-client-go"
)
func main() {
clusterId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Cluster ID
argoCdCredentialsRequest := *openapiclient.NewArgoCdCredentialsRequest("https://argocd.example.com", "ArgocdToken_example") // ArgoCdCredentialsRequest |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ArgoCDAPI.CheckArgoCdConnection(context.Background(), clusterId).ArgoCdCredentialsRequest(argoCdCredentialsRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ArgoCDAPI.CheckArgoCdConnection``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `CheckArgoCdConnection`: ArgoCdConnectionCheckResponse
fmt.Fprintf(os.Stdout, "Response from `ArgoCDAPI.CheckArgoCdConnection`: %v\n", resp)
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| clusterId | string | Cluster ID |
Other parameters are passed through a pointer to a apiCheckArgoCdConnectionRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|
argoCdCredentialsRequest | ArgoCdCredentialsRequest | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DeleteArgoCdCredentials(ctx, clusterId).Execute()
Delete ArgoCD credentials for a cluster
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/qovery/qovery-client-go"
)
func main() {
clusterId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Cluster ID
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
r, err := apiClient.ArgoCDAPI.DeleteArgoCdCredentials(context.Background(), clusterId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ArgoCDAPI.DeleteArgoCdCredentials``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| clusterId | string | Cluster ID |
Other parameters are passed through a pointer to a apiDeleteArgoCdCredentialsRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DeleteArgoCdDestinationClusterMapping(ctx, organizationId).AgentClusterId(agentClusterId).ArgocdClusterUrl(argocdClusterUrl).Execute()
Delete an ArgoCD destination cluster mapping
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/qovery/qovery-client-go"
)
func main() {
organizationId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Organization ID
agentClusterId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | ID of the Qovery cluster where the ArgoCD instance is running
argocdClusterUrl := "https://kubernetes.default.svc" // string | ArgoCD destination cluster URL as reported by ArgoCD
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
r, err := apiClient.ArgoCDAPI.DeleteArgoCdDestinationClusterMapping(context.Background(), organizationId).AgentClusterId(agentClusterId).ArgocdClusterUrl(argocdClusterUrl).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ArgoCDAPI.DeleteArgoCdDestinationClusterMapping``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| organizationId | string | Organization ID |
Other parameters are passed through a pointer to a apiDeleteArgoCdDestinationClusterMappingRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|
agentClusterId | string | ID of the Qovery cluster where the ArgoCD instance is running | argocdClusterUrl | string | ArgoCD destination cluster URL as reported by ArgoCD |
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ArgocdAppResponse GetArgoCdApp(ctx, argocdAppId).Execute()
Get ArgoCD app by ID
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/qovery/qovery-client-go"
)
func main() {
argocdAppId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | ArgoCD App ID
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ArgoCDAPI.GetArgoCdApp(context.Background(), argocdAppId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ArgoCDAPI.GetArgoCdApp``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetArgoCdApp`: ArgocdAppResponse
fmt.Fprintf(os.Stdout, "Response from `ArgoCDAPI.GetArgoCdApp`: %v\n", resp)
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| argocdAppId | string | ArgoCD App ID |
Other parameters are passed through a pointer to a apiGetArgoCdAppRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ArgocdAppManifestResponse GetArgoCdAppManifest(ctx, argocdAppId).Execute()
Get ArgoCD app manifest enrichment
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/qovery/qovery-client-go"
)
func main() {
argocdAppId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | ArgoCD App ID
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ArgoCDAPI.GetArgoCdAppManifest(context.Background(), argocdAppId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ArgoCDAPI.GetArgoCdAppManifest``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetArgoCdAppManifest`: ArgocdAppManifestResponse
fmt.Fprintf(os.Stdout, "Response from `ArgoCDAPI.GetArgoCdAppManifest`: %v\n", resp)
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| argocdAppId | string | ArgoCD App ID |
Other parameters are passed through a pointer to a apiGetArgoCdAppManifestRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ArgocdAssociatedServicesResponseList GetArgoCdAssociatedServices(ctx, clusterId).Execute()
Get ArgoCD associated services for a cluster
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/qovery/qovery-client-go"
)
func main() {
clusterId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Cluster ID
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ArgoCDAPI.GetArgoCdAssociatedServices(context.Background(), clusterId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ArgoCDAPI.GetArgoCdAssociatedServices``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetArgoCdAssociatedServices`: ArgocdAssociatedServicesResponseList
fmt.Fprintf(os.Stdout, "Response from `ArgoCDAPI.GetArgoCdAssociatedServices`: %v\n", resp)
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| clusterId | string | Cluster ID |
Other parameters are passed through a pointer to a apiGetArgoCdAssociatedServicesRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|
ArgocdAssociatedServicesResponseList
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ArgoCdCredentialsResponse GetArgoCdCredentials(ctx, clusterId).Execute()
Get ArgoCD credentials for a cluster
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/qovery/qovery-client-go"
)
func main() {
clusterId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Cluster ID
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ArgoCDAPI.GetArgoCdCredentials(context.Background(), clusterId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ArgoCDAPI.GetArgoCdCredentials``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetArgoCdCredentials`: ArgoCdCredentialsResponse
fmt.Fprintf(os.Stdout, "Response from `ArgoCDAPI.GetArgoCdCredentials`: %v\n", resp)
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| clusterId | string | Cluster ID |
Other parameters are passed through a pointer to a apiGetArgoCdCredentialsRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ArgoCdInstanceMappingResponseList ListArgoCdDestinationClusterMappings(ctx, organizationId).Execute()
List ArgoCD instance mappings for an organization
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/qovery/qovery-client-go"
)
func main() {
organizationId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Organization ID
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ArgoCDAPI.ListArgoCdDestinationClusterMappings(context.Background(), organizationId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ArgoCDAPI.ListArgoCdDestinationClusterMappings``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ListArgoCdDestinationClusterMappings`: ArgoCdInstanceMappingResponseList
fmt.Fprintf(os.Stdout, "Response from `ArgoCDAPI.ListArgoCdDestinationClusterMappings`: %v\n", resp)
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| organizationId | string | Organization ID |
Other parameters are passed through a pointer to a apiListArgoCdDestinationClusterMappingsRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|
ArgoCdInstanceMappingResponseList
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ArgoCdCredentialsResponse SaveArgoCdCredentials(ctx, clusterId).ArgoCdCredentialsRequest(argoCdCredentialsRequest).Execute()
Save ArgoCD credentials for a cluster
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/qovery/qovery-client-go"
)
func main() {
clusterId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Cluster ID
argoCdCredentialsRequest := *openapiclient.NewArgoCdCredentialsRequest("https://argocd.example.com", "ArgocdToken_example") // ArgoCdCredentialsRequest |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ArgoCDAPI.SaveArgoCdCredentials(context.Background(), clusterId).ArgoCdCredentialsRequest(argoCdCredentialsRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ArgoCDAPI.SaveArgoCdCredentials``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `SaveArgoCdCredentials`: ArgoCdCredentialsResponse
fmt.Fprintf(os.Stdout, "Response from `ArgoCDAPI.SaveArgoCdCredentials`: %v\n", resp)
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| clusterId | string | Cluster ID |
Other parameters are passed through a pointer to a apiSaveArgoCdCredentialsRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|
argoCdCredentialsRequest | ArgoCdCredentialsRequest | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ArgoCdDestinationClusterMappingResponse SaveArgoCdDestinationClusterMapping(ctx, organizationId).ArgoCdDestinationClusterMappingRequest(argoCdDestinationClusterMappingRequest).Execute()
Save an ArgoCD destination cluster mapping
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/qovery/qovery-client-go"
)
func main() {
organizationId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Organization ID
argoCdDestinationClusterMappingRequest := *openapiclient.NewArgoCdDestinationClusterMappingRequest("AgentClusterId_example", "https://kubernetes.default.svc", "ClusterId_example") // ArgoCdDestinationClusterMappingRequest |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ArgoCDAPI.SaveArgoCdDestinationClusterMapping(context.Background(), organizationId).ArgoCdDestinationClusterMappingRequest(argoCdDestinationClusterMappingRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ArgoCDAPI.SaveArgoCdDestinationClusterMapping``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `SaveArgoCdDestinationClusterMapping`: ArgoCdDestinationClusterMappingResponse
fmt.Fprintf(os.Stdout, "Response from `ArgoCDAPI.SaveArgoCdDestinationClusterMapping`: %v\n", resp)
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| organizationId | string | Organization ID |
Other parameters are passed through a pointer to a apiSaveArgoCdDestinationClusterMappingRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|
argoCdDestinationClusterMappingRequest | ArgoCdDestinationClusterMappingRequest | |
ArgoCdDestinationClusterMappingResponse
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]