All URIs are relative to https://api.qovery.com
Method | HTTP request | Description |
---|---|---|
CreateHelmRepository | Post /organization/{organizationId}/helmRepository | Create a helm repository |
DeleteHelmRepository | Delete /organization/{organizationId}/helmRepository/{helmRepositoryId} | Delete a helm repository |
EditHelmRepository | Put /organization/{organizationId}/helmRepository/{helmRepositoryId} | Edit a helm repository |
GetHelmCharts | Get /organization/{organizationId}/helmRepository/{helmRepositoryId}/charts | List helm charts contained inside the repository |
GetHelmRepository | Get /organization/{organizationId}/helmRepository/{helmRepositoryId} | Get a helm repository |
ListAvailableHelmRepository | Get /availableHelmRepository | List supported helm repository |
ListHelmRepository | Get /organization/{organizationId}/helmRepository | List organization helm repositories |
HelmRepositoryResponse CreateHelmRepository(ctx, organizationId).HelmRepositoryRequest(helmRepositoryRequest).Execute()
Create a helm repository
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/qovery/qovery-client-go"
)
func main() {
organizationId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Organization ID
helmRepositoryRequest := *openapiclient.NewHelmRepositoryRequest("Name_example", openapiclient.HelmRepositoryKindEnum("HTTPS"), false, *openapiclient.NewHelmRepositoryRequestConfig()) // HelmRepositoryRequest | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.HelmRepositoriesAPI.CreateHelmRepository(context.Background(), organizationId).HelmRepositoryRequest(helmRepositoryRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `HelmRepositoriesAPI.CreateHelmRepository``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `CreateHelmRepository`: HelmRepositoryResponse
fmt.Fprintf(os.Stdout, "Response from `HelmRepositoriesAPI.CreateHelmRepository`: %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 apiCreateHelmRepositoryRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
helmRepositoryRequest | HelmRepositoryRequest | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DeleteHelmRepository(ctx, organizationId, helmRepositoryId).Execute()
Delete a helm repository
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/qovery/qovery-client-go"
)
func main() {
organizationId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Organization ID
helmRepositoryId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Helm chart repository ID
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
r, err := apiClient.HelmRepositoriesAPI.DeleteHelmRepository(context.Background(), organizationId, helmRepositoryId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `HelmRepositoriesAPI.DeleteHelmRepository``: %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 | |
helmRepositoryId | string | Helm chart repository ID |
Other parameters are passed through a pointer to a apiDeleteHelmRepositoryRequest 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]
HelmRepositoryResponse EditHelmRepository(ctx, organizationId, helmRepositoryId).HelmRepositoryRequest(helmRepositoryRequest).Execute()
Edit a helm repository
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/qovery/qovery-client-go"
)
func main() {
organizationId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Organization ID
helmRepositoryId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Helm chart repository ID
helmRepositoryRequest := *openapiclient.NewHelmRepositoryRequest("Name_example", openapiclient.HelmRepositoryKindEnum("HTTPS"), false, *openapiclient.NewHelmRepositoryRequestConfig()) // HelmRepositoryRequest | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.HelmRepositoriesAPI.EditHelmRepository(context.Background(), organizationId, helmRepositoryId).HelmRepositoryRequest(helmRepositoryRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `HelmRepositoriesAPI.EditHelmRepository``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `EditHelmRepository`: HelmRepositoryResponse
fmt.Fprintf(os.Stdout, "Response from `HelmRepositoriesAPI.EditHelmRepository`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
organizationId | string | Organization ID | |
helmRepositoryId | string | Helm chart repository ID |
Other parameters are passed through a pointer to a apiEditHelmRepositoryRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
helmRepositoryRequest | HelmRepositoryRequest | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
HelmVersionResponseList GetHelmCharts(ctx, organizationId, helmRepositoryId).ChartName(chartName).Execute()
List helm charts contained inside the repository
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/qovery/qovery-client-go"
)
func main() {
organizationId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Organization ID
helmRepositoryId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Helm chart repository ID
chartName := "chartName_example" // string | Helm chart name to filter the result on (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.HelmRepositoriesAPI.GetHelmCharts(context.Background(), organizationId, helmRepositoryId).ChartName(chartName).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `HelmRepositoriesAPI.GetHelmCharts``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetHelmCharts`: HelmVersionResponseList
fmt.Fprintf(os.Stdout, "Response from `HelmRepositoriesAPI.GetHelmCharts`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
organizationId | string | Organization ID | |
helmRepositoryId | string | Helm chart repository ID |
Other parameters are passed through a pointer to a apiGetHelmChartsRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
chartName | string | Helm chart name to filter the result on |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
HelmRepositoryResponse GetHelmRepository(ctx, organizationId, helmRepositoryId).Execute()
Get a helm repository
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/qovery/qovery-client-go"
)
func main() {
organizationId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Organization ID
helmRepositoryId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Helm chart repository ID
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.HelmRepositoriesAPI.GetHelmRepository(context.Background(), organizationId, helmRepositoryId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `HelmRepositoriesAPI.GetHelmRepository``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetHelmRepository`: HelmRepositoryResponse
fmt.Fprintf(os.Stdout, "Response from `HelmRepositoriesAPI.GetHelmRepository`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
organizationId | string | Organization ID | |
helmRepositoryId | string | Helm chart repository ID |
Other parameters are passed through a pointer to a apiGetHelmRepositoryRequest 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]
AvailableHelmRepositoryResponseList ListAvailableHelmRepository(ctx).Execute()
List supported helm repository
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/qovery/qovery-client-go"
)
func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.HelmRepositoriesAPI.ListAvailableHelmRepository(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `HelmRepositoriesAPI.ListAvailableHelmRepository``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ListAvailableHelmRepository`: AvailableHelmRepositoryResponseList
fmt.Fprintf(os.Stdout, "Response from `HelmRepositoriesAPI.ListAvailableHelmRepository`: %v\n", resp)
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiListAvailableHelmRepositoryRequest struct via the builder pattern
AvailableHelmRepositoryResponseList
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
HelmRepositoryResponseList ListHelmRepository(ctx, organizationId).Execute()
List organization helm repositories
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.HelmRepositoriesAPI.ListHelmRepository(context.Background(), organizationId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `HelmRepositoriesAPI.ListHelmRepository``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ListHelmRepository`: HelmRepositoryResponseList
fmt.Fprintf(os.Stdout, "Response from `HelmRepositoriesAPI.ListHelmRepository`: %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 apiListHelmRepositoryRequest 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]