Name | Type | Description | Notes |
---|---|---|---|
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 | |
RegistryId | Pointer to string | tag of the image container | [optional] |
Registry | ContainerRegistryProviderDetailsResponse |
func NewContainerSource(imageName string, tag string, registry ContainerRegistryProviderDetailsResponse, ) *ContainerSource
NewContainerSource instantiates a new ContainerSource 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 NewContainerSourceWithDefaults() *ContainerSource
NewContainerSourceWithDefaults instantiates a new ContainerSource 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 *ContainerSource) GetImageName() string
GetImageName returns the ImageName field if non-nil, zero value otherwise.
func (o *ContainerSource) 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 *ContainerSource) SetImageName(v string)
SetImageName sets ImageName field to given value.
func (o *ContainerSource) GetTag() string
GetTag returns the Tag field if non-nil, zero value otherwise.
func (o *ContainerSource) 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 *ContainerSource) SetTag(v string)
SetTag sets Tag field to given value.
func (o *ContainerSource) GetRegistryId() string
GetRegistryId returns the RegistryId field if non-nil, zero value otherwise.
func (o *ContainerSource) 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 *ContainerSource) SetRegistryId(v string)
SetRegistryId sets RegistryId field to given value.
func (o *ContainerSource) HasRegistryId() bool
HasRegistryId returns a boolean if a field has been set.
func (o *ContainerSource) GetRegistry() ContainerRegistryProviderDetailsResponse
GetRegistry returns the Registry field if non-nil, zero value otherwise.
func (o *ContainerSource) GetRegistryOk() (*ContainerRegistryProviderDetailsResponse, bool)
GetRegistryOk returns a tuple with the Registry field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ContainerSource) SetRegistry(v ContainerRegistryProviderDetailsResponse)
SetRegistry sets Registry field to given value.