Skip to content

Latest commit

 

History

History
152 lines (96 loc) · 4.55 KB

HelmDeploymentHistoryAPI.md

File metadata and controls

152 lines (96 loc) · 4.55 KB

\HelmDeploymentHistoryAPI

All URIs are relative to https://api.qovery.com

Method HTTP request Description
ListHelmDeploymentHistory Get /helm/{helmId}/deploymentHistory List helm deployments
ListHelmDeploymentHistoryV2 Get /helm/{helmId}/deploymentHistoryV2 List helm deployments

ListHelmDeploymentHistory

ListHelmDeploymentHistory200Response ListHelmDeploymentHistory(ctx, helmId).Execute()

List helm deployments

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/qovery/qovery-client-go"
)

func main() {
	helmId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Helm ID

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	resp, r, err := apiClient.HelmDeploymentHistoryAPI.ListHelmDeploymentHistory(context.Background(), helmId).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `HelmDeploymentHistoryAPI.ListHelmDeploymentHistory``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
	// response from `ListHelmDeploymentHistory`: ListHelmDeploymentHistory200Response
	fmt.Fprintf(os.Stdout, "Response from `HelmDeploymentHistoryAPI.ListHelmDeploymentHistory`: %v\n", resp)
}

Path Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
helmId string Helm ID

Other Parameters

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

Name Type Description Notes

Return type

ListHelmDeploymentHistory200Response

Authorization

ApiKeyAuth, bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

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

ListHelmDeploymentHistoryV2

DeploymentHistoryServicePaginatedResponseListV2 ListHelmDeploymentHistoryV2(ctx, helmId).PageSize(pageSize).Execute()

List helm deployments

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/qovery/qovery-client-go"
)

func main() {
	helmId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | 
	pageSize := float32(8.14) // float32 | The number of deployments to return in the current page (optional) (default to 20)

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	resp, r, err := apiClient.HelmDeploymentHistoryAPI.ListHelmDeploymentHistoryV2(context.Background(), helmId).PageSize(pageSize).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `HelmDeploymentHistoryAPI.ListHelmDeploymentHistoryV2``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
	// response from `ListHelmDeploymentHistoryV2`: DeploymentHistoryServicePaginatedResponseListV2
	fmt.Fprintf(os.Stdout, "Response from `HelmDeploymentHistoryAPI.ListHelmDeploymentHistoryV2`: %v\n", resp)
}

Path Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
helmId string

Other Parameters

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

Name Type Description Notes

pageSize | float32 | The number of deployments to return in the current page | [default to 20]

Return type

DeploymentHistoryServicePaginatedResponseListV2

Authorization

ApiKeyAuth, bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

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