Skip to content

Latest commit

 

History

History
119 lines (64 loc) · 3.69 KB

ContainerSource.md

File metadata and controls

119 lines (64 loc) · 3.69 KB

ContainerSource

Properties

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

Methods

NewContainerSource

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

NewContainerSourceWithDefaults

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

GetImageName

func (o *ContainerSource) GetImageName() string

GetImageName returns the ImageName field if non-nil, zero value otherwise.

GetImageNameOk

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.

SetImageName

func (o *ContainerSource) SetImageName(v string)

SetImageName sets ImageName field to given value.

GetTag

func (o *ContainerSource) GetTag() string

GetTag returns the Tag field if non-nil, zero value otherwise.

GetTagOk

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.

SetTag

func (o *ContainerSource) SetTag(v string)

SetTag sets Tag field to given value.

GetRegistryId

func (o *ContainerSource) GetRegistryId() string

GetRegistryId returns the RegistryId field if non-nil, zero value otherwise.

GetRegistryIdOk

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.

SetRegistryId

func (o *ContainerSource) SetRegistryId(v string)

SetRegistryId sets RegistryId field to given value.

HasRegistryId

func (o *ContainerSource) HasRegistryId() bool

HasRegistryId returns a boolean if a field has been set.

GetRegistry

func (o *ContainerSource) GetRegistry() ContainerRegistryProviderDetailsResponse

GetRegistry returns the Registry field if non-nil, zero value otherwise.

GetRegistryOk

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.

SetRegistry

func (o *ContainerSource) SetRegistry(v ContainerRegistryProviderDetailsResponse)

SetRegistry sets Registry field to given value.

[Back to Model list] [Back to API list] [Back to README]