Skip to content

Latest commit

 

History

History
170 lines (108 loc) · 4.62 KB

DeploymentAPI.md

File metadata and controls

170 lines (108 loc) · 4.62 KB

\DeploymentAPI

All URIs are relative to http://localhost

Method HTTP request Description
HandleDeploymentLogsRequest Get /deployment/logs
HandleDeploymentStatusRequest Get /deployment/status

HandleDeploymentLogsRequest

string HandleDeploymentLogsRequest(ctx, organization, cluster, project, environment, version).Execute()

Example

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 | 
	project := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | 
	environment := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | 
	version := "version_example" // string | 

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	resp, r, err := apiClient.DeploymentAPI.HandleDeploymentLogsRequest(context.Background(), organization, cluster, project, environment, version).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `DeploymentAPI.HandleDeploymentLogsRequest``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
	// response from `HandleDeploymentLogsRequest`: string
	fmt.Fprintf(os.Stdout, "Response from `DeploymentAPI.HandleDeploymentLogsRequest`: %v\n", resp)
}

Path Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
organization string
cluster string
project string
environment string
version string

Other Parameters

Other parameters are passed through a pointer to a apiHandleDeploymentLogsRequestRequest struct via the builder pattern

Name Type Description Notes

Return type

string

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: text/plain

[Back to top] [Back to API list] [Back to Model list] [Back to README]

HandleDeploymentStatusRequest

string HandleDeploymentStatusRequest(ctx, organization, cluster, project, environment, version).Execute()

Example

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 | 
	project := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | 
	environment := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | 
	version := "version_example" // string | 

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	resp, r, err := apiClient.DeploymentAPI.HandleDeploymentStatusRequest(context.Background(), organization, cluster, project, environment, version).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `DeploymentAPI.HandleDeploymentStatusRequest``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
	// response from `HandleDeploymentStatusRequest`: string
	fmt.Fprintf(os.Stdout, "Response from `DeploymentAPI.HandleDeploymentStatusRequest`: %v\n", resp)
}

Path Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
organization string
cluster string
project string
environment string
version string

Other Parameters

Other parameters are passed through a pointer to a apiHandleDeploymentStatusRequestRequest struct via the builder pattern

Name Type Description Notes

Return type

string

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: text/plain

[Back to top] [Back to API list] [Back to Model list] [Back to README]