Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=database.mongodbatlas.jet.crossplane.io +versionName=v1alpha2
Index ¶
- Constants
- Variables
- type LabelsObservation
- type LabelsParameters
- type RolesObservation
- type RolesParameters
- type ScopesObservation
- type ScopesParameters
- type User
- func (in *User) DeepCopy() *User
- func (in *User) DeepCopyInto(out *User)
- func (in *User) DeepCopyObject() runtime.Object
- func (mg *User) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *User) GetConnectionDetailsMapping() map[string]string
- func (mg *User) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *User) GetID() string
- func (tr *User) GetObservation() (map[string]interface{}, error)
- func (tr *User) GetParameters() (map[string]interface{}, error)
- func (mg *User) GetProviderConfigReference() *xpv1.Reference
- func (mg *User) GetProviderReference() *xpv1.Reference
- func (mg *User) GetTerraformResourceType() string
- func (tr *User) GetTerraformSchemaVersion() int
- func (mg *User) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *User) LateInitialize(attrs []byte) (bool, error)
- func (mg *User) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *User) SetConditions(c ...xpv1.Condition)
- func (mg *User) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *User) SetObservation(obs map[string]interface{}) error
- func (tr *User) SetParameters(params map[string]interface{}) error
- func (mg *User) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *User) SetProviderReference(r *xpv1.Reference)
- func (mg *User) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type UserList
- type UserObservation
- type UserParameters
- type UserSpec
- type UserStatus
Constants ¶
const ( CRDGroup = "database.mongodbatlas.jet.crossplane.io" CRDVersion = "v1alpha2" )
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 ( User_Kind = "User" User_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: User_Kind}.String() User_KindAPIVersion = User_Kind + "." + CRDGroupVersion.String() User_GroupVersionKind = CRDGroupVersion.WithKind(User_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type LabelsObservation ¶
type LabelsObservation struct { }
func (*LabelsObservation) DeepCopy ¶
func (in *LabelsObservation) DeepCopy() *LabelsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LabelsObservation.
func (*LabelsObservation) DeepCopyInto ¶
func (in *LabelsObservation) DeepCopyInto(out *LabelsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LabelsParameters ¶
type LabelsParameters struct { // +kubebuilder:validation:Optional Key *string `json:"key,omitempty" tf:"key,omitempty"` // +kubebuilder:validation:Optional Value *string `json:"value,omitempty" tf:"value,omitempty"` }
func (*LabelsParameters) DeepCopy ¶
func (in *LabelsParameters) DeepCopy() *LabelsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LabelsParameters.
func (*LabelsParameters) DeepCopyInto ¶
func (in *LabelsParameters) DeepCopyInto(out *LabelsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RolesObservation ¶
type RolesObservation struct { }
func (*RolesObservation) DeepCopy ¶
func (in *RolesObservation) DeepCopy() *RolesObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RolesObservation.
func (*RolesObservation) DeepCopyInto ¶
func (in *RolesObservation) DeepCopyInto(out *RolesObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RolesParameters ¶
type RolesParameters struct { // +kubebuilder:validation:Optional CollectionName *string `json:"collectionName,omitempty" tf:"collection_name,omitempty"` // +kubebuilder:validation:Optional DatabaseName *string `json:"databaseName,omitempty" tf:"database_name,omitempty"` // +kubebuilder:validation:Optional RoleName *string `json:"roleName,omitempty" tf:"role_name,omitempty"` }
func (*RolesParameters) DeepCopy ¶
func (in *RolesParameters) DeepCopy() *RolesParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RolesParameters.
func (*RolesParameters) DeepCopyInto ¶
func (in *RolesParameters) DeepCopyInto(out *RolesParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ScopesObservation ¶
type ScopesObservation struct { }
func (*ScopesObservation) DeepCopy ¶
func (in *ScopesObservation) DeepCopy() *ScopesObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScopesObservation.
func (*ScopesObservation) DeepCopyInto ¶
func (in *ScopesObservation) DeepCopyInto(out *ScopesObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ScopesParameters ¶
type ScopesParameters struct { // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` // +kubebuilder:validation:Optional Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*ScopesParameters) DeepCopy ¶
func (in *ScopesParameters) DeepCopy() *ScopesParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScopesParameters.
func (*ScopesParameters) DeepCopyInto ¶
func (in *ScopesParameters) DeepCopyInto(out *ScopesParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type User ¶
type User struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec UserSpec `json:"spec"` Status UserStatus `json:"status,omitempty"` }
User is the Schema for the Users 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,mongodbatlasjet}
func (*User) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new User.
func (*User) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*User) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*User) GetCondition ¶
func (mg *User) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this User.
func (*User) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this User
func (*User) GetDeletionPolicy ¶
func (mg *User) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this User.
func (*User) GetObservation ¶
GetObservation of this User
func (*User) GetParameters ¶
GetParameters of this User
func (*User) GetProviderConfigReference ¶
GetProviderConfigReference of this User.
func (*User) GetProviderReference ¶
GetProviderReference of this User. Deprecated: Use GetProviderConfigReference.
func (*User) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this User
func (*User) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*User) GetWriteConnectionSecretToReference ¶
func (mg *User) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this User.
func (*User) LateInitialize ¶
LateInitialize this User using its observed tfState. returns True if there are any spec changes for the resource.
func (*User) ResolveReferences ¶
ResolveReferences of this User.
func (*User) SetConditions ¶
SetConditions of this User.
func (*User) SetDeletionPolicy ¶
func (mg *User) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this User.
func (*User) SetObservation ¶
SetObservation for this User
func (*User) SetParameters ¶
SetParameters for this User
func (*User) SetProviderConfigReference ¶
SetProviderConfigReference of this User.
func (*User) SetProviderReference ¶
SetProviderReference of this User. Deprecated: Use SetProviderConfigReference.
func (*User) SetWriteConnectionSecretToReference ¶
func (mg *User) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this User.
type UserList ¶
type UserList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []User `json:"items"` }
UserList contains a list of Users
func (*UserList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserList.
func (*UserList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*UserList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type UserObservation ¶
type UserObservation struct {
ID *string `json:"id,omitempty" tf:"id,omitempty"`
}
func (*UserObservation) DeepCopy ¶
func (in *UserObservation) DeepCopy() *UserObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserObservation.
func (*UserObservation) DeepCopyInto ¶
func (in *UserObservation) DeepCopyInto(out *UserObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UserParameters ¶
type UserParameters struct { // +kubebuilder:validation:Optional AuthDatabaseName *string `json:"authDatabaseName,omitempty" tf:"auth_database_name,omitempty"` // +kubebuilder:validation:Optional AwsIAMType *string `json:"awsIamType,omitempty" tf:"aws_iam_type,omitempty"` // +kubebuilder:validation:Optional DatabaseName *string `json:"databaseName,omitempty" tf:"database_name,omitempty"` // +kubebuilder:validation:Optional Labels []LabelsParameters `json:"labels,omitempty" tf:"labels,omitempty"` // +kubebuilder:validation:Optional LdapAuthType *string `json:"ldapAuthType,omitempty" tf:"ldap_auth_type,omitempty"` // +kubebuilder:validation:Optional PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"` // +crossplane:generate:reference:type=github.com/Teja446/mongodbatlasprov/apis/mongodbatlas/v1alpha1.Project // +crossplane:generate:reference:extractor=github.com/Teja446/mongodbatlasprov/config/common.ExtractResourceID() // +kubebuilder:validation:Optional ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"` // +kubebuilder:validation:Optional ProjectIDRef *v1.Reference `json:"projectIdRef,omitempty" tf:"-"` // +kubebuilder:validation:Optional ProjectIDSelector *v1.Selector `json:"projectIdSelector,omitempty" tf:"-"` // +kubebuilder:validation:Required Roles []RolesParameters `json:"roles" tf:"roles,omitempty"` // +kubebuilder:validation:Optional Scopes []ScopesParameters `json:"scopes,omitempty" tf:"scopes,omitempty"` // +kubebuilder:validation:Optional X509Type *string `json:"x509Type,omitempty" tf:"x509_type,omitempty"` }
func (*UserParameters) DeepCopy ¶
func (in *UserParameters) DeepCopy() *UserParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserParameters.
func (*UserParameters) DeepCopyInto ¶
func (in *UserParameters) DeepCopyInto(out *UserParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UserSpec ¶
type UserSpec struct { v1.ResourceSpec `json:",inline"` ForProvider UserParameters `json:"forProvider"` }
UserSpec defines the desired state of User
func (*UserSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserSpec.
func (*UserSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UserStatus ¶
type UserStatus struct { v1.ResourceStatus `json:",inline"` AtProvider UserObservation `json:"atProvider,omitempty"` }
UserStatus defines the observed state of User.
func (*UserStatus) DeepCopy ¶
func (in *UserStatus) DeepCopy() *UserStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserStatus.
func (*UserStatus) DeepCopyInto ¶
func (in *UserStatus) DeepCopyInto(out *UserStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.