All URIs are relative to https://api.qovery.com
Method | HTTP request | Description |
---|---|---|
AutoDeployContainerEnvironments | Post /organization/{organizationId}/container/deploy | Auto deploy containers |
CloneContainer | Post /container/{containerId}/clone | Clone container |
CreateContainer | Post /environment/{environmentId}/container | Create a container |
GetContainerRegistryContainerStatus | Get /organization/{organizationId}/containerRegistry/{containerRegistryId}/container/status | List all container registry container statuses |
GetDefaultContainerAdvancedSettings | Get /defaultContainerAdvancedSettings | List default container advanced settings |
GetEnvironmentContainerStatus | Get /environment/{environmentId}/container/status | List all environment container statuses |
ListContainer | Get /environment/{environmentId}/container | List containers |
PreviewContainerEnvironments | Post /organization/{organizationId}/container/preview | Preview container environments |
Status AutoDeployContainerEnvironments(ctx, organizationId).OrganizationContainerAutoDeployRequest(organizationContainerAutoDeployRequest).Execute()
Auto deploy containers
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/qovery/qovery-client-go"
)
func main() {
organizationId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Organization ID
organizationContainerAutoDeployRequest := *openapiclient.NewOrganizationContainerAutoDeployRequest() // OrganizationContainerAutoDeployRequest | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ContainersAPI.AutoDeployContainerEnvironments(context.Background(), organizationId).OrganizationContainerAutoDeployRequest(organizationContainerAutoDeployRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ContainersAPI.AutoDeployContainerEnvironments``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AutoDeployContainerEnvironments`: Status
fmt.Fprintf(os.Stdout, "Response from `ContainersAPI.AutoDeployContainerEnvironments`: %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 apiAutoDeployContainerEnvironmentsRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
organizationContainerAutoDeployRequest | OrganizationContainerAutoDeployRequest | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ContainerResponse CloneContainer(ctx, containerId).CloneServiceRequest(cloneServiceRequest).Execute()
Clone container
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/qovery/qovery-client-go"
)
func main() {
containerId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Container ID
cloneServiceRequest := *openapiclient.NewCloneServiceRequest("Name_example", "EnvironmentId_example") // CloneServiceRequest | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ContainersAPI.CloneContainer(context.Background(), containerId).CloneServiceRequest(cloneServiceRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ContainersAPI.CloneContainer``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `CloneContainer`: ContainerResponse
fmt.Fprintf(os.Stdout, "Response from `ContainersAPI.CloneContainer`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
containerId | string | Container ID |
Other parameters are passed through a pointer to a apiCloneContainerRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
cloneServiceRequest | CloneServiceRequest | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ContainerResponse CreateContainer(ctx, environmentId).ContainerRequest(containerRequest).Execute()
Create a container
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/qovery/qovery-client-go"
)
func main() {
environmentId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Environment ID
containerRequest := *openapiclient.NewContainerRequest("Name_example", "RegistryId_example", "ImageName_example", "Tag_example", *openapiclient.NewHealthcheck()) // ContainerRequest | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ContainersAPI.CreateContainer(context.Background(), environmentId).ContainerRequest(containerRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ContainersAPI.CreateContainer``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `CreateContainer`: ContainerResponse
fmt.Fprintf(os.Stdout, "Response from `ContainersAPI.CreateContainer`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
environmentId | string | Environment ID |
Other parameters are passed through a pointer to a apiCreateContainerRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
containerRequest | ContainerRequest | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ReferenceObjectStatusResponseList GetContainerRegistryContainerStatus(ctx, organizationId, containerRegistryId).Execute()
List all container registry container statuses
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/qovery/qovery-client-go"
)
func main() {
organizationId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Organization ID
containerRegistryId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Container Registry ID
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ContainersAPI.GetContainerRegistryContainerStatus(context.Background(), organizationId, containerRegistryId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ContainersAPI.GetContainerRegistryContainerStatus``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetContainerRegistryContainerStatus`: ReferenceObjectStatusResponseList
fmt.Fprintf(os.Stdout, "Response from `ContainersAPI.GetContainerRegistryContainerStatus`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
organizationId | string | Organization ID | |
containerRegistryId | string | Container Registry ID |
Other parameters are passed through a pointer to a apiGetContainerRegistryContainerStatusRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
ReferenceObjectStatusResponseList
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ContainerAdvancedSettings GetDefaultContainerAdvancedSettings(ctx).Execute()
List default container advanced settings
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.ContainersAPI.GetDefaultContainerAdvancedSettings(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ContainersAPI.GetDefaultContainerAdvancedSettings``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetDefaultContainerAdvancedSettings`: ContainerAdvancedSettings
fmt.Fprintf(os.Stdout, "Response from `ContainersAPI.GetDefaultContainerAdvancedSettings`: %v\n", resp)
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiGetDefaultContainerAdvancedSettingsRequest struct via the builder pattern
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ReferenceObjectStatusResponseList GetEnvironmentContainerStatus(ctx, environmentId).Execute()
List all environment container statuses
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/qovery/qovery-client-go"
)
func main() {
environmentId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Environment ID
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ContainersAPI.GetEnvironmentContainerStatus(context.Background(), environmentId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ContainersAPI.GetEnvironmentContainerStatus``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetEnvironmentContainerStatus`: ReferenceObjectStatusResponseList
fmt.Fprintf(os.Stdout, "Response from `ContainersAPI.GetEnvironmentContainerStatus`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
environmentId | string | Environment ID |
Other parameters are passed through a pointer to a apiGetEnvironmentContainerStatusRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
ReferenceObjectStatusResponseList
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ContainerResponseList ListContainer(ctx, environmentId).Execute()
List containers
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/qovery/qovery-client-go"
)
func main() {
environmentId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Environment ID
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ContainersAPI.ListContainer(context.Background(), environmentId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ContainersAPI.ListContainer``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ListContainer`: ContainerResponseList
fmt.Fprintf(os.Stdout, "Response from `ContainersAPI.ListContainer`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
environmentId | string | Environment ID |
Other parameters are passed through a pointer to a apiListContainerRequest 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]
Status PreviewContainerEnvironments(ctx, organizationId).OrganizationContainerPreviewRequest(organizationContainerPreviewRequest).Execute()
Preview container environments
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/qovery/qovery-client-go"
)
func main() {
organizationId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Organization ID
organizationContainerPreviewRequest := *openapiclient.NewOrganizationContainerPreviewRequest() // OrganizationContainerPreviewRequest | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ContainersAPI.PreviewContainerEnvironments(context.Background(), organizationId).OrganizationContainerPreviewRequest(organizationContainerPreviewRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ContainersAPI.PreviewContainerEnvironments``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `PreviewContainerEnvironments`: Status
fmt.Fprintf(os.Stdout, "Response from `ContainersAPI.PreviewContainerEnvironments`: %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 apiPreviewContainerEnvironmentsRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
organizationContainerPreviewRequest | OrganizationContainerPreviewRequest | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]