All URIs are relative to https://api.qovery.com
Method | HTTP request | Description |
---|---|---|
EditContainerAdvancedSettings | Put /container/{containerId}/advancedSettings | Edit advanced settings |
EditContainerNetwork | Put /container/{containerId}/network | Edit Container Network |
GetContainerAdvancedSettings | Get /container/{containerId}/advancedSettings | Get advanced settings |
GetContainerNetwork | Get /container/{containerId}/network | Get Container Network information |
ContainerAdvancedSettings EditContainerAdvancedSettings(ctx, containerId).ContainerAdvancedSettings(containerAdvancedSettings).Execute()
Edit advanced settings
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/qovery/qovery-client-go"
)
func main() {
containerId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Container ID
containerAdvancedSettings := *openapiclient.NewContainerAdvancedSettings() // ContainerAdvancedSettings | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ContainerConfigurationAPI.EditContainerAdvancedSettings(context.Background(), containerId).ContainerAdvancedSettings(containerAdvancedSettings).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ContainerConfigurationAPI.EditContainerAdvancedSettings``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `EditContainerAdvancedSettings`: ContainerAdvancedSettings
fmt.Fprintf(os.Stdout, "Response from `ContainerConfigurationAPI.EditContainerAdvancedSettings`: %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 apiEditContainerAdvancedSettingsRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
containerAdvancedSettings | ContainerAdvancedSettings | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ContainerNetwork EditContainerNetwork(ctx, containerId).ContainerNetworkRequest(containerNetworkRequest).Execute()
Edit Container Network
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/qovery/qovery-client-go"
)
func main() {
containerId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Container ID
containerNetworkRequest := *openapiclient.NewContainerNetworkRequest() // ContainerNetworkRequest | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ContainerConfigurationAPI.EditContainerNetwork(context.Background(), containerId).ContainerNetworkRequest(containerNetworkRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ContainerConfigurationAPI.EditContainerNetwork``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `EditContainerNetwork`: ContainerNetwork
fmt.Fprintf(os.Stdout, "Response from `ContainerConfigurationAPI.EditContainerNetwork`: %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 apiEditContainerNetworkRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
containerNetworkRequest | ContainerNetworkRequest | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ContainerAdvancedSettings GetContainerAdvancedSettings(ctx, containerId).Execute()
Get advanced settings
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/qovery/qovery-client-go"
)
func main() {
containerId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Container ID
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ContainerConfigurationAPI.GetContainerAdvancedSettings(context.Background(), containerId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ContainerConfigurationAPI.GetContainerAdvancedSettings``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetContainerAdvancedSettings`: ContainerAdvancedSettings
fmt.Fprintf(os.Stdout, "Response from `ContainerConfigurationAPI.GetContainerAdvancedSettings`: %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 apiGetContainerAdvancedSettingsRequest 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]
ContainerNetwork GetContainerNetwork(ctx, containerId).Execute()
Get Container Network information
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/qovery/qovery-client-go"
)
func main() {
containerId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Container ID
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ContainerConfigurationAPI.GetContainerNetwork(context.Background(), containerId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ContainerConfigurationAPI.GetContainerNetwork``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetContainerNetwork`: ContainerNetwork
fmt.Fprintf(os.Stdout, "Response from `ContainerConfigurationAPI.GetContainerNetwork`: %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 apiGetContainerNetworkRequest 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]