Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=mysql.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type AadIdentityInitParameters
- type AadIdentityObservation
- type AadIdentityParameters
- type Database
- func (in *Database) DeepCopy() *Database
- func (in *Database) DeepCopyInto(out *Database)
- func (in *Database) DeepCopyObject() runtime.Object
- func (mg *Database) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Database) GetConnectionDetailsMapping() map[string]string
- func (mg *Database) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Database) GetID() string
- func (tr *Database) GetInitParameters() (map[string]any, error)
- func (mg *Database) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Database) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *Database) GetObservation() (map[string]any, error)
- func (tr *Database) GetParameters() (map[string]any, error)
- func (mg *Database) GetProviderConfigReference() *xpv1.Reference
- func (mg *Database) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Database) GetTerraformResourceType() string
- func (tr *Database) GetTerraformSchemaVersion() int
- func (mg *Database) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Database) Hub()
- func (tr *Database) LateInitialize(attrs []byte) (bool, error)
- func (mg *Database) SetConditions(c ...xpv1.Condition)
- func (mg *Database) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Database) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Database) SetObservation(obs map[string]any) error
- func (tr *Database) SetParameters(params map[string]any) error
- func (mg *Database) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Database) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Database) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type DatabaseInitParameters
- type DatabaseList
- type DatabaseObservation
- type DatabaseParameters
- type DatabaseSpec
- type DatabaseStatus
- type Grant
- func (in *Grant) DeepCopy() *Grant
- func (in *Grant) DeepCopyInto(out *Grant)
- func (in *Grant) DeepCopyObject() runtime.Object
- func (mg *Grant) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Grant) GetConnectionDetailsMapping() map[string]string
- func (mg *Grant) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Grant) GetID() string
- func (tr *Grant) GetInitParameters() (map[string]any, error)
- func (mg *Grant) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Grant) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *Grant) GetObservation() (map[string]any, error)
- func (tr *Grant) GetParameters() (map[string]any, error)
- func (mg *Grant) GetProviderConfigReference() *xpv1.Reference
- func (mg *Grant) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Grant) GetTerraformResourceType() string
- func (tr *Grant) GetTerraformSchemaVersion() int
- func (mg *Grant) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Grant) Hub()
- func (tr *Grant) LateInitialize(attrs []byte) (bool, error)
- func (mg *Grant) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Grant) SetConditions(c ...xpv1.Condition)
- func (mg *Grant) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Grant) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Grant) SetObservation(obs map[string]any) error
- func (tr *Grant) SetParameters(params map[string]any) error
- func (mg *Grant) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Grant) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Grant) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type GrantInitParameters
- type GrantList
- type GrantObservation
- type GrantParameters
- type GrantSpec
- type GrantStatus
- type Role
- func (in *Role) DeepCopy() *Role
- func (in *Role) DeepCopyInto(out *Role)
- func (in *Role) DeepCopyObject() runtime.Object
- func (mg *Role) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Role) GetConnectionDetailsMapping() map[string]string
- func (mg *Role) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Role) GetID() string
- func (tr *Role) GetInitParameters() (map[string]any, error)
- func (mg *Role) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Role) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *Role) GetObservation() (map[string]any, error)
- func (tr *Role) GetParameters() (map[string]any, error)
- func (mg *Role) GetProviderConfigReference() *xpv1.Reference
- func (mg *Role) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Role) GetTerraformResourceType() string
- func (tr *Role) GetTerraformSchemaVersion() int
- func (mg *Role) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Role) Hub()
- func (tr *Role) LateInitialize(attrs []byte) (bool, error)
- func (mg *Role) SetConditions(c ...xpv1.Condition)
- func (mg *Role) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Role) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Role) SetObservation(obs map[string]any) error
- func (tr *Role) SetParameters(params map[string]any) error
- func (mg *Role) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Role) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Role) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type RoleInitParameters
- type RoleList
- type RoleObservation
- type RoleParameters
- type RoleSpec
- type RoleStatus
- 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 = "mysql.crossplane.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
var ( Database_Kind = "Database" Database_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Database_Kind}.String() Database_KindAPIVersion = Database_Kind + "." + CRDGroupVersion.String() Database_GroupVersionKind = CRDGroupVersion.WithKind(Database_Kind) )
Repository type metadata.
var ( Grant_Kind = "Grant" Grant_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Grant_Kind}.String() Grant_KindAPIVersion = Grant_Kind + "." + CRDGroupVersion.String() Grant_GroupVersionKind = CRDGroupVersion.WithKind(Grant_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 )
var ( Role_Kind = "Role" Role_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Role_Kind}.String() Role_KindAPIVersion = Role_Kind + "." + CRDGroupVersion.String() Role_GroupVersionKind = CRDGroupVersion.WithKind(Role_Kind) )
Repository type metadata.
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 AadIdentityInitParameters ¶
type AadIdentityInitParameters struct { Identity *string `json:"identity,omitempty" tf:"identity,omitempty"` Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*AadIdentityInitParameters) DeepCopy ¶
func (in *AadIdentityInitParameters) DeepCopy() *AadIdentityInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AadIdentityInitParameters.
func (*AadIdentityInitParameters) DeepCopyInto ¶
func (in *AadIdentityInitParameters) DeepCopyInto(out *AadIdentityInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AadIdentityObservation ¶
type AadIdentityObservation struct { Identity *string `json:"identity,omitempty" tf:"identity,omitempty"` Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*AadIdentityObservation) DeepCopy ¶
func (in *AadIdentityObservation) DeepCopy() *AadIdentityObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AadIdentityObservation.
func (*AadIdentityObservation) DeepCopyInto ¶
func (in *AadIdentityObservation) DeepCopyInto(out *AadIdentityObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AadIdentityParameters ¶
type AadIdentityParameters struct { // +kubebuilder:validation:Optional Identity *string `json:"identity" tf:"identity,omitempty"` // +kubebuilder:validation:Optional Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*AadIdentityParameters) DeepCopy ¶
func (in *AadIdentityParameters) DeepCopy() *AadIdentityParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AadIdentityParameters.
func (*AadIdentityParameters) DeepCopyInto ¶
func (in *AadIdentityParameters) DeepCopyInto(out *AadIdentityParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Database ¶
type Database struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DatabaseSpec `json:"spec"` Status DatabaseStatus `json:"status,omitempty"` }
Database is the Schema for the Databases API. Creates and manages a database on a MySQL server. +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,mysql}
func (*Database) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Database.
func (*Database) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Database) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Database) GetCondition ¶
func (mg *Database) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Database.
func (*Database) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Database
func (*Database) GetDeletionPolicy ¶
func (mg *Database) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Database.
func (*Database) GetInitParameters ¶
GetInitParameters of this Database
func (*Database) GetManagementPolicies ¶
func (mg *Database) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Database.
func (*Database) GetMergedParameters ¶
GetInitParameters of this Database
func (*Database) GetObservation ¶
GetObservation of this Database
func (*Database) GetParameters ¶
GetParameters of this Database
func (*Database) GetProviderConfigReference ¶
GetProviderConfigReference of this Database.
func (*Database) GetPublishConnectionDetailsTo ¶
func (mg *Database) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Database.
func (*Database) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Database
func (*Database) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Database) GetWriteConnectionSecretToReference ¶
func (mg *Database) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Database.
func (*Database) LateInitialize ¶
LateInitialize this Database using its observed tfState. returns True if there are any spec changes for the resource.
func (*Database) SetConditions ¶
SetConditions of this Database.
func (*Database) SetDeletionPolicy ¶
func (mg *Database) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Database.
func (*Database) SetManagementPolicies ¶
func (mg *Database) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Database.
func (*Database) SetObservation ¶
SetObservation for this Database
func (*Database) SetParameters ¶
SetParameters for this Database
func (*Database) SetProviderConfigReference ¶
SetProviderConfigReference of this Database.
func (*Database) SetPublishConnectionDetailsTo ¶
func (mg *Database) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Database.
func (*Database) SetWriteConnectionSecretToReference ¶
func (mg *Database) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Database.
type DatabaseInitParameters ¶
type DatabaseInitParameters struct { // The default character set to use when // a table is created without specifying an explicit character set. Defaults // to utf8mb4. DefaultCharacterSet *string `json:"defaultCharacterSet,omitempty" tf:"default_character_set,omitempty"` // The default collation to use when a table // is created without specifying an explicit collation. Defaults to // utf8mb4_general_ci. Each character set has its own set of collations, so // changing the character set requires also changing the collation. DefaultCollation *string `json:"defaultCollation,omitempty" tf:"default_collation,omitempty"` }
func (*DatabaseInitParameters) DeepCopy ¶
func (in *DatabaseInitParameters) DeepCopy() *DatabaseInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseInitParameters.
func (*DatabaseInitParameters) DeepCopyInto ¶
func (in *DatabaseInitParameters) DeepCopyInto(out *DatabaseInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatabaseList ¶
type DatabaseList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Database `json:"items"` }
DatabaseList contains a list of Databases
func (*DatabaseList) DeepCopy ¶
func (in *DatabaseList) DeepCopy() *DatabaseList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseList.
func (*DatabaseList) DeepCopyInto ¶
func (in *DatabaseList) DeepCopyInto(out *DatabaseList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DatabaseList) DeepCopyObject ¶
func (in *DatabaseList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*DatabaseList) GetItems ¶
func (l *DatabaseList) GetItems() []resource.Managed
GetItems of this DatabaseList.
type DatabaseObservation ¶
type DatabaseObservation struct { // The default character set to use when // a table is created without specifying an explicit character set. Defaults // to utf8mb4. DefaultCharacterSet *string `json:"defaultCharacterSet,omitempty" tf:"default_character_set,omitempty"` // The default collation to use when a table // is created without specifying an explicit collation. Defaults to // utf8mb4_general_ci. Each character set has its own set of collations, so // changing the character set requires also changing the collation. DefaultCollation *string `json:"defaultCollation,omitempty" tf:"default_collation,omitempty"` // The id of the database. ID *string `json:"id,omitempty" tf:"id,omitempty"` }
func (*DatabaseObservation) DeepCopy ¶
func (in *DatabaseObservation) DeepCopy() *DatabaseObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseObservation.
func (*DatabaseObservation) DeepCopyInto ¶
func (in *DatabaseObservation) DeepCopyInto(out *DatabaseObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatabaseParameters ¶
type DatabaseParameters struct { // The default character set to use when // a table is created without specifying an explicit character set. Defaults // to utf8mb4. // +kubebuilder:validation:Optional DefaultCharacterSet *string `json:"defaultCharacterSet,omitempty" tf:"default_character_set,omitempty"` // The default collation to use when a table // is created without specifying an explicit collation. Defaults to // utf8mb4_general_ci. Each character set has its own set of collations, so // changing the character set requires also changing the collation. // +kubebuilder:validation:Optional DefaultCollation *string `json:"defaultCollation,omitempty" tf:"default_collation,omitempty"` }
func (*DatabaseParameters) DeepCopy ¶
func (in *DatabaseParameters) DeepCopy() *DatabaseParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseParameters.
func (*DatabaseParameters) DeepCopyInto ¶
func (in *DatabaseParameters) DeepCopyInto(out *DatabaseParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatabaseSpec ¶
type DatabaseSpec struct { v1.ResourceSpec `json:",inline"` ForProvider DatabaseParameters `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 DatabaseInitParameters `json:"initProvider,omitempty"` }
DatabaseSpec defines the desired state of Database
func (*DatabaseSpec) DeepCopy ¶
func (in *DatabaseSpec) DeepCopy() *DatabaseSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseSpec.
func (*DatabaseSpec) DeepCopyInto ¶
func (in *DatabaseSpec) DeepCopyInto(out *DatabaseSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatabaseStatus ¶
type DatabaseStatus struct { v1.ResourceStatus `json:",inline"` AtProvider DatabaseObservation `json:"atProvider,omitempty"` }
DatabaseStatus defines the observed state of Database.
func (*DatabaseStatus) DeepCopy ¶
func (in *DatabaseStatus) DeepCopy() *DatabaseStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseStatus.
func (*DatabaseStatus) DeepCopyInto ¶
func (in *DatabaseStatus) DeepCopyInto(out *DatabaseStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Grant ¶
type Grant struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec GrantSpec `json:"spec"` Status GrantStatus `json:"status,omitempty"` }
Grant is the Schema for the Grants API. Creates and manages privileges given to a user on a MySQL server +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,mysql}
func (*Grant) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Grant.
func (*Grant) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Grant) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Grant) GetCondition ¶
func (mg *Grant) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Grant.
func (*Grant) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Grant
func (*Grant) GetDeletionPolicy ¶
func (mg *Grant) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Grant.
func (*Grant) GetInitParameters ¶
GetInitParameters of this Grant
func (*Grant) GetManagementPolicies ¶
func (mg *Grant) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Grant.
func (*Grant) GetMergedParameters ¶
GetInitParameters of this Grant
func (*Grant) GetObservation ¶
GetObservation of this Grant
func (*Grant) GetParameters ¶
GetParameters of this Grant
func (*Grant) GetProviderConfigReference ¶
GetProviderConfigReference of this Grant.
func (*Grant) GetPublishConnectionDetailsTo ¶
func (mg *Grant) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Grant.
func (*Grant) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Grant
func (*Grant) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Grant) GetWriteConnectionSecretToReference ¶
func (mg *Grant) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Grant.
func (*Grant) LateInitialize ¶
LateInitialize this Grant using its observed tfState. returns True if there are any spec changes for the resource.
func (*Grant) ResolveReferences ¶
ResolveReferences of this Grant.
func (*Grant) SetConditions ¶
SetConditions of this Grant.
func (*Grant) SetDeletionPolicy ¶
func (mg *Grant) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Grant.
func (*Grant) SetManagementPolicies ¶
func (mg *Grant) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Grant.
func (*Grant) SetObservation ¶
SetObservation for this Grant
func (*Grant) SetParameters ¶
SetParameters for this Grant
func (*Grant) SetProviderConfigReference ¶
SetProviderConfigReference of this Grant.
func (*Grant) SetPublishConnectionDetailsTo ¶
func (mg *Grant) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Grant.
func (*Grant) SetWriteConnectionSecretToReference ¶
func (mg *Grant) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Grant.
type GrantInitParameters ¶
type GrantInitParameters struct { // The database to grant privileges on. // +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-upjet-mysql/apis/mysql/v1alpha1.Database Database *string `json:"database,omitempty" tf:"database,omitempty"` // Reference to a Database in mysql to populate database. // +kubebuilder:validation:Optional DatabaseRef *v1.Reference `json:"databaseRef,omitempty" tf:"-"` // Selector for a Database in mysql to populate database. // +kubebuilder:validation:Optional DatabaseSelector *v1.Selector `json:"databaseSelector,omitempty" tf:"-"` // Whether to also give the user privileges to grant the same privileges to other users. Grant *bool `json:"grant,omitempty" tf:"grant,omitempty"` // The source host of the user. Defaults to "localhost". Conflicts with role. Host *string `json:"host,omitempty" tf:"host,omitempty"` // A list of privileges to grant to the user. Refer to a list of privileges (such as here) for applicable privileges. Conflicts with roles. // +listType=set Privileges []*string `json:"privileges,omitempty" tf:"privileges,omitempty"` // The role to grant privileges to. Conflicts with user and host. Role *string `json:"role,omitempty" tf:"role,omitempty"` // A list of roles to grant to the user. Conflicts with privileges. // +listType=set Roles []*string `json:"roles,omitempty" tf:"roles,omitempty"` // An TLS-Option for the GRANT statement. The value is suffixed to REQUIRE. A value of 'SSL' will generate a GRANT ... REQUIRE SSL statement. See the MYSQL for more. Ignored if MySQL version is under 5.7.0. TLSOption *string `json:"tlsOption,omitempty" tf:"tls_option,omitempty"` // Which table to grant privileges on. Defaults to *, which is all tables. Table *string `json:"table,omitempty" tf:"table,omitempty"` // The name of the user. Conflicts with role. // +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-upjet-mysql/apis/mysql/v1alpha1.User User *string `json:"user,omitempty" tf:"user,omitempty"` // Reference to a User in mysql to populate user. // +kubebuilder:validation:Optional UserRef *v1.Reference `json:"userRef,omitempty" tf:"-"` // Selector for a User in mysql to populate user. // +kubebuilder:validation:Optional UserSelector *v1.Selector `json:"userSelector,omitempty" tf:"-"` }
func (*GrantInitParameters) DeepCopy ¶
func (in *GrantInitParameters) DeepCopy() *GrantInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrantInitParameters.
func (*GrantInitParameters) DeepCopyInto ¶
func (in *GrantInitParameters) DeepCopyInto(out *GrantInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GrantList ¶
type GrantList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Grant `json:"items"` }
GrantList contains a list of Grants
func (*GrantList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrantList.
func (*GrantList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GrantList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GrantObservation ¶
type GrantObservation struct { // The database to grant privileges on. Database *string `json:"database,omitempty" tf:"database,omitempty"` // Whether to also give the user privileges to grant the same privileges to other users. Grant *bool `json:"grant,omitempty" tf:"grant,omitempty"` // The source host of the user. Defaults to "localhost". Conflicts with role. Host *string `json:"host,omitempty" tf:"host,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` // A list of privileges to grant to the user. Refer to a list of privileges (such as here) for applicable privileges. Conflicts with roles. // +listType=set Privileges []*string `json:"privileges,omitempty" tf:"privileges,omitempty"` // The role to grant privileges to. Conflicts with user and host. Role *string `json:"role,omitempty" tf:"role,omitempty"` // A list of roles to grant to the user. Conflicts with privileges. // +listType=set Roles []*string `json:"roles,omitempty" tf:"roles,omitempty"` // An TLS-Option for the GRANT statement. The value is suffixed to REQUIRE. A value of 'SSL' will generate a GRANT ... REQUIRE SSL statement. See the MYSQL for more. Ignored if MySQL version is under 5.7.0. TLSOption *string `json:"tlsOption,omitempty" tf:"tls_option,omitempty"` // Which table to grant privileges on. Defaults to *, which is all tables. Table *string `json:"table,omitempty" tf:"table,omitempty"` // The name of the user. Conflicts with role. User *string `json:"user,omitempty" tf:"user,omitempty"` }
func (*GrantObservation) DeepCopy ¶
func (in *GrantObservation) DeepCopy() *GrantObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrantObservation.
func (*GrantObservation) DeepCopyInto ¶
func (in *GrantObservation) DeepCopyInto(out *GrantObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GrantParameters ¶
type GrantParameters struct { // The database to grant privileges on. // +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-upjet-mysql/apis/mysql/v1alpha1.Database // +kubebuilder:validation:Optional Database *string `json:"database,omitempty" tf:"database,omitempty"` // Reference to a Database in mysql to populate database. // +kubebuilder:validation:Optional DatabaseRef *v1.Reference `json:"databaseRef,omitempty" tf:"-"` // Selector for a Database in mysql to populate database. // +kubebuilder:validation:Optional DatabaseSelector *v1.Selector `json:"databaseSelector,omitempty" tf:"-"` // Whether to also give the user privileges to grant the same privileges to other users. // +kubebuilder:validation:Optional Grant *bool `json:"grant,omitempty" tf:"grant,omitempty"` // The source host of the user. Defaults to "localhost". Conflicts with role. // +kubebuilder:validation:Optional Host *string `json:"host,omitempty" tf:"host,omitempty"` // A list of privileges to grant to the user. Refer to a list of privileges (such as here) for applicable privileges. Conflicts with roles. // +kubebuilder:validation:Optional // +listType=set Privileges []*string `json:"privileges,omitempty" tf:"privileges,omitempty"` // The role to grant privileges to. Conflicts with user and host. // +kubebuilder:validation:Optional Role *string `json:"role,omitempty" tf:"role,omitempty"` // A list of roles to grant to the user. Conflicts with privileges. // +kubebuilder:validation:Optional // +listType=set Roles []*string `json:"roles,omitempty" tf:"roles,omitempty"` // An TLS-Option for the GRANT statement. The value is suffixed to REQUIRE. A value of 'SSL' will generate a GRANT ... REQUIRE SSL statement. See the MYSQL for more. Ignored if MySQL version is under 5.7.0. // +kubebuilder:validation:Optional TLSOption *string `json:"tlsOption,omitempty" tf:"tls_option,omitempty"` // Which table to grant privileges on. Defaults to *, which is all tables. // +kubebuilder:validation:Optional Table *string `json:"table,omitempty" tf:"table,omitempty"` // The name of the user. Conflicts with role. // +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-upjet-mysql/apis/mysql/v1alpha1.User // +kubebuilder:validation:Optional User *string `json:"user,omitempty" tf:"user,omitempty"` // Reference to a User in mysql to populate user. // +kubebuilder:validation:Optional UserRef *v1.Reference `json:"userRef,omitempty" tf:"-"` // Selector for a User in mysql to populate user. // +kubebuilder:validation:Optional UserSelector *v1.Selector `json:"userSelector,omitempty" tf:"-"` }
func (*GrantParameters) DeepCopy ¶
func (in *GrantParameters) DeepCopy() *GrantParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrantParameters.
func (*GrantParameters) DeepCopyInto ¶
func (in *GrantParameters) DeepCopyInto(out *GrantParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GrantSpec ¶
type GrantSpec struct { v1.ResourceSpec `json:",inline"` ForProvider GrantParameters `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 GrantInitParameters `json:"initProvider,omitempty"` }
GrantSpec defines the desired state of Grant
func (*GrantSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrantSpec.
func (*GrantSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GrantStatus ¶
type GrantStatus struct { v1.ResourceStatus `json:",inline"` AtProvider GrantObservation `json:"atProvider,omitempty"` }
GrantStatus defines the observed state of Grant.
func (*GrantStatus) DeepCopy ¶
func (in *GrantStatus) DeepCopy() *GrantStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrantStatus.
func (*GrantStatus) DeepCopyInto ¶
func (in *GrantStatus) DeepCopyInto(out *GrantStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Role ¶
type Role struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec RoleSpec `json:"spec"` Status RoleStatus `json:"status,omitempty"` }
Role is the Schema for the Roles API. Creates and manages a role on a MySQL server. +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,mysql}
func (*Role) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Role.
func (*Role) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Role) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Role) GetCondition ¶
func (mg *Role) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Role.
func (*Role) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Role
func (*Role) GetDeletionPolicy ¶
func (mg *Role) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Role.
func (*Role) GetInitParameters ¶
GetInitParameters of this Role
func (*Role) GetManagementPolicies ¶
func (mg *Role) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Role.
func (*Role) GetMergedParameters ¶
GetInitParameters of this Role
func (*Role) GetObservation ¶
GetObservation of this Role
func (*Role) GetParameters ¶
GetParameters of this Role
func (*Role) GetProviderConfigReference ¶
GetProviderConfigReference of this Role.
func (*Role) GetPublishConnectionDetailsTo ¶
func (mg *Role) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Role.
func (*Role) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Role
func (*Role) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Role) GetWriteConnectionSecretToReference ¶
func (mg *Role) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Role.
func (*Role) LateInitialize ¶
LateInitialize this Role using its observed tfState. returns True if there are any spec changes for the resource.
func (*Role) SetConditions ¶
SetConditions of this Role.
func (*Role) SetDeletionPolicy ¶
func (mg *Role) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Role.
func (*Role) SetManagementPolicies ¶
func (mg *Role) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Role.
func (*Role) SetObservation ¶
SetObservation for this Role
func (*Role) SetParameters ¶
SetParameters for this Role
func (*Role) SetProviderConfigReference ¶
SetProviderConfigReference of this Role.
func (*Role) SetPublishConnectionDetailsTo ¶
func (mg *Role) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Role.
func (*Role) SetWriteConnectionSecretToReference ¶
func (mg *Role) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Role.
type RoleInitParameters ¶
type RoleInitParameters struct { }
func (*RoleInitParameters) DeepCopy ¶
func (in *RoleInitParameters) DeepCopy() *RoleInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleInitParameters.
func (*RoleInitParameters) DeepCopyInto ¶
func (in *RoleInitParameters) DeepCopyInto(out *RoleInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RoleList ¶
type RoleList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Role `json:"items"` }
RoleList contains a list of Roles
func (*RoleList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleList.
func (*RoleList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RoleList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RoleObservation ¶
type RoleObservation struct {
ID *string `json:"id,omitempty" tf:"id,omitempty"`
}
func (*RoleObservation) DeepCopy ¶
func (in *RoleObservation) DeepCopy() *RoleObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleObservation.
func (*RoleObservation) DeepCopyInto ¶
func (in *RoleObservation) DeepCopyInto(out *RoleObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RoleParameters ¶
type RoleParameters struct { }
func (*RoleParameters) DeepCopy ¶
func (in *RoleParameters) DeepCopy() *RoleParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleParameters.
func (*RoleParameters) DeepCopyInto ¶
func (in *RoleParameters) DeepCopyInto(out *RoleParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RoleSpec ¶
type RoleSpec struct { v1.ResourceSpec `json:",inline"` ForProvider RoleParameters `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 RoleInitParameters `json:"initProvider,omitempty"` }
RoleSpec defines the desired state of Role
func (*RoleSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleSpec.
func (*RoleSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RoleStatus ¶
type RoleStatus struct { v1.ResourceStatus `json:",inline"` AtProvider RoleObservation `json:"atProvider,omitempty"` }
RoleStatus defines the observed state of Role.
func (*RoleStatus) DeepCopy ¶
func (in *RoleStatus) DeepCopy() *RoleStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleStatus.
func (*RoleStatus) DeepCopyInto ¶
func (in *RoleStatus) DeepCopyInto(out *RoleStatus)
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. Creates and manages a user on a MySQL server. +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,mysql}
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 { // Required when auth_plugin is aad_auth. This should be block containing type and identity. type can be one of user, group and service_principal. identity then should containt either UPN of user, name of group or Client ID of service principal. AadIdentity []AadIdentityInitParameters `json:"aadIdentity,omitempty" tf:"aad_identity,omitempty"` // Use an authentication plugin to authenticate the user instead of using password authentication. Description of the fields allowed in the block below. Conflicts with password and plaintext_password. AuthPlugin *string `json:"authPlugin,omitempty" tf:"auth_plugin,omitempty"` // Use an already hashed string as a parameter to auth_plugin. This can be used with passwords as well as with other auth strings. AuthStringHashedSecretRef *v1.SecretKeySelector `json:"authStringHashedSecretRef,omitempty" tf:"-"` // Deprecated alias of plaintext_password, whose value is stored as plaintext in state. Prefer to use plaintext_password instead, which stores the password as an unsalted hash. Conflicts with auth_plugin. PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"` // The password for the user. This must be provided in plain text, so the data source for it must be secured. An unsalted hash of the provided password is stored in state. Conflicts with auth_plugin. PlaintextPasswordSecretRef *v1.SecretKeySelector `json:"plaintextPasswordSecretRef,omitempty" tf:"-"` // When true, the old password is retained when changing the password. Defaults to false. This use MySQL Dual Password Support feature and requires MySQL version 8.0.14 or newer. See MySQL Dual Password documentation for more. RetainOldPassword *bool `json:"retainOldPassword,omitempty" tf:"retain_old_password,omitempty"` // An TLS-Option for the CREATE USER or ALTER USER statement. The value is suffixed to REQUIRE. A value of 'SSL' will generate a CREATE USER ... REQUIRE SSL statement. See the MYSQL for more. Ignored if MySQL version is under 5.7.0. TLSOption *string `json:"tlsOption,omitempty" tf:"tls_option,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 { // Required when auth_plugin is aad_auth. This should be block containing type and identity. type can be one of user, group and service_principal. identity then should containt either UPN of user, name of group or Client ID of service principal. AadIdentity []AadIdentityObservation `json:"aadIdentity,omitempty" tf:"aad_identity,omitempty"` // Use an authentication plugin to authenticate the user instead of using password authentication. Description of the fields allowed in the block below. Conflicts with password and plaintext_password. AuthPlugin *string `json:"authPlugin,omitempty" tf:"auth_plugin,omitempty"` // The source host of the user. Defaults to "localhost". Host *string `json:"host,omitempty" tf:"host,omitempty"` // The id of the user created, composed as "username@host". ID *string `json:"id,omitempty" tf:"id,omitempty"` // When true, the old password is retained when changing the password. Defaults to false. This use MySQL Dual Password Support feature and requires MySQL version 8.0.14 or newer. See MySQL Dual Password documentation for more. RetainOldPassword *bool `json:"retainOldPassword,omitempty" tf:"retain_old_password,omitempty"` // An TLS-Option for the CREATE USER or ALTER USER statement. The value is suffixed to REQUIRE. A value of 'SSL' will generate a CREATE USER ... REQUIRE SSL statement. See the MYSQL for more. Ignored if MySQL version is under 5.7.0. TLSOption *string `json:"tlsOption,omitempty" tf:"tls_option,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 { // Required when auth_plugin is aad_auth. This should be block containing type and identity. type can be one of user, group and service_principal. identity then should containt either UPN of user, name of group or Client ID of service principal. // +kubebuilder:validation:Optional AadIdentity []AadIdentityParameters `json:"aadIdentity,omitempty" tf:"aad_identity,omitempty"` // Use an authentication plugin to authenticate the user instead of using password authentication. Description of the fields allowed in the block below. Conflicts with password and plaintext_password. // +kubebuilder:validation:Optional AuthPlugin *string `json:"authPlugin,omitempty" tf:"auth_plugin,omitempty"` // Use an already hashed string as a parameter to auth_plugin. This can be used with passwords as well as with other auth strings. // +kubebuilder:validation:Optional AuthStringHashedSecretRef *v1.SecretKeySelector `json:"authStringHashedSecretRef,omitempty" tf:"-"` // The source host of the user. Defaults to "localhost". // +kubebuilder:validation:Optional Host *string `json:"host,omitempty" tf:"host,omitempty"` // Deprecated alias of plaintext_password, whose value is stored as plaintext in state. Prefer to use plaintext_password instead, which stores the password as an unsalted hash. Conflicts with auth_plugin. // +kubebuilder:validation:Optional PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"` // The password for the user. This must be provided in plain text, so the data source for it must be secured. An unsalted hash of the provided password is stored in state. Conflicts with auth_plugin. // +kubebuilder:validation:Optional PlaintextPasswordSecretRef *v1.SecretKeySelector `json:"plaintextPasswordSecretRef,omitempty" tf:"-"` // When true, the old password is retained when changing the password. Defaults to false. This use MySQL Dual Password Support feature and requires MySQL version 8.0.14 or newer. See MySQL Dual Password documentation for more. // +kubebuilder:validation:Optional RetainOldPassword *bool `json:"retainOldPassword,omitempty" tf:"retain_old_password,omitempty"` // An TLS-Option for the CREATE USER or ALTER USER statement. The value is suffixed to REQUIRE. A value of 'SSL' will generate a CREATE USER ... REQUIRE SSL statement. See the MYSQL for more. Ignored if MySQL version is under 5.7.0. // +kubebuilder:validation:Optional TLSOption *string `json:"tlsOption,omitempty" tf:"tls_option,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.
Source Files ¶
- zz_database_terraformed.go
- zz_database_types.go
- zz_generated.conversion_hubs.go
- zz_generated.deepcopy.go
- zz_generated.managed.go
- zz_generated.managedlist.go
- zz_generated.resolvers.go
- zz_grant_terraformed.go
- zz_grant_types.go
- zz_groupversion_info.go
- zz_role_terraformed.go
- zz_role_types.go
- zz_user_terraformed.go
- zz_user_types.go