Skip to content

Latest commit

 

History

History
472 lines (255 loc) · 16.4 KB

ContainerRegistryRequestConfig.md

File metadata and controls

472 lines (255 loc) · 16.4 KB

ContainerRegistryRequestConfig

Properties

Name Type Description Notes
AccessKeyId Pointer to string Required if kind is `ECR` or `PUBLIC_ECR` [optional]
SecretAccessKey Pointer to string Required if kind is `ECR` or `PUBLIC_ECR` [optional]
Region Pointer to string Required if kind is `ECR` or `SCALEWAY_CR` [optional]
ScalewayAccessKey Pointer to string Required if kind is `SCALEWAY_CR` [optional]
ScalewaySecretKey Pointer to string Required if kind is `SCALEWAY_CR` [optional]
ScalewayProjectId Pointer to string Required if kind is `SCALEWAY_CR` [optional]
JsonCredentials Pointer to string Required if kind is `GCP_ARTIFACT_REGISTRY`. For GCP Artifact Registry, you can either set a service account JSON key with json_credentials or use Workload Identity Federation with gcp_credentials_type. [optional]
GcpCredentialsType Pointer to string For GCP Artifact Registry, you can either set a service account JSON key with json_credentials or use Workload Identity Federation with gcp_credentials_type. [optional]
ProjectId Pointer to string Required if kind is `GCP_ARTIFACT_REGISTRY` and gcp_credentials_type is `workload_identity_federation` [optional]
ServiceAccountEmail Pointer to string Required if kind is `GCP_ARTIFACT_REGISTRY` and gcp_credentials_type is `workload_identity_federation` [optional]
WorkloadIdentityProviderResource Pointer to string Required if kind is `GCP_ARTIFACT_REGISTRY` and gcp_credentials_type is `workload_identity_federation` [optional]
TokenLifetimeSeconds Pointer to int32 Optional if kind is `GCP_ARTIFACT_REGISTRY` and gcp_credentials_type is `workload_identity_federation` [optional]
Username Pointer to string optional, for kind `DOCKER_HUB` We encourage you to set credentials for Docker Hub due to the limits on the pull rate [optional]
Password Pointer to string optional, for kind `DOCKER_HUB` We encourage you to set credentials for Docker Hub due to the limits on the pull rate [optional]
RoleArn Pointer to string For ECR, you can either set a static access_key or use a role arn that we are going to assume [optional]
AzureTenantId Pointer to string Required if kind is `AZURE_CR`. [optional]
AzureSubscriptionId Pointer to string Required if kind is `AZURE_CR`. [optional]

Methods

NewContainerRegistryRequestConfig

func NewContainerRegistryRequestConfig() *ContainerRegistryRequestConfig

NewContainerRegistryRequestConfig instantiates a new ContainerRegistryRequestConfig 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

NewContainerRegistryRequestConfigWithDefaults

func NewContainerRegistryRequestConfigWithDefaults() *ContainerRegistryRequestConfig

NewContainerRegistryRequestConfigWithDefaults instantiates a new ContainerRegistryRequestConfig 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

GetAccessKeyId

func (o *ContainerRegistryRequestConfig) GetAccessKeyId() string

GetAccessKeyId returns the AccessKeyId field if non-nil, zero value otherwise.

GetAccessKeyIdOk

func (o *ContainerRegistryRequestConfig) GetAccessKeyIdOk() (*string, bool)

GetAccessKeyIdOk returns a tuple with the AccessKeyId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetAccessKeyId

func (o *ContainerRegistryRequestConfig) SetAccessKeyId(v string)

SetAccessKeyId sets AccessKeyId field to given value.

HasAccessKeyId

func (o *ContainerRegistryRequestConfig) HasAccessKeyId() bool

HasAccessKeyId returns a boolean if a field has been set.

GetSecretAccessKey

func (o *ContainerRegistryRequestConfig) GetSecretAccessKey() string

GetSecretAccessKey returns the SecretAccessKey field if non-nil, zero value otherwise.

GetSecretAccessKeyOk

func (o *ContainerRegistryRequestConfig) GetSecretAccessKeyOk() (*string, bool)

GetSecretAccessKeyOk returns a tuple with the SecretAccessKey field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetSecretAccessKey

func (o *ContainerRegistryRequestConfig) SetSecretAccessKey(v string)

SetSecretAccessKey sets SecretAccessKey field to given value.

HasSecretAccessKey

func (o *ContainerRegistryRequestConfig) HasSecretAccessKey() bool

HasSecretAccessKey returns a boolean if a field has been set.

GetRegion

func (o *ContainerRegistryRequestConfig) GetRegion() string

GetRegion returns the Region field if non-nil, zero value otherwise.

GetRegionOk

func (o *ContainerRegistryRequestConfig) GetRegionOk() (*string, bool)

GetRegionOk returns a tuple with the Region field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetRegion

func (o *ContainerRegistryRequestConfig) SetRegion(v string)

SetRegion sets Region field to given value.

HasRegion

func (o *ContainerRegistryRequestConfig) HasRegion() bool

HasRegion returns a boolean if a field has been set.

GetScalewayAccessKey

func (o *ContainerRegistryRequestConfig) GetScalewayAccessKey() string

GetScalewayAccessKey returns the ScalewayAccessKey field if non-nil, zero value otherwise.

GetScalewayAccessKeyOk

func (o *ContainerRegistryRequestConfig) GetScalewayAccessKeyOk() (*string, bool)

GetScalewayAccessKeyOk returns a tuple with the ScalewayAccessKey field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetScalewayAccessKey

func (o *ContainerRegistryRequestConfig) SetScalewayAccessKey(v string)

SetScalewayAccessKey sets ScalewayAccessKey field to given value.

HasScalewayAccessKey

func (o *ContainerRegistryRequestConfig) HasScalewayAccessKey() bool

HasScalewayAccessKey returns a boolean if a field has been set.

GetScalewaySecretKey

func (o *ContainerRegistryRequestConfig) GetScalewaySecretKey() string

GetScalewaySecretKey returns the ScalewaySecretKey field if non-nil, zero value otherwise.

GetScalewaySecretKeyOk

func (o *ContainerRegistryRequestConfig) GetScalewaySecretKeyOk() (*string, bool)

GetScalewaySecretKeyOk returns a tuple with the ScalewaySecretKey field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetScalewaySecretKey

func (o *ContainerRegistryRequestConfig) SetScalewaySecretKey(v string)

SetScalewaySecretKey sets ScalewaySecretKey field to given value.

HasScalewaySecretKey

func (o *ContainerRegistryRequestConfig) HasScalewaySecretKey() bool

HasScalewaySecretKey returns a boolean if a field has been set.

GetScalewayProjectId

func (o *ContainerRegistryRequestConfig) GetScalewayProjectId() string

GetScalewayProjectId returns the ScalewayProjectId field if non-nil, zero value otherwise.

GetScalewayProjectIdOk

func (o *ContainerRegistryRequestConfig) GetScalewayProjectIdOk() (*string, bool)

GetScalewayProjectIdOk returns a tuple with the ScalewayProjectId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetScalewayProjectId

func (o *ContainerRegistryRequestConfig) SetScalewayProjectId(v string)

SetScalewayProjectId sets ScalewayProjectId field to given value.

HasScalewayProjectId

func (o *ContainerRegistryRequestConfig) HasScalewayProjectId() bool

HasScalewayProjectId returns a boolean if a field has been set.

GetJsonCredentials

func (o *ContainerRegistryRequestConfig) GetJsonCredentials() string

GetJsonCredentials returns the JsonCredentials field if non-nil, zero value otherwise.

GetJsonCredentialsOk

func (o *ContainerRegistryRequestConfig) GetJsonCredentialsOk() (*string, bool)

GetJsonCredentialsOk returns a tuple with the JsonCredentials field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetJsonCredentials

func (o *ContainerRegistryRequestConfig) SetJsonCredentials(v string)

SetJsonCredentials sets JsonCredentials field to given value.

HasJsonCredentials

func (o *ContainerRegistryRequestConfig) HasJsonCredentials() bool

HasJsonCredentials returns a boolean if a field has been set.

GetGcpCredentialsType

func (o *ContainerRegistryRequestConfig) GetGcpCredentialsType() string

GetGcpCredentialsType returns the GcpCredentialsType field if non-nil, zero value otherwise.

GetGcpCredentialsTypeOk

func (o *ContainerRegistryRequestConfig) GetGcpCredentialsTypeOk() (*string, bool)

GetGcpCredentialsTypeOk returns a tuple with the GcpCredentialsType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetGcpCredentialsType

func (o *ContainerRegistryRequestConfig) SetGcpCredentialsType(v string)

SetGcpCredentialsType sets GcpCredentialsType field to given value.

HasGcpCredentialsType

func (o *ContainerRegistryRequestConfig) HasGcpCredentialsType() bool

HasGcpCredentialsType returns a boolean if a field has been set.

GetProjectId

func (o *ContainerRegistryRequestConfig) GetProjectId() string

GetProjectId returns the ProjectId field if non-nil, zero value otherwise.

GetProjectIdOk

func (o *ContainerRegistryRequestConfig) GetProjectIdOk() (*string, bool)

GetProjectIdOk returns a tuple with the ProjectId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetProjectId

func (o *ContainerRegistryRequestConfig) SetProjectId(v string)

SetProjectId sets ProjectId field to given value.

HasProjectId

func (o *ContainerRegistryRequestConfig) HasProjectId() bool

HasProjectId returns a boolean if a field has been set.

GetServiceAccountEmail

func (o *ContainerRegistryRequestConfig) GetServiceAccountEmail() string

GetServiceAccountEmail returns the ServiceAccountEmail field if non-nil, zero value otherwise.

GetServiceAccountEmailOk

func (o *ContainerRegistryRequestConfig) GetServiceAccountEmailOk() (*string, bool)

GetServiceAccountEmailOk returns a tuple with the ServiceAccountEmail field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetServiceAccountEmail

func (o *ContainerRegistryRequestConfig) SetServiceAccountEmail(v string)

SetServiceAccountEmail sets ServiceAccountEmail field to given value.

HasServiceAccountEmail

func (o *ContainerRegistryRequestConfig) HasServiceAccountEmail() bool

HasServiceAccountEmail returns a boolean if a field has been set.

GetWorkloadIdentityProviderResource

func (o *ContainerRegistryRequestConfig) GetWorkloadIdentityProviderResource() string

GetWorkloadIdentityProviderResource returns the WorkloadIdentityProviderResource field if non-nil, zero value otherwise.

GetWorkloadIdentityProviderResourceOk

func (o *ContainerRegistryRequestConfig) GetWorkloadIdentityProviderResourceOk() (*string, bool)

GetWorkloadIdentityProviderResourceOk returns a tuple with the WorkloadIdentityProviderResource field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetWorkloadIdentityProviderResource

func (o *ContainerRegistryRequestConfig) SetWorkloadIdentityProviderResource(v string)

SetWorkloadIdentityProviderResource sets WorkloadIdentityProviderResource field to given value.

HasWorkloadIdentityProviderResource

func (o *ContainerRegistryRequestConfig) HasWorkloadIdentityProviderResource() bool

HasWorkloadIdentityProviderResource returns a boolean if a field has been set.

GetTokenLifetimeSeconds

func (o *ContainerRegistryRequestConfig) GetTokenLifetimeSeconds() int32

GetTokenLifetimeSeconds returns the TokenLifetimeSeconds field if non-nil, zero value otherwise.

GetTokenLifetimeSecondsOk

func (o *ContainerRegistryRequestConfig) GetTokenLifetimeSecondsOk() (*int32, bool)

GetTokenLifetimeSecondsOk returns a tuple with the TokenLifetimeSeconds field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetTokenLifetimeSeconds

func (o *ContainerRegistryRequestConfig) SetTokenLifetimeSeconds(v int32)

SetTokenLifetimeSeconds sets TokenLifetimeSeconds field to given value.

HasTokenLifetimeSeconds

func (o *ContainerRegistryRequestConfig) HasTokenLifetimeSeconds() bool

HasTokenLifetimeSeconds returns a boolean if a field has been set.

GetUsername

func (o *ContainerRegistryRequestConfig) GetUsername() string

GetUsername returns the Username field if non-nil, zero value otherwise.

GetUsernameOk

func (o *ContainerRegistryRequestConfig) GetUsernameOk() (*string, bool)

GetUsernameOk returns a tuple with the Username field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetUsername

func (o *ContainerRegistryRequestConfig) SetUsername(v string)

SetUsername sets Username field to given value.

HasUsername

func (o *ContainerRegistryRequestConfig) HasUsername() bool

HasUsername returns a boolean if a field has been set.

GetPassword

func (o *ContainerRegistryRequestConfig) GetPassword() string

GetPassword returns the Password field if non-nil, zero value otherwise.

GetPasswordOk

func (o *ContainerRegistryRequestConfig) GetPasswordOk() (*string, bool)

GetPasswordOk returns a tuple with the Password field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetPassword

func (o *ContainerRegistryRequestConfig) SetPassword(v string)

SetPassword sets Password field to given value.

HasPassword

func (o *ContainerRegistryRequestConfig) HasPassword() bool

HasPassword returns a boolean if a field has been set.

GetRoleArn

func (o *ContainerRegistryRequestConfig) GetRoleArn() string

GetRoleArn returns the RoleArn field if non-nil, zero value otherwise.

GetRoleArnOk

func (o *ContainerRegistryRequestConfig) GetRoleArnOk() (*string, bool)

GetRoleArnOk returns a tuple with the RoleArn field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetRoleArn

func (o *ContainerRegistryRequestConfig) SetRoleArn(v string)

SetRoleArn sets RoleArn field to given value.

HasRoleArn

func (o *ContainerRegistryRequestConfig) HasRoleArn() bool

HasRoleArn returns a boolean if a field has been set.

GetAzureTenantId

func (o *ContainerRegistryRequestConfig) GetAzureTenantId() string

GetAzureTenantId returns the AzureTenantId field if non-nil, zero value otherwise.

GetAzureTenantIdOk

func (o *ContainerRegistryRequestConfig) GetAzureTenantIdOk() (*string, bool)

GetAzureTenantIdOk returns a tuple with the AzureTenantId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetAzureTenantId

func (o *ContainerRegistryRequestConfig) SetAzureTenantId(v string)

SetAzureTenantId sets AzureTenantId field to given value.

HasAzureTenantId

func (o *ContainerRegistryRequestConfig) HasAzureTenantId() bool

HasAzureTenantId returns a boolean if a field has been set.

GetAzureSubscriptionId

func (o *ContainerRegistryRequestConfig) GetAzureSubscriptionId() string

GetAzureSubscriptionId returns the AzureSubscriptionId field if non-nil, zero value otherwise.

GetAzureSubscriptionIdOk

func (o *ContainerRegistryRequestConfig) GetAzureSubscriptionIdOk() (*string, bool)

GetAzureSubscriptionIdOk returns a tuple with the AzureSubscriptionId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetAzureSubscriptionId

func (o *ContainerRegistryRequestConfig) SetAzureSubscriptionId(v string)

SetAzureSubscriptionId sets AzureSubscriptionId field to given value.

HasAzureSubscriptionId

func (o *ContainerRegistryRequestConfig) HasAzureSubscriptionId() bool

HasAzureSubscriptionId returns a boolean if a field has been set.

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