Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=api.mongodbatlas.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type Key
- func (in *Key) DeepCopy() *Key
- func (in *Key) DeepCopyInto(out *Key)
- func (in *Key) DeepCopyObject() runtime.Object
- func (mg *Key) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Key) GetConnectionDetailsMapping() map[string]string
- func (mg *Key) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Key) GetID() string
- func (mg *Key) GetManagementPolicy() xpv1.ManagementPolicy
- func (tr *Key) GetObservation() (map[string]any, error)
- func (tr *Key) GetParameters() (map[string]any, error)
- func (mg *Key) GetProviderConfigReference() *xpv1.Reference
- func (mg *Key) GetProviderReference() *xpv1.Reference
- func (mg *Key) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Key) GetTerraformResourceType() string
- func (tr *Key) GetTerraformSchemaVersion() int
- func (mg *Key) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Key) LateInitialize(attrs []byte) (bool, error)
- func (mg *Key) SetConditions(c ...xpv1.Condition)
- func (mg *Key) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Key) SetManagementPolicy(r xpv1.ManagementPolicy)
- func (tr *Key) SetObservation(obs map[string]any) error
- func (tr *Key) SetParameters(params map[string]any) error
- func (mg *Key) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Key) SetProviderReference(r *xpv1.Reference)
- func (mg *Key) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Key) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type KeyList
- type KeyObservation
- type KeyParameters
- type KeySpec
- type KeyStatus
Constants ¶
const ( CRDGroup = "api.mongodbatlas.crossplane.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
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 )
var ( Key_Kind = "Key" Key_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Key_Kind}.String() Key_KindAPIVersion = Key_Kind + "." + CRDGroupVersion.String() Key_GroupVersionKind = CRDGroupVersion.WithKind(Key_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type Key ¶
type Key struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.description)",message="description is a required parameter" // +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.orgId)",message="orgId is a required parameter" // +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.roleNames)",message="roleNames is a required parameter" Spec KeySpec `json:"spec"` Status KeyStatus `json:"status,omitempty"` }
Key is the Schema for the Keys API. Provides a API Key resource. +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,mongodbatlas}
func (*Key) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Key.
func (*Key) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Key) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Key) GetCondition ¶
func (mg *Key) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Key.
func (*Key) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Key
func (*Key) GetDeletionPolicy ¶
func (mg *Key) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Key.
func (*Key) GetManagementPolicy ¶
func (mg *Key) GetManagementPolicy() xpv1.ManagementPolicy
GetManagementPolicy of this Key.
func (*Key) GetObservation ¶
GetObservation of this Key
func (*Key) GetParameters ¶
GetParameters of this Key
func (*Key) GetProviderConfigReference ¶
GetProviderConfigReference of this Key.
func (*Key) GetProviderReference ¶
GetProviderReference of this Key. Deprecated: Use GetProviderConfigReference.
func (*Key) GetPublishConnectionDetailsTo ¶
func (mg *Key) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Key.
func (*Key) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Key
func (*Key) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Key) GetWriteConnectionSecretToReference ¶
func (mg *Key) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Key.
func (*Key) LateInitialize ¶
LateInitialize this Key using its observed tfState. returns True if there are any spec changes for the resource.
func (*Key) SetConditions ¶
SetConditions of this Key.
func (*Key) SetDeletionPolicy ¶
func (mg *Key) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Key.
func (*Key) SetManagementPolicy ¶
func (mg *Key) SetManagementPolicy(r xpv1.ManagementPolicy)
SetManagementPolicy of this Key.
func (*Key) SetObservation ¶
SetObservation for this Key
func (*Key) SetParameters ¶
SetParameters for this Key
func (*Key) SetProviderConfigReference ¶
SetProviderConfigReference of this Key.
func (*Key) SetProviderReference ¶
SetProviderReference of this Key. Deprecated: Use SetProviderConfigReference.
func (*Key) SetPublishConnectionDetailsTo ¶
func (mg *Key) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Key.
func (*Key) SetWriteConnectionSecretToReference ¶
func (mg *Key) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Key.
type KeyList ¶
type KeyList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Key `json:"items"` }
KeyList contains a list of Keys
func (*KeyList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyList.
func (*KeyList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KeyList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type KeyObservation ¶
type KeyObservation struct { // Unique identifier for this Organization API key. APIKeyID *string `json:"apiKeyId,omitempty" tf:"api_key_id,omitempty"` // Description of this Organization API key. Description *string `json:"description,omitempty" tf:"description,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` // Unique identifier for the organization whose API keys you want to retrieve. Use the /orgs endpoint to retrieve all organizations to which the authenticated user has access. OrgID *string `json:"orgId,omitempty" tf:"org_id,omitempty"` PublicKey *string `json:"publicKey,omitempty" tf:"public_key,omitempty"` // Name of the role. This resource returns all the roles the user has in Atlas. // The following are valid roles: RoleNames []*string `json:"roleNames,omitempty" tf:"role_names,omitempty"` }
func (*KeyObservation) DeepCopy ¶
func (in *KeyObservation) DeepCopy() *KeyObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyObservation.
func (*KeyObservation) DeepCopyInto ¶
func (in *KeyObservation) DeepCopyInto(out *KeyObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KeyParameters ¶
type KeyParameters struct { // Description of this Organization API key. // +kubebuilder:validation:Optional Description *string `json:"description,omitempty" tf:"description,omitempty"` // Unique identifier for the organization whose API keys you want to retrieve. Use the /orgs endpoint to retrieve all organizations to which the authenticated user has access. // +kubebuilder:validation:Optional OrgID *string `json:"orgId,omitempty" tf:"org_id,omitempty"` // Name of the role. This resource returns all the roles the user has in Atlas. // The following are valid roles: // +kubebuilder:validation:Optional RoleNames []*string `json:"roleNames,omitempty" tf:"role_names,omitempty"` }
func (*KeyParameters) DeepCopy ¶
func (in *KeyParameters) DeepCopy() *KeyParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyParameters.
func (*KeyParameters) DeepCopyInto ¶
func (in *KeyParameters) DeepCopyInto(out *KeyParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KeySpec ¶
type KeySpec struct { v1.ResourceSpec `json:",inline"` ForProvider KeyParameters `json:"forProvider"` }
KeySpec defines the desired state of Key
func (*KeySpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeySpec.
func (*KeySpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KeyStatus ¶
type KeyStatus struct { v1.ResourceStatus `json:",inline"` AtProvider KeyObservation `json:"atProvider,omitempty"` }
KeyStatus defines the observed state of Key.
func (*KeyStatus) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyStatus.
func (*KeyStatus) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.