All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
HandleClusterStatusRequest | Get /cluster/status |
ClusterStatusDto HandleClusterStatusRequest(ctx, organization, cluster).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/qovery/qovery-client-ws-go"
)
func main() {
organization := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
cluster := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ClusterStatusAPI.HandleClusterStatusRequest(context.Background(), organization, cluster).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ClusterStatusAPI.HandleClusterStatusRequest``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `HandleClusterStatusRequest`: ClusterStatusDto
fmt.Fprintf(os.Stdout, "Response from `ClusterStatusAPI.HandleClusterStatusRequest`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
organization | string | ||
cluster | string |
Other parameters are passed through a pointer to a apiHandleClusterStatusRequestRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]