Documentation ¶
Index ¶
- type VmwareTanzuManageV1alpha1AccountCredentialCreateCredentialRequest
- type VmwareTanzuManageV1alpha1AccountCredentialCreateCredentialResponse
- type VmwareTanzuManageV1alpha1AccountCredentialCredential
- type VmwareTanzuManageV1alpha1AccountCredentialData
- type VmwareTanzuManageV1alpha1AccountCredentialFullName
- type VmwareTanzuManageV1alpha1AccountCredentialGetCredentialResponse
- type VmwareTanzuManageV1alpha1AccountCredentialMeta
- type VmwareTanzuManageV1alpha1AccountCredentialProvider
- type VmwareTanzuManageV1alpha1AccountCredentialSpec
- type VmwareTanzuManageV1alpha1AccountCredentialStatus
- type VmwareTanzuManageV1alpha1AccountCredentialStatusPhase
- type VmwareTanzuManageV1alpha1AccountCredentialTypeAwsAccessKey
- type VmwareTanzuManageV1alpha1AccountCredentialTypeAwsIAMRole
- type VmwareTanzuManageV1alpha1AccountCredentialTypeAwsSpec
- type VmwareTanzuManageV1alpha1AccountCredentialTypeAzureServicePrincipal
- type VmwareTanzuManageV1alpha1AccountCredentialTypeAzureServicePrincipalWithCertificate
- func (m *VmwareTanzuManageV1alpha1AccountCredentialTypeAzureServicePrincipalWithCertificate) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *VmwareTanzuManageV1alpha1AccountCredentialTypeAzureServicePrincipalWithCertificate) MarshalBinary() ([]byte, error)
- func (m *VmwareTanzuManageV1alpha1AccountCredentialTypeAzureServicePrincipalWithCertificate) UnmarshalBinary(b []byte) error
- func (m *VmwareTanzuManageV1alpha1AccountCredentialTypeAzureServicePrincipalWithCertificate) Validate(formats strfmt.Registry) error
- type VmwareTanzuManageV1alpha1AccountCredentialTypeAzureSpec
- type VmwareTanzuManageV1alpha1AccountCredentialTypeKeyvalueSpec
- type VmwareTanzuManageV1alpha1AccountCredentialTypeKeyvalueSpecSecretType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VmwareTanzuManageV1alpha1AccountCredentialCreateCredentialRequest ¶
type VmwareTanzuManageV1alpha1AccountCredentialCreateCredentialRequest struct { // Credential to create. Credential *VmwareTanzuManageV1alpha1AccountCredentialCredential `json:"credential,omitempty"` }
VmwareTanzuManageV1alpha1AccountCredentialCreateCredentialRequest Request to create a Credential.
swagger:model vmware.tanzu.manage.v1alpha1.account.credential.CreateCredentialRequest
func (*VmwareTanzuManageV1alpha1AccountCredentialCreateCredentialRequest) MarshalBinary ¶
func (m *VmwareTanzuManageV1alpha1AccountCredentialCreateCredentialRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VmwareTanzuManageV1alpha1AccountCredentialCreateCredentialRequest) UnmarshalBinary ¶
func (m *VmwareTanzuManageV1alpha1AccountCredentialCreateCredentialRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VmwareTanzuManageV1alpha1AccountCredentialCreateCredentialResponse ¶
type VmwareTanzuManageV1alpha1AccountCredentialCreateCredentialResponse struct { // Credential created. Credential *VmwareTanzuManageV1alpha1AccountCredentialCredential `json:"credential,omitempty"` }
VmwareTanzuManageV1alpha1AccountCredentialCreateCredentialResponse Response from creating a Credential.
swagger:model vmware.tanzu.manage.v1alpha1.account.credential.CreateCredentialResponse
func (*VmwareTanzuManageV1alpha1AccountCredentialCreateCredentialResponse) MarshalBinary ¶
func (m *VmwareTanzuManageV1alpha1AccountCredentialCreateCredentialResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VmwareTanzuManageV1alpha1AccountCredentialCreateCredentialResponse) UnmarshalBinary ¶
func (m *VmwareTanzuManageV1alpha1AccountCredentialCreateCredentialResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VmwareTanzuManageV1alpha1AccountCredentialCredential ¶
type VmwareTanzuManageV1alpha1AccountCredentialCredential struct { // Full name for the credential. FullName *VmwareTanzuManageV1alpha1AccountCredentialFullName `json:"fullName,omitempty"` // Metadata for the credential object. Meta *objectmetamodel.VmwareTanzuCoreV1alpha1ObjectMeta `json:"meta,omitempty"` // Spec for the credential. Spec *VmwareTanzuManageV1alpha1AccountCredentialSpec `json:"spec,omitempty"` // Status for the credential. Status *VmwareTanzuManageV1alpha1AccountCredentialStatus `json:"status,omitempty"` }
VmwareTanzuManageV1alpha1AccountCredentialCredential A credential for an infrastructure provider account connection.
Credentials are scoped to and used by Tanzu Mission Control services to operate on resources in an infrastructure provider. The credential data is always encrypted and securely stored.
swagger:model vmware.tanzu.manage.v1alpha1.account.credential.Credential
func (*VmwareTanzuManageV1alpha1AccountCredentialCredential) MarshalBinary ¶
func (m *VmwareTanzuManageV1alpha1AccountCredentialCredential) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VmwareTanzuManageV1alpha1AccountCredentialCredential) UnmarshalBinary ¶
func (m *VmwareTanzuManageV1alpha1AccountCredentialCredential) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VmwareTanzuManageV1alpha1AccountCredentialData ¶
type VmwareTanzuManageV1alpha1AccountCredentialData struct { // AWS credential. AwsCredential *VmwareTanzuManageV1alpha1AccountCredentialTypeAwsSpec `json:"awsCredential,omitempty"` // Azure credential. AzureCredential *VmwareTanzuManageV1alpha1AccountCredentialTypeAzureSpec `json:"azureCredential,omitempty"` // Generic credential. GenericCredential string `json:"genericCredential,omitempty"` // Key Value credential. KeyValue *VmwareTanzuManageV1alpha1AccountCredentialTypeKeyvalueSpec `json:"keyValue,omitempty"` }
VmwareTanzuManageV1alpha1AccountCredentialData Credential data.
swagger:model vmware.tanzu.manage.v1alpha1.account.credential.Data
func (*VmwareTanzuManageV1alpha1AccountCredentialData) MarshalBinary ¶
func (m *VmwareTanzuManageV1alpha1AccountCredentialData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VmwareTanzuManageV1alpha1AccountCredentialData) UnmarshalBinary ¶
func (m *VmwareTanzuManageV1alpha1AccountCredentialData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VmwareTanzuManageV1alpha1AccountCredentialFullName ¶
type VmwareTanzuManageV1alpha1AccountCredentialFullName struct { // Name of this credential. Name string `json:"name,omitempty"` // ID of Organization. OrgID string `json:"orgId,omitempty"` }
VmwareTanzuManageV1alpha1AccountCredentialFullName Full name of the credential. This includes the object name along with any parents or further identifiers.
swagger:model vmware.tanzu.manage.v1alpha1.account.credential.FullName
func (*VmwareTanzuManageV1alpha1AccountCredentialFullName) MarshalBinary ¶
func (m *VmwareTanzuManageV1alpha1AccountCredentialFullName) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VmwareTanzuManageV1alpha1AccountCredentialFullName) UnmarshalBinary ¶
func (m *VmwareTanzuManageV1alpha1AccountCredentialFullName) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VmwareTanzuManageV1alpha1AccountCredentialGetCredentialResponse ¶
type VmwareTanzuManageV1alpha1AccountCredentialGetCredentialResponse struct { // Credential returned. Credential *VmwareTanzuManageV1alpha1AccountCredentialCredential `json:"credential,omitempty"` }
VmwareTanzuManageV1alpha1AccountCredentialGetCredentialResponse Response from getting a Credential.
swagger:model vmware.tanzu.manage.v1alpha1.account.credential.GetCredentialResponse
func (*VmwareTanzuManageV1alpha1AccountCredentialGetCredentialResponse) MarshalBinary ¶
func (m *VmwareTanzuManageV1alpha1AccountCredentialGetCredentialResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VmwareTanzuManageV1alpha1AccountCredentialGetCredentialResponse) UnmarshalBinary ¶
func (m *VmwareTanzuManageV1alpha1AccountCredentialGetCredentialResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VmwareTanzuManageV1alpha1AccountCredentialMeta ¶
type VmwareTanzuManageV1alpha1AccountCredentialMeta struct { // Provider of the credential. Provider *VmwareTanzuManageV1alpha1AccountCredentialProvider `json:"provider,omitempty"` // Temporary credential support flag indicates if this credential should be kept private // and instead be used to generate temporary, short-lived, and scoped credentials. TemporaryCredentialSupport bool `json:"temporaryCredentialSupport,omitempty"` }
VmwareTanzuManageV1alpha1AccountCredentialMeta Credential metadata identifying additional details and the purpose of the credential.
swagger:model vmware.tanzu.manage.v1alpha1.account.credential.Meta
func (*VmwareTanzuManageV1alpha1AccountCredentialMeta) MarshalBinary ¶
func (m *VmwareTanzuManageV1alpha1AccountCredentialMeta) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VmwareTanzuManageV1alpha1AccountCredentialMeta) UnmarshalBinary ¶
func (m *VmwareTanzuManageV1alpha1AccountCredentialMeta) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VmwareTanzuManageV1alpha1AccountCredentialProvider ¶
type VmwareTanzuManageV1alpha1AccountCredentialProvider string
VmwareTanzuManageV1alpha1AccountCredentialProvider Provider definition - indicates the credential provider.
- PROVIDER_UNSPECIFIED: Unspecified credential provider (default).
- AWS_EC2: AmazonWeb Services EC2.
- GENERIC_S3: Generic S3 provider.
- AZURE_AD: Azure Active Directory.
- AWS_EKS: AWS EKS.
- AZURE_AKS: Azure AKS.
- GENERIC_KEY_VALUE: Generic key value pair.
swagger:model vmware.tanzu.manage.v1alpha1.account.credential.Provider
const ( // VmwareTanzuManageV1alpha1AccountCredentialProviderPROVIDERUNSPECIFIED captures enum value "PROVIDER_UNSPECIFIED" VmwareTanzuManageV1alpha1AccountCredentialProviderPROVIDERUNSPECIFIED VmwareTanzuManageV1alpha1AccountCredentialProvider = "PROVIDER_UNSPECIFIED" // VmwareTanzuManageV1alpha1AccountCredentialProviderAWSEC2 captures enum value "AWS_EC2" VmwareTanzuManageV1alpha1AccountCredentialProviderAWSEC2 VmwareTanzuManageV1alpha1AccountCredentialProvider = "AWS_EC2" // VmwareTanzuManageV1alpha1AccountCredentialProviderGENERICS3 captures enum value "GENERIC_S3" VmwareTanzuManageV1alpha1AccountCredentialProviderGENERICS3 VmwareTanzuManageV1alpha1AccountCredentialProvider = "GENERIC_S3" // VmwareTanzuManageV1alpha1AccountCredentialProviderAZUREAD captures enum value "AZURE_AD" VmwareTanzuManageV1alpha1AccountCredentialProviderAZUREAD VmwareTanzuManageV1alpha1AccountCredentialProvider = "AZURE_AD" // VmwareTanzuManageV1alpha1AccountCredentialProviderAWSEKS captures enum value "AWS_EKS" VmwareTanzuManageV1alpha1AccountCredentialProviderAWSEKS VmwareTanzuManageV1alpha1AccountCredentialProvider = "AWS_EKS" // VmwareTanzuManageV1alpha1AccountCredentialProviderAZUREAKS captures enum value "AZURE_AKS" VmwareTanzuManageV1alpha1AccountCredentialProviderAZUREAKS VmwareTanzuManageV1alpha1AccountCredentialProvider = "AZURE_AKS" // VmwareTanzuManageV1alpha1AccountCredentialProviderGENERICKEYVALUE captures enum value "GENERIC_KEY_VALUE" VmwareTanzuManageV1alpha1AccountCredentialProviderGENERICKEYVALUE VmwareTanzuManageV1alpha1AccountCredentialProvider = "GENERIC_KEY_VALUE" )
func NewVmwareTanzuManageV1alpha1AccountCredentialProvider ¶
func NewVmwareTanzuManageV1alpha1AccountCredentialProvider(value VmwareTanzuManageV1alpha1AccountCredentialProvider) *VmwareTanzuManageV1alpha1AccountCredentialProvider
func (VmwareTanzuManageV1alpha1AccountCredentialProvider) Pointer ¶
func (m VmwareTanzuManageV1alpha1AccountCredentialProvider) Pointer() *VmwareTanzuManageV1alpha1AccountCredentialProvider
Pointer returns a pointer to a freshly-allocated VmwareTanzuManageV1alpha1AccountCredentialProvider.
type VmwareTanzuManageV1alpha1AccountCredentialSpec ¶
type VmwareTanzuManageV1alpha1AccountCredentialSpec struct { // The Tanzu capability for which the credential shall be used. Capability string `json:"capability,omitempty"` // Credential data. Data *VmwareTanzuManageV1alpha1AccountCredentialData `json:"data,omitempty"` // Metadata and properties of the credential. Meta *VmwareTanzuManageV1alpha1AccountCredentialMeta `json:"meta,omitempty"` }
VmwareTanzuManageV1alpha1AccountCredentialSpec The credential object spec.
swagger:model vmware.tanzu.manage.v1alpha1.account.credential.Spec
func (*VmwareTanzuManageV1alpha1AccountCredentialSpec) MarshalBinary ¶
func (m *VmwareTanzuManageV1alpha1AccountCredentialSpec) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VmwareTanzuManageV1alpha1AccountCredentialSpec) UnmarshalBinary ¶
func (m *VmwareTanzuManageV1alpha1AccountCredentialSpec) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VmwareTanzuManageV1alpha1AccountCredentialStatus ¶
type VmwareTanzuManageV1alpha1AccountCredentialStatus struct { // Phase of the credential. Phase *VmwareTanzuManageV1alpha1AccountCredentialStatusPhase `json:"phase,omitempty"` // Additional information about the phase. PhaseInfo string `json:"phaseInfo,omitempty"` }
VmwareTanzuManageV1alpha1AccountCredentialStatus Status of the credential.
swagger:model vmware.tanzu.manage.v1alpha1.account.credential.Status
type VmwareTanzuManageV1alpha1AccountCredentialStatusPhase ¶
type VmwareTanzuManageV1alpha1AccountCredentialStatusPhase string
VmwareTanzuManageV1alpha1AccountCredentialStatusPhase The overall phase of a credential.
- PHASE_UNSPECIFIED: Unspecified phase.
- CREATED: The credential is created and can be used.
- VALIDATING: The credential's capabilities are being validated by the intended service.
Credentials can be used even if they have not been validated- this phase is set by the intended service if it validates credentials.
- VALID: The credential satisfies the intended service's requirements.
- INVALID: The credential does not satisfy the intended service's requirements.
Invalid credentials might require user action to fix their permissions- this information is provided by the intended service.
- ERROR: An error occurred while the credential was being created or validated.
- DELETING: The credential clean up has begun.
- DELETED: The credential clean up has completed and will be removed from TMC.
swagger:model vmware.tanzu.manage.v1alpha1.account.credential.Status.Phase
const ( // VmwareTanzuManageV1alpha1AccountCredentialStatusPhasePHASEUNSPECIFIED captures enum value "PHASE_UNSPECIFIED". VmwareTanzuManageV1alpha1AccountCredentialStatusPhasePHASEUNSPECIFIED VmwareTanzuManageV1alpha1AccountCredentialStatusPhase = "PHASE_UNSPECIFIED" // VmwareTanzuManageV1alpha1AccountCredentialStatusPhaseCREATED captures enum value "CREATED". VmwareTanzuManageV1alpha1AccountCredentialStatusPhaseCREATED VmwareTanzuManageV1alpha1AccountCredentialStatusPhase = "CREATED" // VmwareTanzuManageV1alpha1AccountCredentialStatusPhaseVALIDATING captures enum value "VALIDATING". VmwareTanzuManageV1alpha1AccountCredentialStatusPhaseVALIDATING VmwareTanzuManageV1alpha1AccountCredentialStatusPhase = "VALIDATING" // VmwareTanzuManageV1alpha1AccountCredentialStatusPhaseVALID captures enum value "VALID". VmwareTanzuManageV1alpha1AccountCredentialStatusPhaseVALID VmwareTanzuManageV1alpha1AccountCredentialStatusPhase = "VALID" // VmwareTanzuManageV1alpha1AccountCredentialStatusPhaseINVALID captures enum value "INVALID". VmwareTanzuManageV1alpha1AccountCredentialStatusPhaseINVALID VmwareTanzuManageV1alpha1AccountCredentialStatusPhase = "INVALID" // VmwareTanzuManageV1alpha1AccountCredentialStatusPhaseERROR captures enum value "ERROR". VmwareTanzuManageV1alpha1AccountCredentialStatusPhaseERROR VmwareTanzuManageV1alpha1AccountCredentialStatusPhase = "ERROR" // VmwareTanzuManageV1alpha1AccountCredentialStatusPhaseDELETING captures enum value "DELETING". VmwareTanzuManageV1alpha1AccountCredentialStatusPhaseDELETING VmwareTanzuManageV1alpha1AccountCredentialStatusPhase = "DELETING" // VmwareTanzuManageV1alpha1AccountCredentialStatusPhaseDELETED captures enum value "DELETED". VmwareTanzuManageV1alpha1AccountCredentialStatusPhaseDELETED VmwareTanzuManageV1alpha1AccountCredentialStatusPhase = "DELETED" )
func NewVmwareTanzuManageV1alpha1AccountCredentialStatusPhase ¶
func NewVmwareTanzuManageV1alpha1AccountCredentialStatusPhase(value VmwareTanzuManageV1alpha1AccountCredentialStatusPhase) *VmwareTanzuManageV1alpha1AccountCredentialStatusPhase
func (VmwareTanzuManageV1alpha1AccountCredentialStatusPhase) Pointer ¶
func (m VmwareTanzuManageV1alpha1AccountCredentialStatusPhase) Pointer() *VmwareTanzuManageV1alpha1AccountCredentialStatusPhase
Pointer returns a pointer to a freshly-allocated VmwareTanzuManageV1alpha1AccountCredentialStatusPhase.
type VmwareTanzuManageV1alpha1AccountCredentialTypeAwsAccessKey ¶
type VmwareTanzuManageV1alpha1AccountCredentialTypeAwsAccessKey struct { // AWS access key ID. AccessKeyID string `json:"accessKeyId,omitempty"` // Secret access key for the access key ID. SecretAccessKey string `json:"secretAccessKey,omitempty"` }
VmwareTanzuManageV1alpha1AccountCredentialTypeAwsAccessKey AWS access key ID and secret access key pair.
swagger:model vmware.tanzu.manage.v1alpha1.account.credential.type.aws.AccessKey
type VmwareTanzuManageV1alpha1AccountCredentialTypeAwsIAMRole ¶
type VmwareTanzuManageV1alpha1AccountCredentialTypeAwsIAMRole struct { // AWS IAM role ARN. Arn string `json:"arn,omitempty"` // An external ID used to assume an AWS IAM role. ExtID string `json:"extId,omitempty"` }
VmwareTanzuManageV1alpha1AccountCredentialTypeAwsIAMRole AWS IAM role ARN and external ID.
swagger:model vmware.tanzu.manage.v1alpha1.account.credential.type.aws.IAMRole
type VmwareTanzuManageV1alpha1AccountCredentialTypeAwsSpec ¶
type VmwareTanzuManageV1alpha1AccountCredentialTypeAwsSpec struct { // AWS access key ID and secret access key. AccessKey *VmwareTanzuManageV1alpha1AccountCredentialTypeAwsAccessKey `json:"accessKey,omitempty"` // Account ID of the AWS credential. AccountID string `json:"accountId,omitempty"` // Generic credential. GenericCredential string `json:"genericCredential,omitempty"` // AWS IAM role ARN and external ID. IamRole *VmwareTanzuManageV1alpha1AccountCredentialTypeAwsIAMRole `json:"iamRole,omitempty"` }
VmwareTanzuManageV1alpha1AccountCredentialTypeAwsSpec AWS credential spec.
swagger:model vmware.tanzu.manage.v1alpha1.account.credential.type.aws.Spec
func (*VmwareTanzuManageV1alpha1AccountCredentialTypeAwsSpec) MarshalBinary ¶
func (m *VmwareTanzuManageV1alpha1AccountCredentialTypeAwsSpec) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VmwareTanzuManageV1alpha1AccountCredentialTypeAwsSpec) UnmarshalBinary ¶
func (m *VmwareTanzuManageV1alpha1AccountCredentialTypeAwsSpec) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VmwareTanzuManageV1alpha1AccountCredentialTypeAzureServicePrincipal ¶ added in v1.3.1
type VmwareTanzuManageV1alpha1AccountCredentialTypeAzureServicePrincipal struct { // Azure Cloud name. AzureCloudName string `json:"azureCloudName,omitempty"` // Client ID of the Service Principal. ClientID string `json:"clientId,omitempty"` // Client Secret of the Service Principal. ClientSecret string `json:"clientSecret,omitempty"` // Resource Group name. ResourceGroup string `json:"resourceGroup,omitempty"` // Subscription ID of the Azure credential. SubscriptionID string `json:"subscriptionId,omitempty"` // Tenant ID of the Azure credential. TenantID string `json:"tenantId,omitempty"` }
VmwareTanzuManageV1alpha1AccountCredentialTypeAzureServicePrincipal Azure Service Principal.
swagger:model vmware.tanzu.manage.v1alpha1.account.credential.type.azure.ServicePrincipal
func (*VmwareTanzuManageV1alpha1AccountCredentialTypeAzureServicePrincipal) MarshalBinary ¶ added in v1.3.1
func (m *VmwareTanzuManageV1alpha1AccountCredentialTypeAzureServicePrincipal) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VmwareTanzuManageV1alpha1AccountCredentialTypeAzureServicePrincipal) UnmarshalBinary ¶ added in v1.3.1
func (m *VmwareTanzuManageV1alpha1AccountCredentialTypeAzureServicePrincipal) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VmwareTanzuManageV1alpha1AccountCredentialTypeAzureServicePrincipalWithCertificate ¶ added in v1.3.1
type VmwareTanzuManageV1alpha1AccountCredentialTypeAzureServicePrincipalWithCertificate struct { // Azure Cloud name. AzureCloudName string `json:"azureCloudName,omitempty"` // Client certificate of the Service Principal. ClientCertificate string `json:"clientCertificate,omitempty"` // Client ID of the Service Principal. ClientID string `json:"clientId,omitempty"` // IDs of the Azure Subscriptions that the Service Principal can manage. ManagedSubscriptions []string `json:"managedSubscriptions"` // Subscription ID of the Azure credential. SubscriptionID string `json:"subscriptionId,omitempty"` // Tenant ID of the Azure credential. TenantID string `json:"tenantId,omitempty"` }
VmwareTanzuManageV1alpha1AccountCredentialTypeAzureServicePrincipalWithCertificate Azure Service Principal with client certificate.
swagger:model vmware.tanzu.manage.v1alpha1.account.credential.type.azure.ServicePrincipalWithCertificate
func (*VmwareTanzuManageV1alpha1AccountCredentialTypeAzureServicePrincipalWithCertificate) ContextValidate ¶ added in v1.3.1
func (m *VmwareTanzuManageV1alpha1AccountCredentialTypeAzureServicePrincipalWithCertificate) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this vmware tanzu manage v1alpha1 account credential type azure service principal with certificate based on context it is used
func (*VmwareTanzuManageV1alpha1AccountCredentialTypeAzureServicePrincipalWithCertificate) MarshalBinary ¶ added in v1.3.1
func (m *VmwareTanzuManageV1alpha1AccountCredentialTypeAzureServicePrincipalWithCertificate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VmwareTanzuManageV1alpha1AccountCredentialTypeAzureServicePrincipalWithCertificate) UnmarshalBinary ¶ added in v1.3.1
func (m *VmwareTanzuManageV1alpha1AccountCredentialTypeAzureServicePrincipalWithCertificate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*VmwareTanzuManageV1alpha1AccountCredentialTypeAzureServicePrincipalWithCertificate) Validate ¶ added in v1.3.1
func (m *VmwareTanzuManageV1alpha1AccountCredentialTypeAzureServicePrincipalWithCertificate) Validate(formats strfmt.Registry) error
Validate validates this vmware tanzu manage v1alpha1 account credential type azure service principal with certificate
type VmwareTanzuManageV1alpha1AccountCredentialTypeAzureSpec ¶ added in v1.3.1
type VmwareTanzuManageV1alpha1AccountCredentialTypeAzureSpec struct { // Service Principal. ServicePrincipal *VmwareTanzuManageV1alpha1AccountCredentialTypeAzureServicePrincipal `json:"servicePrincipal,omitempty"` // ServicePrincipalWithCertificate. ServicePrincipalWithCertificate *VmwareTanzuManageV1alpha1AccountCredentialTypeAzureServicePrincipalWithCertificate `json:"servicePrincipalWithCertificate,omitempty"` }
VmwareTanzuManageV1alpha1AccountCredentialTypeAzureSpec Azure credential spec.
swagger:model vmware.tanzu.manage.v1alpha1.account.credential.type.azure.Spec
func (*VmwareTanzuManageV1alpha1AccountCredentialTypeAzureSpec) MarshalBinary ¶ added in v1.3.1
func (m *VmwareTanzuManageV1alpha1AccountCredentialTypeAzureSpec) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VmwareTanzuManageV1alpha1AccountCredentialTypeAzureSpec) UnmarshalBinary ¶ added in v1.3.1
func (m *VmwareTanzuManageV1alpha1AccountCredentialTypeAzureSpec) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VmwareTanzuManageV1alpha1AccountCredentialTypeKeyvalueSpec ¶
type VmwareTanzuManageV1alpha1AccountCredentialTypeKeyvalueSpec struct { // Data contains the secret data. Each key must consist of alphanumeric // characters, '-', '_' or '.'. Data map[string]strfmt.Base64 `json:"data,omitempty"` // Type of Secret. // The default value is SECRET_TYPE_OPAQUE. Type *VmwareTanzuManageV1alpha1AccountCredentialTypeKeyvalueSpecSecretType `json:"type,omitempty"` }
VmwareTanzuManageV1alpha1AccountCredentialTypeKeyvalueSpec KeyValue Type credential stored in Account Manager.
swagger:model vmware.tanzu.manage.v1alpha1.account.credential.type.keyvalue.Spec
type VmwareTanzuManageV1alpha1AccountCredentialTypeKeyvalueSpecSecretType ¶
type VmwareTanzuManageV1alpha1AccountCredentialTypeKeyvalueSpecSecretType string
VmwareTanzuManageV1alpha1AccountCredentialTypeKeyvalueSpecSecretType Type of Secret.
- SECRET_TYPE_UNSPECIFIED: SECRET_TYPE_UNSPECIFIED is default.
- OPAQUE_SECRET_TYPE: SECRET_TYPE_OPAQUE maps to the k8s secret type OPAQUE.
It is arbitrary user-defined data.
- DOCKERCONFIGJSON_SECRET_TYPE: DOCKERCONFIGJSON_SECRET_TYPE maps to Kubernetes secrets type kubernetes.io/dockerconfigjson.
swagger:model vmware.tanzu.manage.v1alpha1.account.credential.type.keyvalue.Spec.SecretType
const ( // VmwareTanzuManageV1alpha1AccountCredentialTypeKeyvalueSpecSecretTypeSECRETTYPEUNSPECIFIED captures enum value "SECRET_TYPE_UNSPECIFIED" VmwareTanzuManageV1alpha1AccountCredentialTypeKeyvalueSpecSecretTypeSECRETTYPEUNSPECIFIED VmwareTanzuManageV1alpha1AccountCredentialTypeKeyvalueSpecSecretType = "SECRET_TYPE_UNSPECIFIED" // VmwareTanzuManageV1alpha1AccountCredentialTypeKeyvalueSpecSecretTypeOPAQUESECRETTYPE captures enum value "OPAQUE_SECRET_TYPE" VmwareTanzuManageV1alpha1AccountCredentialTypeKeyvalueSpecSecretTypeOPAQUESECRETTYPE VmwareTanzuManageV1alpha1AccountCredentialTypeKeyvalueSpecSecretType = "OPAQUE_SECRET_TYPE" // VmwareTanzuManageV1alpha1AccountCredentialTypeKeyvalueSpecSecretTypeDOCKERCONFIGJSONSECRETTYPE captures enum value "DOCKERCONFIGJSON_SECRET_TYPE" VmwareTanzuManageV1alpha1AccountCredentialTypeKeyvalueSpecSecretTypeDOCKERCONFIGJSONSECRETTYPE VmwareTanzuManageV1alpha1AccountCredentialTypeKeyvalueSpecSecretType = "DOCKERCONFIGJSON_SECRET_TYPE" )
func NewVmwareTanzuManageV1alpha1AccountCredentialTypeKeyvalueSpecSecretType ¶
func NewVmwareTanzuManageV1alpha1AccountCredentialTypeKeyvalueSpecSecretType(value VmwareTanzuManageV1alpha1AccountCredentialTypeKeyvalueSpecSecretType) *VmwareTanzuManageV1alpha1AccountCredentialTypeKeyvalueSpecSecretType
func (VmwareTanzuManageV1alpha1AccountCredentialTypeKeyvalueSpecSecretType) Pointer ¶
func (m VmwareTanzuManageV1alpha1AccountCredentialTypeKeyvalueSpecSecretType) Pointer() *VmwareTanzuManageV1alpha1AccountCredentialTypeKeyvalueSpecSecretType
Pointer returns a pointer to a freshly-allocated VmwareTanzuManageV1alpha1AccountCredentialTypeKeyvalueSpecSecretType.