Name | Type | Description | Notes |
---|---|---|---|
Storage | Pointer to []ServiceStorageRequestStorageInner | [optional] | |
Ports | Pointer to []ServicePortRequestPortsInner | [optional] | |
Name | string | name is case insensitive | |
Description | Pointer to string | give a description to this container | [optional] |
RegistryId | string | id of the linked registry | |
ImageName | string | The image name pattern differs according to chosen container registry provider: * `ECR`: `repository` * `SCALEWAY_CR`: `namespace/image` * `DOCKER_HUB`: `image` or `repository/image` * `PUBLIC_ECR`: `registry_alias/repository` | |
Tag | string | tag of the image container | |
Arguments | Pointer to []string | [optional] | |
Entrypoint | Pointer to string | optional entrypoint when launching container | [optional] |
Cpu | Pointer to int32 | unit is millicores (m). 1000m = 1 cpu | [optional] [default to 500] |
Memory | Pointer to int32 | unit is MB. 1024 MB = 1GB | [optional] [default to 512] |
MinRunningInstances | Pointer to int32 | Minimum number of instances running. This resource auto-scale based on the CPU and Memory consumption. Note: 0 means that there is no container running. | [optional] [default to 1] |
MaxRunningInstances | Pointer to int32 | Maximum number of instances running. This resource auto-scale based on the CPU and Memory consumption. Note: -1 means that there is no limit. | [optional] [default to 1] |
Healthchecks | Healthcheck | ||
AutoPreview | Pointer to bool | Indicates if the 'environment preview option' is enabled for this container. If enabled, a preview environment will be automatically cloned when `/preview` endpoint is called. If not specified, it takes the value of the `auto_preview` property from the associated environment. | [optional] |
AutoDeploy | Pointer to NullableBool | Specify if the container will be automatically updated after receiving a new image tag. The new image tag shall be communicated via the "Auto Deploy container" endpoint https://api-doc.qovery.com/#tag/Containers/operation/autoDeployContainerEnvironments | [optional] |
AnnotationsGroups | Pointer to []ServiceAnnotationRequest | [optional] | |
LabelsGroups | Pointer to []ServiceLabelRequest | [optional] | |
IconUri | Pointer to string | Icon URI representing the container. | [optional] |
func NewContainerRequest(name string, registryId string, imageName string, tag string, healthchecks Healthcheck, ) *ContainerRequest
NewContainerRequest instantiates a new ContainerRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewContainerRequestWithDefaults() *ContainerRequest
NewContainerRequestWithDefaults instantiates a new ContainerRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *ContainerRequest) GetStorage() []ServiceStorageRequestStorageInner
GetStorage returns the Storage field if non-nil, zero value otherwise.
func (o *ContainerRequest) GetStorageOk() (*[]ServiceStorageRequestStorageInner, bool)
GetStorageOk returns a tuple with the Storage field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ContainerRequest) SetStorage(v []ServiceStorageRequestStorageInner)
SetStorage sets Storage field to given value.
func (o *ContainerRequest) HasStorage() bool
HasStorage returns a boolean if a field has been set.
func (o *ContainerRequest) GetPorts() []ServicePortRequestPortsInner
GetPorts returns the Ports field if non-nil, zero value otherwise.
func (o *ContainerRequest) GetPortsOk() (*[]ServicePortRequestPortsInner, bool)
GetPortsOk returns a tuple with the Ports field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ContainerRequest) SetPorts(v []ServicePortRequestPortsInner)
SetPorts sets Ports field to given value.
func (o *ContainerRequest) HasPorts() bool
HasPorts returns a boolean if a field has been set.
func (o *ContainerRequest) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *ContainerRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ContainerRequest) SetName(v string)
SetName sets Name field to given value.
func (o *ContainerRequest) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *ContainerRequest) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ContainerRequest) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *ContainerRequest) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *ContainerRequest) GetRegistryId() string
GetRegistryId returns the RegistryId field if non-nil, zero value otherwise.
func (o *ContainerRequest) GetRegistryIdOk() (*string, bool)
GetRegistryIdOk returns a tuple with the RegistryId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ContainerRequest) SetRegistryId(v string)
SetRegistryId sets RegistryId field to given value.
func (o *ContainerRequest) GetImageName() string
GetImageName returns the ImageName field if non-nil, zero value otherwise.
func (o *ContainerRequest) GetImageNameOk() (*string, bool)
GetImageNameOk returns a tuple with the ImageName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ContainerRequest) SetImageName(v string)
SetImageName sets ImageName field to given value.
func (o *ContainerRequest) GetTag() string
GetTag returns the Tag field if non-nil, zero value otherwise.
func (o *ContainerRequest) GetTagOk() (*string, bool)
GetTagOk returns a tuple with the Tag field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ContainerRequest) SetTag(v string)
SetTag sets Tag field to given value.
func (o *ContainerRequest) GetArguments() []string
GetArguments returns the Arguments field if non-nil, zero value otherwise.
func (o *ContainerRequest) GetArgumentsOk() (*[]string, bool)
GetArgumentsOk returns a tuple with the Arguments field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ContainerRequest) SetArguments(v []string)
SetArguments sets Arguments field to given value.
func (o *ContainerRequest) HasArguments() bool
HasArguments returns a boolean if a field has been set.
func (o *ContainerRequest) GetEntrypoint() string
GetEntrypoint returns the Entrypoint field if non-nil, zero value otherwise.
func (o *ContainerRequest) GetEntrypointOk() (*string, bool)
GetEntrypointOk returns a tuple with the Entrypoint field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ContainerRequest) SetEntrypoint(v string)
SetEntrypoint sets Entrypoint field to given value.
func (o *ContainerRequest) HasEntrypoint() bool
HasEntrypoint returns a boolean if a field has been set.
func (o *ContainerRequest) GetCpu() int32
GetCpu returns the Cpu field if non-nil, zero value otherwise.
func (o *ContainerRequest) GetCpuOk() (*int32, bool)
GetCpuOk returns a tuple with the Cpu field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ContainerRequest) SetCpu(v int32)
SetCpu sets Cpu field to given value.
func (o *ContainerRequest) HasCpu() bool
HasCpu returns a boolean if a field has been set.
func (o *ContainerRequest) GetMemory() int32
GetMemory returns the Memory field if non-nil, zero value otherwise.
func (o *ContainerRequest) GetMemoryOk() (*int32, bool)
GetMemoryOk returns a tuple with the Memory field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ContainerRequest) SetMemory(v int32)
SetMemory sets Memory field to given value.
func (o *ContainerRequest) HasMemory() bool
HasMemory returns a boolean if a field has been set.
func (o *ContainerRequest) GetMinRunningInstances() int32
GetMinRunningInstances returns the MinRunningInstances field if non-nil, zero value otherwise.
func (o *ContainerRequest) GetMinRunningInstancesOk() (*int32, bool)
GetMinRunningInstancesOk returns a tuple with the MinRunningInstances field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ContainerRequest) SetMinRunningInstances(v int32)
SetMinRunningInstances sets MinRunningInstances field to given value.
func (o *ContainerRequest) HasMinRunningInstances() bool
HasMinRunningInstances returns a boolean if a field has been set.
func (o *ContainerRequest) GetMaxRunningInstances() int32
GetMaxRunningInstances returns the MaxRunningInstances field if non-nil, zero value otherwise.
func (o *ContainerRequest) GetMaxRunningInstancesOk() (*int32, bool)
GetMaxRunningInstancesOk returns a tuple with the MaxRunningInstances field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ContainerRequest) SetMaxRunningInstances(v int32)
SetMaxRunningInstances sets MaxRunningInstances field to given value.
func (o *ContainerRequest) HasMaxRunningInstances() bool
HasMaxRunningInstances returns a boolean if a field has been set.
func (o *ContainerRequest) GetHealthchecks() Healthcheck
GetHealthchecks returns the Healthchecks field if non-nil, zero value otherwise.
func (o *ContainerRequest) GetHealthchecksOk() (*Healthcheck, bool)
GetHealthchecksOk returns a tuple with the Healthchecks field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ContainerRequest) SetHealthchecks(v Healthcheck)
SetHealthchecks sets Healthchecks field to given value.
func (o *ContainerRequest) GetAutoPreview() bool
GetAutoPreview returns the AutoPreview field if non-nil, zero value otherwise.
func (o *ContainerRequest) GetAutoPreviewOk() (*bool, bool)
GetAutoPreviewOk returns a tuple with the AutoPreview field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ContainerRequest) SetAutoPreview(v bool)
SetAutoPreview sets AutoPreview field to given value.
func (o *ContainerRequest) HasAutoPreview() bool
HasAutoPreview returns a boolean if a field has been set.
func (o *ContainerRequest) GetAutoDeploy() bool
GetAutoDeploy returns the AutoDeploy field if non-nil, zero value otherwise.
func (o *ContainerRequest) GetAutoDeployOk() (*bool, bool)
GetAutoDeployOk returns a tuple with the AutoDeploy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ContainerRequest) SetAutoDeploy(v bool)
SetAutoDeploy sets AutoDeploy field to given value.
func (o *ContainerRequest) HasAutoDeploy() bool
HasAutoDeploy returns a boolean if a field has been set.
func (o *ContainerRequest) SetAutoDeployNil(b bool)
SetAutoDeployNil sets the value for AutoDeploy to be an explicit nil
func (o *ContainerRequest) UnsetAutoDeploy()
UnsetAutoDeploy ensures that no value is present for AutoDeploy, not even an explicit nil
func (o *ContainerRequest) GetAnnotationsGroups() []ServiceAnnotationRequest
GetAnnotationsGroups returns the AnnotationsGroups field if non-nil, zero value otherwise.
func (o *ContainerRequest) GetAnnotationsGroupsOk() (*[]ServiceAnnotationRequest, bool)
GetAnnotationsGroupsOk returns a tuple with the AnnotationsGroups field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ContainerRequest) SetAnnotationsGroups(v []ServiceAnnotationRequest)
SetAnnotationsGroups sets AnnotationsGroups field to given value.
func (o *ContainerRequest) HasAnnotationsGroups() bool
HasAnnotationsGroups returns a boolean if a field has been set.
func (o *ContainerRequest) GetLabelsGroups() []ServiceLabelRequest
GetLabelsGroups returns the LabelsGroups field if non-nil, zero value otherwise.
func (o *ContainerRequest) GetLabelsGroupsOk() (*[]ServiceLabelRequest, bool)
GetLabelsGroupsOk returns a tuple with the LabelsGroups field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ContainerRequest) SetLabelsGroups(v []ServiceLabelRequest)
SetLabelsGroups sets LabelsGroups field to given value.
func (o *ContainerRequest) HasLabelsGroups() bool
HasLabelsGroups returns a boolean if a field has been set.
func (o *ContainerRequest) GetIconUri() string
GetIconUri returns the IconUri field if non-nil, zero value otherwise.
func (o *ContainerRequest) GetIconUriOk() (*string, bool)
GetIconUriOk returns a tuple with the IconUri field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ContainerRequest) SetIconUri(v string)
SetIconUri sets IconUri field to given value.
func (o *ContainerRequest) HasIconUri() bool
HasIconUri returns a boolean if a field has been set.