Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=cloudcredential.taikun.jet.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type Credential
- func (in *Credential) DeepCopy() *Credential
- func (in *Credential) DeepCopyInto(out *Credential)
- func (in *Credential) DeepCopyObject() runtime.Object
- func (mg *Credential) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Credential) GetConnectionDetailsMapping() map[string]string
- func (mg *Credential) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Credential) GetID() string
- func (tr *Credential) GetObservation() (map[string]interface{}, error)
- func (tr *Credential) GetParameters() (map[string]interface{}, error)
- func (mg *Credential) GetProviderConfigReference() *xpv1.Reference
- func (mg *Credential) GetProviderReference() *xpv1.Reference
- func (mg *Credential) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Credential) GetTerraformResourceType() string
- func (tr *Credential) GetTerraformSchemaVersion() int
- func (mg *Credential) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Credential) LateInitialize(attrs []byte) (bool, error)
- func (mg *Credential) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Credential) SetConditions(c ...xpv1.Condition)
- func (mg *Credential) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *Credential) SetObservation(obs map[string]interface{}) error
- func (tr *Credential) SetParameters(params map[string]interface{}) error
- func (mg *Credential) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Credential) SetProviderReference(r *xpv1.Reference)
- func (mg *Credential) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Credential) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type CredentialList
- type CredentialObservation
- type CredentialParameters
- type CredentialSpec
- type CredentialStatus
Constants ¶
const ( CRDGroup = "cloudcredential.taikun.jet.crossplane.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
var ( Credential_Kind = "Credential" Credential_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Credential_Kind}.String() Credential_KindAPIVersion = Credential_Kind + "." + CRDGroupVersion.String() Credential_GroupVersionKind = CRDGroupVersion.WithKind(Credential_Kind) )
Repository type metadata.
var ( // CRDGroupVersion is the API Group Version used to register the objects CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type Credential ¶
type Credential struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec CredentialSpec `json:"spec"` Status CredentialStatus `json:"status,omitempty"` }
Credential is the Schema for the Credentials API +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,taikunjet}
func (*Credential) DeepCopy ¶
func (in *Credential) DeepCopy() *Credential
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Credential.
func (*Credential) DeepCopyInto ¶
func (in *Credential) DeepCopyInto(out *Credential)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Credential) DeepCopyObject ¶
func (in *Credential) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Credential) GetCondition ¶
func (mg *Credential) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Credential.
func (*Credential) GetConnectionDetailsMapping ¶
func (tr *Credential) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this Credential
func (*Credential) GetDeletionPolicy ¶
func (mg *Credential) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Credential.
func (*Credential) GetID ¶
func (tr *Credential) GetID() string
GetID returns ID of underlying Terraform resource of this Credential
func (*Credential) GetObservation ¶
func (tr *Credential) GetObservation() (map[string]interface{}, error)
GetObservation of this Credential
func (*Credential) GetParameters ¶
func (tr *Credential) GetParameters() (map[string]interface{}, error)
GetParameters of this Credential
func (*Credential) GetProviderConfigReference ¶
func (mg *Credential) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this Credential.
func (*Credential) GetProviderReference ¶
func (mg *Credential) GetProviderReference() *xpv1.Reference
GetProviderReference of this Credential. Deprecated: Use GetProviderConfigReference.
func (*Credential) GetPublishConnectionDetailsTo ¶
func (mg *Credential) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Credential.
func (*Credential) GetTerraformResourceType ¶
func (mg *Credential) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this Credential
func (*Credential) GetTerraformSchemaVersion ¶
func (tr *Credential) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Credential) GetWriteConnectionSecretToReference ¶
func (mg *Credential) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Credential.
func (*Credential) LateInitialize ¶
func (tr *Credential) LateInitialize(attrs []byte) (bool, error)
LateInitialize this Credential using its observed tfState. returns True if there are any spec changes for the resource.
func (*Credential) ResolveReferences ¶
ResolveReferences of this Credential.
func (*Credential) SetConditions ¶
func (mg *Credential) SetConditions(c ...xpv1.Condition)
SetConditions of this Credential.
func (*Credential) SetDeletionPolicy ¶
func (mg *Credential) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Credential.
func (*Credential) SetObservation ¶
func (tr *Credential) SetObservation(obs map[string]interface{}) error
SetObservation for this Credential
func (*Credential) SetParameters ¶
func (tr *Credential) SetParameters(params map[string]interface{}) error
SetParameters for this Credential
func (*Credential) SetProviderConfigReference ¶
func (mg *Credential) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this Credential.
func (*Credential) SetProviderReference ¶
func (mg *Credential) SetProviderReference(r *xpv1.Reference)
SetProviderReference of this Credential. Deprecated: Use SetProviderConfigReference.
func (*Credential) SetPublishConnectionDetailsTo ¶
func (mg *Credential) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Credential.
func (*Credential) SetWriteConnectionSecretToReference ¶
func (mg *Credential) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Credential.
type CredentialList ¶
type CredentialList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Credential `json:"items"` }
CredentialList contains a list of Credentials
func (*CredentialList) DeepCopy ¶
func (in *CredentialList) DeepCopy() *CredentialList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CredentialList.
func (*CredentialList) DeepCopyInto ¶
func (in *CredentialList) DeepCopyInto(out *CredentialList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CredentialList) DeepCopyObject ¶
func (in *CredentialList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*CredentialList) GetItems ¶
func (l *CredentialList) GetItems() []resource.Managed
GetItems of this CredentialList.
type CredentialObservation ¶
type CredentialObservation struct { BillingAccountName *string `json:"billingAccountName,omitempty" tf:"billing_account_name,omitempty"` CreatedBy *string `json:"createdBy,omitempty" tf:"created_by,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` IsDefault *bool `json:"isDefault,omitempty" tf:"is_default,omitempty"` LastModified *string `json:"lastModified,omitempty" tf:"last_modified,omitempty"` LastModifiedBy *string `json:"lastModifiedBy,omitempty" tf:"last_modified_by,omitempty"` OrganizationName *string `json:"organizationName,omitempty" tf:"organization_name,omitempty"` ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"` }
func (*CredentialObservation) DeepCopy ¶
func (in *CredentialObservation) DeepCopy() *CredentialObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CredentialObservation.
func (*CredentialObservation) DeepCopyInto ¶
func (in *CredentialObservation) DeepCopyInto(out *CredentialObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CredentialParameters ¶
type CredentialParameters struct { // The AWS access key ID. Required for AWS. // +kubebuilder:validation:Optional AccessKeyIDSecretRef *v1.SecretKeySelector `json:"accessKeyIdSecretRef,omitempty" tf:"-"` // The availability zone of the cloud credential. Optional for Openstack. Required for AWS and Azure. See `zone` for GCP. // +kubebuilder:validation:Optional AvailabilityZone *string `json:"availabilityZone,omitempty" tf:"availability_zone,omitempty"` // The ID of the GCP credential's billing account. Conflicts with: `import_project`. // +kubebuilder:validation:Optional BillingAccountID *string `json:"billingAccountId,omitempty" tf:"billing_account_id,omitempty"` // The Azure client ID. Required for Azure. // +kubebuilder:validation:Optional ClientIDSecretRef *v1.SecretKeySelector `json:"clientIdSecretRef,omitempty" tf:"-"` // The Azure client secret. Required for Azure. // +kubebuilder:validation:Optional ClientSecretSecretRef *v1.SecretKeySelector `json:"clientSecretSecretRef,omitempty" tf:"-"` // The path of the GCP credential's configuration file. Required for GCP. // +kubebuilder:validation:Optional ConfigFile *string `json:"configFile,omitempty" tf:"config_file,omitempty"` // The OpenStack domain. Required for Openstack. // +kubebuilder:validation:Optional Domain *string `json:"domain,omitempty" tf:"domain,omitempty"` // The folder ID of the GCP credential. Conflicts with: `import_project`. // +kubebuilder:validation:Optional FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"` // Whether to import a project or not Defaults to `false`. Conflicts with: `billing_account_id`, `folder_id`. // +kubebuilder:validation:Optional ImportProject *bool `json:"importProject,omitempty" tf:"import_project,omitempty"` // The OpenStack network subnet ID to import a network. // +kubebuilder:validation:Optional ImportedNetworkSubnetID *string `json:"importedNetworkSubnetId,omitempty" tf:"imported_network_subnet_id,omitempty"` // The Azure location. Required for Azure. // +kubebuilder:validation:Optional Location *string `json:"location,omitempty" tf:"location,omitempty"` // Indicates whether to lock the cloud credential. Defaults to `false`. // +kubebuilder:validation:Optional Lock *bool `json:"lock,omitempty" tf:"lock,omitempty"` // The name of the cloud credential. // +kubebuilder:validation:Required Name *string `json:"name" tf:"name,omitempty"` // The ID of the organization which owns the cloud credential. // +crossplane:generate:reference:type=github.com/nivraph/provider-jet-taikun/apis/organization/v1alpha1.Organization // +kubebuilder:validation:Optional OrganizationID *string `json:"organizationId,omitempty" tf:"organization_id,omitempty"` // +kubebuilder:validation:Optional OrganizationIDRef *v1.Reference `json:"organizationIdRef,omitempty" tf:"-"` // +kubebuilder:validation:Optional OrganizationIDSelector *v1.Selector `json:"organizationIdSelector,omitempty" tf:"-"` // The OpenStack password. Required for Openstack. // +kubebuilder:validation:Optional PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"` // The OpenStack project name. Required for Openstack. // +kubebuilder:validation:Optional ProjectName *string `json:"projectName,omitempty" tf:"project_name,omitempty"` // The name of the public OpenStack network to use. Required for Openstack. // +kubebuilder:validation:Optional PublicNetworkName *string `json:"publicNetworkName,omitempty" tf:"public_network_name,omitempty"` // The region of the cloud credential. Required for Openstack, AWS and GCP. // +kubebuilder:validation:Optional Region *string `json:"region,omitempty" tf:"region,omitempty"` // The AWS secret access key. Required for AWS. // +kubebuilder:validation:Optional SecretAccessKeySecretRef *v1.SecretKeySelector `json:"secretAccessKeySecretRef,omitempty" tf:"-"` // The Azure subscription ID. Required for Azure. // +kubebuilder:validation:Optional SubscriptionID *string `json:"subscriptionId,omitempty" tf:"subscription_id,omitempty"` // The Azure tenant ID. Required for Azure. // +kubebuilder:validation:Optional TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"` // The type of the cloud credential. // +kubebuilder:validation:Required Type *string `json:"type" tf:"type,omitempty"` // The OpenStack authentication URL. Required for Openstack. // +kubebuilder:validation:Optional URL *string `json:"url,omitempty" tf:"url,omitempty"` // The OpenStack user. Required for Openstack. // +kubebuilder:validation:Optional User *string `json:"user,omitempty" tf:"user,omitempty"` // The OpenStack type of volume. // +kubebuilder:validation:Optional VolumeTypeName *string `json:"volumeTypeName,omitempty" tf:"volume_type_name,omitempty"` // The zone of the GCP credential. Required for GCP. // +kubebuilder:validation:Optional Zone *string `json:"zone,omitempty" tf:"zone,omitempty"` }
func (*CredentialParameters) DeepCopy ¶
func (in *CredentialParameters) DeepCopy() *CredentialParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CredentialParameters.
func (*CredentialParameters) DeepCopyInto ¶
func (in *CredentialParameters) DeepCopyInto(out *CredentialParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CredentialSpec ¶
type CredentialSpec struct { v1.ResourceSpec `json:",inline"` ForProvider CredentialParameters `json:"forProvider"` }
CredentialSpec defines the desired state of Credential
func (*CredentialSpec) DeepCopy ¶
func (in *CredentialSpec) DeepCopy() *CredentialSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CredentialSpec.
func (*CredentialSpec) DeepCopyInto ¶
func (in *CredentialSpec) DeepCopyInto(out *CredentialSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CredentialStatus ¶
type CredentialStatus struct { v1.ResourceStatus `json:",inline"` AtProvider CredentialObservation `json:"atProvider,omitempty"` }
CredentialStatus defines the observed state of Credential.
func (*CredentialStatus) DeepCopy ¶
func (in *CredentialStatus) DeepCopy() *CredentialStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CredentialStatus.
func (*CredentialStatus) DeepCopyInto ¶
func (in *CredentialStatus) DeepCopyInto(out *CredentialStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.