Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=memorydb.aws.upbound.io +versionName=v1beta2
Index ¶
- Constants
- Variables
- type AuthenticationModeInitParameters
- type AuthenticationModeObservation
- type AuthenticationModeParameters
- 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) GetInitParameters() (map[string]any, error)
- func (mg *User) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *User) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *User) GetObservation() (map[string]any, error)
- func (tr *User) GetParameters() (map[string]any, error)
- func (mg *User) GetProviderConfigReference() *xpv1.Reference
- func (mg *User) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *User) GetTerraformResourceType() string
- func (tr *User) GetTerraformSchemaVersion() int
- func (mg *User) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *User) Hub()
- func (tr *User) LateInitialize(attrs []byte) (bool, error)
- func (mg *User) SetConditions(c ...xpv1.Condition)
- func (mg *User) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *User) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *User) SetObservation(obs map[string]any) error
- func (tr *User) SetParameters(params map[string]any) error
- func (mg *User) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *User) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *User) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type UserInitParameters
- type UserList
- type UserObservation
- type UserParameters
- type UserSpec
- type UserStatus
Constants ¶
const ( CRDGroup = "memorydb.aws.upbound.io" CRDVersion = "v1beta2" )
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 AuthenticationModeInitParameters ¶
type AuthenticationModeInitParameters struct { Passwords []*string `json:"passwordsSecretRef,omitempty" tf:"-"` // Specifies the authentication type. Valid values are: password or iam. Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*AuthenticationModeInitParameters) DeepCopy ¶
func (in *AuthenticationModeInitParameters) DeepCopy() *AuthenticationModeInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthenticationModeInitParameters.
func (*AuthenticationModeInitParameters) DeepCopyInto ¶
func (in *AuthenticationModeInitParameters) DeepCopyInto(out *AuthenticationModeInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AuthenticationModeObservation ¶
type AuthenticationModeObservation struct { // Number of passwords belonging to the user if type is set to password. PasswordCount *float64 `json:"passwordCount,omitempty" tf:"password_count,omitempty"` // Specifies the authentication type. Valid values are: password or iam. Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*AuthenticationModeObservation) DeepCopy ¶
func (in *AuthenticationModeObservation) DeepCopy() *AuthenticationModeObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthenticationModeObservation.
func (*AuthenticationModeObservation) DeepCopyInto ¶
func (in *AuthenticationModeObservation) DeepCopyInto(out *AuthenticationModeObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AuthenticationModeParameters ¶
type AuthenticationModeParameters struct { // Set of passwords used for authentication if type is set to password. You can create up to two passwords for each user. // +kubebuilder:validation:Optional PasswordsSecretRef *[]v1.SecretKeySelector `json:"passwordsSecretRef,omitempty" tf:"-"` // Specifies the authentication type. Valid values are: password or iam. // +kubebuilder:validation:Optional Type *string `json:"type" tf:"type,omitempty"` }
func (*AuthenticationModeParameters) DeepCopy ¶
func (in *AuthenticationModeParameters) DeepCopy() *AuthenticationModeParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthenticationModeParameters.
func (*AuthenticationModeParameters) DeepCopyInto ¶
func (in *AuthenticationModeParameters) DeepCopyInto(out *AuthenticationModeParameters)
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"` // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.accessString) || (has(self.initProvider) && has(self.initProvider.accessString))",message="spec.forProvider.accessString is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.authenticationMode) || (has(self.initProvider) && has(self.initProvider.authenticationMode))",message="spec.forProvider.authenticationMode is a required parameter" Spec UserSpec `json:"spec"` Status UserStatus `json:"status,omitempty"` }
User is the Schema for the Users API. Provides a MemoryDB User. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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:resource:scope=Cluster,categories={crossplane,managed,aws}
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) GetInitParameters ¶
GetInitParameters of this User
func (*User) GetManagementPolicies ¶
func (mg *User) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this User.
func (*User) GetMergedParameters ¶
GetInitParameters 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) GetPublishConnectionDetailsTo ¶
func (mg *User) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this User.
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) SetConditions ¶
SetConditions of this User.
func (*User) SetDeletionPolicy ¶
func (mg *User) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this User.
func (*User) SetManagementPolicies ¶
func (mg *User) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies 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) SetPublishConnectionDetailsTo ¶
func (mg *User) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this User.
func (*User) SetWriteConnectionSecretToReference ¶
func (mg *User) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this User.
type UserInitParameters ¶
type UserInitParameters struct { // Access permissions string used for this user. AccessString *string `json:"accessString,omitempty" tf:"access_string,omitempty"` // Denotes the user's authentication properties. Detailed below. AuthenticationMode *AuthenticationModeInitParameters `json:"authenticationMode,omitempty" tf:"authentication_mode,omitempty"` // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` }
func (*UserInitParameters) DeepCopy ¶
func (in *UserInitParameters) DeepCopy() *UserInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserInitParameters.
func (*UserInitParameters) DeepCopyInto ¶
func (in *UserInitParameters) DeepCopyInto(out *UserInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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 { // Access permissions string used for this user. AccessString *string `json:"accessString,omitempty" tf:"access_string,omitempty"` // ARN of the user. Arn *string `json:"arn,omitempty" tf:"arn,omitempty"` // Denotes the user's authentication properties. Detailed below. AuthenticationMode *AuthenticationModeObservation `json:"authenticationMode,omitempty" tf:"authentication_mode,omitempty"` // Same as user_name. ID *string `json:"id,omitempty" tf:"id,omitempty"` // Minimum engine version supported for the user. MinimumEngineVersion *string `json:"minimumEngineVersion,omitempty" tf:"minimum_engine_version,omitempty"` // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` // A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block. // +mapType=granular TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,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 { // Access permissions string used for this user. // +kubebuilder:validation:Optional AccessString *string `json:"accessString,omitempty" tf:"access_string,omitempty"` // Denotes the user's authentication properties. Detailed below. // +kubebuilder:validation:Optional AuthenticationMode *AuthenticationModeParameters `json:"authenticationMode,omitempty" tf:"authentication_mode,omitempty"` // Region is the region you'd like your resource to be created in. // +upjet:crd:field:TFTag=- // +kubebuilder:validation:Required Region *string `json:"region" tf:"-"` // Key-value map of resource tags. // +kubebuilder:validation:Optional // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,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"` // THIS IS A BETA FIELD. It will be honored // unless the Management Policies feature flag is disabled. // InitProvider holds the same fields as ForProvider, with the exception // of Identifier and other resource reference fields. The fields that are // in InitProvider are merged into ForProvider when the resource is created. // The same fields are also added to the terraform ignore_changes hook, to // avoid updating them after creation. This is useful for fields that are // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. InitProvider UserInitParameters `json:"initProvider,omitempty"` }
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.