All URIs are relative to https://api.qovery.com
Method | HTTP request | Description |
---|---|---|
CheckHelmCustomDomain | Get /helm/{helmId}/checkCustomDomain | Check Helm Custom Domain |
CreateHelmCustomDomain | Post /helm/{helmId}/customDomain | Add custom domain to the helm. |
DeleteHelmCustomDomain | Delete /helm/{helmId}/customDomain/{customDomainId} | Delete a Custom Domain |
EditHelmCustomDomain | Put /helm/{helmId}/customDomain/{customDomainId} | Edit a Custom Domain |
GetHelmCustomDomain | Get /helm/{helmId}/customDomain/{customDomainId} | Get a Custom Domain |
ListHelmCustomDomain | Get /helm/{helmId}/customDomain | List helm custom domains |
CheckedCustomDomainsResponse CheckHelmCustomDomain(ctx, helmId).Execute()
Check Helm Custom Domain
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.HelmCustomDomainAPI.CheckHelmCustomDomain(context.Background(), helmId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `HelmCustomDomainAPI.CheckHelmCustomDomain``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `CheckHelmCustomDomain`: CheckedCustomDomainsResponse
fmt.Fprintf(os.Stdout, "Response from `HelmCustomDomainAPI.CheckHelmCustomDomain`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
helmId | string | Helm ID |
Other parameters are passed through a pointer to a apiCheckHelmCustomDomainRequest 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]
CustomDomain CreateHelmCustomDomain(ctx, helmId).CustomDomainRequest(customDomainRequest).Execute()
Add custom domain to the helm.
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/qovery/qovery-client-go"
)
func main() {
helmId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Helm ID
customDomainRequest := *openapiclient.NewCustomDomainRequest("my.domain.tld", false) // CustomDomainRequest | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.HelmCustomDomainAPI.CreateHelmCustomDomain(context.Background(), helmId).CustomDomainRequest(customDomainRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `HelmCustomDomainAPI.CreateHelmCustomDomain``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `CreateHelmCustomDomain`: CustomDomain
fmt.Fprintf(os.Stdout, "Response from `HelmCustomDomainAPI.CreateHelmCustomDomain`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
helmId | string | Helm ID |
Other parameters are passed through a pointer to a apiCreateHelmCustomDomainRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
customDomainRequest | CustomDomainRequest | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DeleteHelmCustomDomain(ctx, helmId, customDomainId).Execute()
Delete a Custom Domain
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/qovery/qovery-client-go"
)
func main() {
helmId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Helm ID
customDomainId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Custom Domain ID
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
r, err := apiClient.HelmCustomDomainAPI.DeleteHelmCustomDomain(context.Background(), helmId, customDomainId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `HelmCustomDomainAPI.DeleteHelmCustomDomain``: %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. | |
helmId | string | Helm ID | |
customDomainId | string | Custom Domain ID |
Other parameters are passed through a pointer to a apiDeleteHelmCustomDomainRequest 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]
CustomDomain EditHelmCustomDomain(ctx, helmId, customDomainId).CustomDomainRequest(customDomainRequest).Execute()
Edit a Custom Domain
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/qovery/qovery-client-go"
)
func main() {
helmId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Helm ID
customDomainId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Custom Domain ID
customDomainRequest := *openapiclient.NewCustomDomainRequest("my.domain.tld", false) // CustomDomainRequest | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.HelmCustomDomainAPI.EditHelmCustomDomain(context.Background(), helmId, customDomainId).CustomDomainRequest(customDomainRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `HelmCustomDomainAPI.EditHelmCustomDomain``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `EditHelmCustomDomain`: CustomDomain
fmt.Fprintf(os.Stdout, "Response from `HelmCustomDomainAPI.EditHelmCustomDomain`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
helmId | string | Helm ID | |
customDomainId | string | Custom Domain ID |
Other parameters are passed through a pointer to a apiEditHelmCustomDomainRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
customDomainRequest | CustomDomainRequest | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CustomDomain GetHelmCustomDomain(ctx, helmId, customDomainId).Execute()
Get a Custom Domain
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/qovery/qovery-client-go"
)
func main() {
helmId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Helm ID
customDomainId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Custom Domain ID
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.HelmCustomDomainAPI.GetHelmCustomDomain(context.Background(), helmId, customDomainId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `HelmCustomDomainAPI.GetHelmCustomDomain``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetHelmCustomDomain`: CustomDomain
fmt.Fprintf(os.Stdout, "Response from `HelmCustomDomainAPI.GetHelmCustomDomain`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
helmId | string | Helm ID | |
customDomainId | string | Custom Domain ID |
Other parameters are passed through a pointer to a apiGetHelmCustomDomainRequest 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]
CustomDomainResponseList ListHelmCustomDomain(ctx, helmId).Execute()
List helm custom domains
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.HelmCustomDomainAPI.ListHelmCustomDomain(context.Background(), helmId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `HelmCustomDomainAPI.ListHelmCustomDomain``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ListHelmCustomDomain`: CustomDomainResponseList
fmt.Fprintf(os.Stdout, "Response from `HelmCustomDomainAPI.ListHelmCustomDomain`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
helmId | string | Helm ID |
Other parameters are passed through a pointer to a apiListHelmCustomDomainRequest 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]