Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=postgresql.ionoscloud.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type ConnectionPoolerInitParameters
- type ConnectionPoolerObservation
- type ConnectionPoolerParameters
- type ConnectionsInitParameters
- type ConnectionsObservation
- type ConnectionsParameters
- type CredentialsInitParameters
- type CredentialsObservation
- type CredentialsParameters
- type FromBackupInitParameters
- type FromBackupObservation
- type FromBackupParameters
- type MaintenanceWindowInitParameters
- type MaintenanceWindowObservation
- type MaintenanceWindowParameters
- type PostgresqlCluster
- func (in *PostgresqlCluster) DeepCopy() *PostgresqlCluster
- func (in *PostgresqlCluster) DeepCopyInto(out *PostgresqlCluster)
- func (in *PostgresqlCluster) DeepCopyObject() runtime.Object
- func (mg *PostgresqlCluster) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *PostgresqlCluster) GetConnectionDetailsMapping() map[string]string
- func (mg *PostgresqlCluster) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *PostgresqlCluster) GetID() string
- func (tr *PostgresqlCluster) GetInitParameters() (map[string]any, error)
- func (mg *PostgresqlCluster) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *PostgresqlCluster) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *PostgresqlCluster) GetObservation() (map[string]any, error)
- func (tr *PostgresqlCluster) GetParameters() (map[string]any, error)
- func (mg *PostgresqlCluster) GetProviderConfigReference() *xpv1.Reference
- func (mg *PostgresqlCluster) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *PostgresqlCluster) GetTerraformResourceType() string
- func (tr *PostgresqlCluster) GetTerraformSchemaVersion() int
- func (mg *PostgresqlCluster) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *PostgresqlCluster) Hub()
- func (tr *PostgresqlCluster) LateInitialize(attrs []byte) (bool, error)
- func (mg *PostgresqlCluster) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *PostgresqlCluster) SetConditions(c ...xpv1.Condition)
- func (mg *PostgresqlCluster) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *PostgresqlCluster) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *PostgresqlCluster) SetObservation(obs map[string]any) error
- func (tr *PostgresqlCluster) SetParameters(params map[string]any) error
- func (mg *PostgresqlCluster) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *PostgresqlCluster) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *PostgresqlCluster) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type PostgresqlClusterInitParameters
- type PostgresqlClusterList
- type PostgresqlClusterObservation
- type PostgresqlClusterParameters
- type PostgresqlClusterSpec
- type PostgresqlClusterStatus
- type PostgresqlDatabase
- func (in *PostgresqlDatabase) DeepCopy() *PostgresqlDatabase
- func (in *PostgresqlDatabase) DeepCopyInto(out *PostgresqlDatabase)
- func (in *PostgresqlDatabase) DeepCopyObject() runtime.Object
- func (mg *PostgresqlDatabase) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *PostgresqlDatabase) GetConnectionDetailsMapping() map[string]string
- func (mg *PostgresqlDatabase) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *PostgresqlDatabase) GetID() string
- func (tr *PostgresqlDatabase) GetInitParameters() (map[string]any, error)
- func (mg *PostgresqlDatabase) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *PostgresqlDatabase) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *PostgresqlDatabase) GetObservation() (map[string]any, error)
- func (tr *PostgresqlDatabase) GetParameters() (map[string]any, error)
- func (mg *PostgresqlDatabase) GetProviderConfigReference() *xpv1.Reference
- func (mg *PostgresqlDatabase) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *PostgresqlDatabase) GetTerraformResourceType() string
- func (tr *PostgresqlDatabase) GetTerraformSchemaVersion() int
- func (mg *PostgresqlDatabase) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *PostgresqlDatabase) Hub()
- func (tr *PostgresqlDatabase) LateInitialize(attrs []byte) (bool, error)
- func (mg *PostgresqlDatabase) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *PostgresqlDatabase) SetConditions(c ...xpv1.Condition)
- func (mg *PostgresqlDatabase) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *PostgresqlDatabase) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *PostgresqlDatabase) SetObservation(obs map[string]any) error
- func (tr *PostgresqlDatabase) SetParameters(params map[string]any) error
- func (mg *PostgresqlDatabase) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *PostgresqlDatabase) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *PostgresqlDatabase) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type PostgresqlDatabaseInitParameters
- type PostgresqlDatabaseList
- type PostgresqlDatabaseObservation
- type PostgresqlDatabaseParameters
- type PostgresqlDatabaseSpec
- type PostgresqlDatabaseStatus
- type PostgresqlUser
- func (in *PostgresqlUser) DeepCopy() *PostgresqlUser
- func (in *PostgresqlUser) DeepCopyInto(out *PostgresqlUser)
- func (in *PostgresqlUser) DeepCopyObject() runtime.Object
- func (mg *PostgresqlUser) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *PostgresqlUser) GetConnectionDetailsMapping() map[string]string
- func (mg *PostgresqlUser) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *PostgresqlUser) GetID() string
- func (tr *PostgresqlUser) GetInitParameters() (map[string]any, error)
- func (mg *PostgresqlUser) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *PostgresqlUser) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *PostgresqlUser) GetObservation() (map[string]any, error)
- func (tr *PostgresqlUser) GetParameters() (map[string]any, error)
- func (mg *PostgresqlUser) GetProviderConfigReference() *xpv1.Reference
- func (mg *PostgresqlUser) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *PostgresqlUser) GetTerraformResourceType() string
- func (tr *PostgresqlUser) GetTerraformSchemaVersion() int
- func (mg *PostgresqlUser) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *PostgresqlUser) Hub()
- func (tr *PostgresqlUser) LateInitialize(attrs []byte) (bool, error)
- func (mg *PostgresqlUser) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *PostgresqlUser) SetConditions(c ...xpv1.Condition)
- func (mg *PostgresqlUser) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *PostgresqlUser) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *PostgresqlUser) SetObservation(obs map[string]any) error
- func (tr *PostgresqlUser) SetParameters(params map[string]any) error
- func (mg *PostgresqlUser) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *PostgresqlUser) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *PostgresqlUser) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type PostgresqlUserInitParameters
- type PostgresqlUserList
- type PostgresqlUserObservation
- type PostgresqlUserParameters
- type PostgresqlUserSpec
- type PostgresqlUserStatus
Constants ¶
const ( CRDGroup = "postgresql.ionoscloud.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 ( PostgresqlCluster_Kind = "PostgresqlCluster" PostgresqlCluster_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: PostgresqlCluster_Kind}.String() PostgresqlCluster_KindAPIVersion = PostgresqlCluster_Kind + "." + CRDGroupVersion.String() PostgresqlCluster_GroupVersionKind = CRDGroupVersion.WithKind(PostgresqlCluster_Kind) )
Repository type metadata.
var ( PostgresqlDatabase_Kind = "PostgresqlDatabase" PostgresqlDatabase_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: PostgresqlDatabase_Kind}.String() PostgresqlDatabase_KindAPIVersion = PostgresqlDatabase_Kind + "." + CRDGroupVersion.String() PostgresqlDatabase_GroupVersionKind = CRDGroupVersion.WithKind(PostgresqlDatabase_Kind) )
Repository type metadata.
var ( PostgresqlUser_Kind = "PostgresqlUser" PostgresqlUser_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: PostgresqlUser_Kind}.String() PostgresqlUser_KindAPIVersion = PostgresqlUser_Kind + "." + CRDGroupVersion.String() PostgresqlUser_GroupVersionKind = CRDGroupVersion.WithKind(PostgresqlUser_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type ConnectionPoolerInitParameters ¶
type ConnectionPoolerInitParameters struct { // [bool] Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` // [string] Represents different modes of connection pooling for the connection pooler. // Represents different modes of connection pooling for the connection pooler PoolMode *string `json:"poolMode,omitempty" tf:"pool_mode,omitempty"` }
func (*ConnectionPoolerInitParameters) DeepCopy ¶
func (in *ConnectionPoolerInitParameters) DeepCopy() *ConnectionPoolerInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionPoolerInitParameters.
func (*ConnectionPoolerInitParameters) DeepCopyInto ¶
func (in *ConnectionPoolerInitParameters) DeepCopyInto(out *ConnectionPoolerInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConnectionPoolerObservation ¶
type ConnectionPoolerObservation struct { // [bool] Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` // [string] Represents different modes of connection pooling for the connection pooler. // Represents different modes of connection pooling for the connection pooler PoolMode *string `json:"poolMode,omitempty" tf:"pool_mode,omitempty"` }
func (*ConnectionPoolerObservation) DeepCopy ¶
func (in *ConnectionPoolerObservation) DeepCopy() *ConnectionPoolerObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionPoolerObservation.
func (*ConnectionPoolerObservation) DeepCopyInto ¶
func (in *ConnectionPoolerObservation) DeepCopyInto(out *ConnectionPoolerObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConnectionPoolerParameters ¶
type ConnectionPoolerParameters struct { // [bool] // +kubebuilder:validation:Optional Enabled *bool `json:"enabled" tf:"enabled,omitempty"` // [string] Represents different modes of connection pooling for the connection pooler. // Represents different modes of connection pooling for the connection pooler // +kubebuilder:validation:Optional PoolMode *string `json:"poolMode" tf:"pool_mode,omitempty"` }
func (*ConnectionPoolerParameters) DeepCopy ¶
func (in *ConnectionPoolerParameters) DeepCopy() *ConnectionPoolerParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionPoolerParameters.
func (*ConnectionPoolerParameters) DeepCopyInto ¶
func (in *ConnectionPoolerParameters) DeepCopyInto(out *ConnectionPoolerParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConnectionsInitParameters ¶
type ConnectionsInitParameters struct { // [true] The IP and subnet for the database. Note the following unavailable IP ranges: 10.233.64.0/18, 10.233.0.0/18, 10.233.114.0/24. Please enter in the correct format like IP/Subnet, exp: 192.168.10.0/24. See Private IPs and Configuring the network. // The IP and subnet for the database. // Note the following unavailable IP ranges: // 10.233.64.0/18 // 10.233.0.0/18 // 10.233.114.0/24 Cidr *string `json:"cidr,omitempty" tf:"cidr,omitempty"` // [true] The datacenter to connect your cluster to. // The datacenter to connect your cluster to. // +crossplane:generate:reference:type=github.com/ionos-cloud/provider-upjet-ionoscloud/apis/compute/v1alpha1.Datacenter DatacenterID *string `json:"datacenterId,omitempty" tf:"datacenter_id,omitempty"` // Reference to a Datacenter in compute to populate datacenterId. // +kubebuilder:validation:Optional DatacenterIDRef *v1.Reference `json:"datacenterIdRef,omitempty" tf:"-"` // Selector for a Datacenter in compute to populate datacenterId. // +kubebuilder:validation:Optional DatacenterIDSelector *v1.Selector `json:"datacenterIdSelector,omitempty" tf:"-"` // [true] The LAN to connect your cluster to. // The LAN to connect your cluster to. // +crossplane:generate:reference:type=github.com/ionos-cloud/provider-upjet-ionoscloud/apis/compute/v1alpha1.Lan LanID *string `json:"lanId,omitempty" tf:"lan_id,omitempty"` // Reference to a Lan in compute to populate lanId. // +kubebuilder:validation:Optional LanIDRef *v1.Reference `json:"lanIdRef,omitempty" tf:"-"` // Selector for a Lan in compute to populate lanId. // +kubebuilder:validation:Optional LanIDSelector *v1.Selector `json:"lanIdSelector,omitempty" tf:"-"` }
func (*ConnectionsInitParameters) DeepCopy ¶
func (in *ConnectionsInitParameters) DeepCopy() *ConnectionsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionsInitParameters.
func (*ConnectionsInitParameters) DeepCopyInto ¶
func (in *ConnectionsInitParameters) DeepCopyInto(out *ConnectionsInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConnectionsObservation ¶
type ConnectionsObservation struct { // [true] The IP and subnet for the database. Note the following unavailable IP ranges: 10.233.64.0/18, 10.233.0.0/18, 10.233.114.0/24. Please enter in the correct format like IP/Subnet, exp: 192.168.10.0/24. See Private IPs and Configuring the network. // The IP and subnet for the database. // Note the following unavailable IP ranges: // 10.233.64.0/18 // 10.233.0.0/18 // 10.233.114.0/24 Cidr *string `json:"cidr,omitempty" tf:"cidr,omitempty"` // [true] The datacenter to connect your cluster to. // The datacenter to connect your cluster to. DatacenterID *string `json:"datacenterId,omitempty" tf:"datacenter_id,omitempty"` // [true] The LAN to connect your cluster to. // The LAN to connect your cluster to. LanID *string `json:"lanId,omitempty" tf:"lan_id,omitempty"` }
func (*ConnectionsObservation) DeepCopy ¶
func (in *ConnectionsObservation) DeepCopy() *ConnectionsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionsObservation.
func (*ConnectionsObservation) DeepCopyInto ¶
func (in *ConnectionsObservation) DeepCopyInto(out *ConnectionsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConnectionsParameters ¶
type ConnectionsParameters struct { // [true] The IP and subnet for the database. Note the following unavailable IP ranges: 10.233.64.0/18, 10.233.0.0/18, 10.233.114.0/24. Please enter in the correct format like IP/Subnet, exp: 192.168.10.0/24. See Private IPs and Configuring the network. // The IP and subnet for the database. // Note the following unavailable IP ranges: // 10.233.64.0/18 // 10.233.0.0/18 // 10.233.114.0/24 // +kubebuilder:validation:Optional Cidr *string `json:"cidr" tf:"cidr,omitempty"` // [true] The datacenter to connect your cluster to. // The datacenter to connect your cluster to. // +crossplane:generate:reference:type=github.com/ionos-cloud/provider-upjet-ionoscloud/apis/compute/v1alpha1.Datacenter // +kubebuilder:validation:Optional DatacenterID *string `json:"datacenterId,omitempty" tf:"datacenter_id,omitempty"` // Reference to a Datacenter in compute to populate datacenterId. // +kubebuilder:validation:Optional DatacenterIDRef *v1.Reference `json:"datacenterIdRef,omitempty" tf:"-"` // Selector for a Datacenter in compute to populate datacenterId. // +kubebuilder:validation:Optional DatacenterIDSelector *v1.Selector `json:"datacenterIdSelector,omitempty" tf:"-"` // [true] The LAN to connect your cluster to. // The LAN to connect your cluster to. // +crossplane:generate:reference:type=github.com/ionos-cloud/provider-upjet-ionoscloud/apis/compute/v1alpha1.Lan // +kubebuilder:validation:Optional LanID *string `json:"lanId,omitempty" tf:"lan_id,omitempty"` // Reference to a Lan in compute to populate lanId. // +kubebuilder:validation:Optional LanIDRef *v1.Reference `json:"lanIdRef,omitempty" tf:"-"` // Selector for a Lan in compute to populate lanId. // +kubebuilder:validation:Optional LanIDSelector *v1.Selector `json:"lanIdSelector,omitempty" tf:"-"` }
func (*ConnectionsParameters) DeepCopy ¶
func (in *ConnectionsParameters) DeepCopy() *ConnectionsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionsParameters.
func (*ConnectionsParameters) DeepCopyInto ¶
func (in *ConnectionsParameters) DeepCopyInto(out *ConnectionsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CredentialsInitParameters ¶
type CredentialsInitParameters struct { // [string] PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"` // [string] The username for the initial postgres user. Some system usernames are restricted (e.g. "postgres", "admin", "standby") // the username for the initial postgres user. some system usernames are restricted (e.g. "postgres", "admin", "standby") Username *string `json:"username,omitempty" tf:"username,omitempty"` }
func (*CredentialsInitParameters) DeepCopy ¶
func (in *CredentialsInitParameters) DeepCopy() *CredentialsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CredentialsInitParameters.
func (*CredentialsInitParameters) DeepCopyInto ¶
func (in *CredentialsInitParameters) DeepCopyInto(out *CredentialsInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CredentialsObservation ¶
type CredentialsObservation struct { // [string] The username for the initial postgres user. Some system usernames are restricted (e.g. "postgres", "admin", "standby") // the username for the initial postgres user. some system usernames are restricted (e.g. "postgres", "admin", "standby") Username *string `json:"username,omitempty" tf:"username,omitempty"` }
func (*CredentialsObservation) DeepCopy ¶
func (in *CredentialsObservation) DeepCopy() *CredentialsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CredentialsObservation.
func (*CredentialsObservation) DeepCopyInto ¶
func (in *CredentialsObservation) DeepCopyInto(out *CredentialsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CredentialsParameters ¶
type CredentialsParameters struct { // [string] // +kubebuilder:validation:Optional PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"` // [string] The username for the initial postgres user. Some system usernames are restricted (e.g. "postgres", "admin", "standby") // the username for the initial postgres user. some system usernames are restricted (e.g. "postgres", "admin", "standby") // +kubebuilder:validation:Optional Username *string `json:"username" tf:"username,omitempty"` }
func (*CredentialsParameters) DeepCopy ¶
func (in *CredentialsParameters) DeepCopy() *CredentialsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CredentialsParameters.
func (*CredentialsParameters) DeepCopyInto ¶
func (in *CredentialsParameters) DeepCopyInto(out *CredentialsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FromBackupInitParameters ¶
type FromBackupInitParameters struct { // [string] The unique ID of the backup you want to restore. // The unique ID of the backup you want to restore. BackupID *string `json:"backupId,omitempty" tf:"backup_id,omitempty"` // [string] If this value is supplied as ISO 8601 timestamp, the backup will be replayed up until the given timestamp. If empty, the backup will be applied completely. // If this value is supplied as ISO 8601 timestamp, the backup will be replayed up until the given timestamp. If empty, the backup will be applied completely. RecoveryTargetTime *string `json:"recoveryTargetTime,omitempty" tf:"recovery_target_time,omitempty"` }
func (*FromBackupInitParameters) DeepCopy ¶
func (in *FromBackupInitParameters) DeepCopy() *FromBackupInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FromBackupInitParameters.
func (*FromBackupInitParameters) DeepCopyInto ¶
func (in *FromBackupInitParameters) DeepCopyInto(out *FromBackupInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FromBackupObservation ¶
type FromBackupObservation struct { // [string] The unique ID of the backup you want to restore. // The unique ID of the backup you want to restore. BackupID *string `json:"backupId,omitempty" tf:"backup_id,omitempty"` // [string] If this value is supplied as ISO 8601 timestamp, the backup will be replayed up until the given timestamp. If empty, the backup will be applied completely. // If this value is supplied as ISO 8601 timestamp, the backup will be replayed up until the given timestamp. If empty, the backup will be applied completely. RecoveryTargetTime *string `json:"recoveryTargetTime,omitempty" tf:"recovery_target_time,omitempty"` }
func (*FromBackupObservation) DeepCopy ¶
func (in *FromBackupObservation) DeepCopy() *FromBackupObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FromBackupObservation.
func (*FromBackupObservation) DeepCopyInto ¶
func (in *FromBackupObservation) DeepCopyInto(out *FromBackupObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FromBackupParameters ¶
type FromBackupParameters struct { // [string] The unique ID of the backup you want to restore. // The unique ID of the backup you want to restore. // +kubebuilder:validation:Optional BackupID *string `json:"backupId" tf:"backup_id,omitempty"` // [string] If this value is supplied as ISO 8601 timestamp, the backup will be replayed up until the given timestamp. If empty, the backup will be applied completely. // If this value is supplied as ISO 8601 timestamp, the backup will be replayed up until the given timestamp. If empty, the backup will be applied completely. // +kubebuilder:validation:Optional RecoveryTargetTime *string `json:"recoveryTargetTime,omitempty" tf:"recovery_target_time,omitempty"` }
func (*FromBackupParameters) DeepCopy ¶
func (in *FromBackupParameters) DeepCopy() *FromBackupParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FromBackupParameters.
func (*FromBackupParameters) DeepCopyInto ¶
func (in *FromBackupParameters) DeepCopyInto(out *FromBackupParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MaintenanceWindowInitParameters ¶
type MaintenanceWindowInitParameters struct { // [string] DayOfTheWeek *string `json:"dayOfTheWeek,omitempty" tf:"day_of_the_week,omitempty"` // [string] Time *string `json:"time,omitempty" tf:"time,omitempty"` }
func (*MaintenanceWindowInitParameters) DeepCopy ¶
func (in *MaintenanceWindowInitParameters) DeepCopy() *MaintenanceWindowInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MaintenanceWindowInitParameters.
func (*MaintenanceWindowInitParameters) DeepCopyInto ¶
func (in *MaintenanceWindowInitParameters) DeepCopyInto(out *MaintenanceWindowInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MaintenanceWindowObservation ¶
type MaintenanceWindowObservation struct { // [string] DayOfTheWeek *string `json:"dayOfTheWeek,omitempty" tf:"day_of_the_week,omitempty"` // [string] Time *string `json:"time,omitempty" tf:"time,omitempty"` }
func (*MaintenanceWindowObservation) DeepCopy ¶
func (in *MaintenanceWindowObservation) DeepCopy() *MaintenanceWindowObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MaintenanceWindowObservation.
func (*MaintenanceWindowObservation) DeepCopyInto ¶
func (in *MaintenanceWindowObservation) DeepCopyInto(out *MaintenanceWindowObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MaintenanceWindowParameters ¶
type MaintenanceWindowParameters struct { // [string] // +kubebuilder:validation:Optional DayOfTheWeek *string `json:"dayOfTheWeek" tf:"day_of_the_week,omitempty"` // [string] // +kubebuilder:validation:Optional Time *string `json:"time" tf:"time,omitempty"` }
func (*MaintenanceWindowParameters) DeepCopy ¶
func (in *MaintenanceWindowParameters) DeepCopy() *MaintenanceWindowParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MaintenanceWindowParameters.
func (*MaintenanceWindowParameters) DeepCopyInto ¶
func (in *MaintenanceWindowParameters) DeepCopyInto(out *MaintenanceWindowParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PostgresqlCluster ¶
type PostgresqlCluster 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.cores) || (has(self.initProvider) && has(self.initProvider.cores))",message="spec.forProvider.cores is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.credentials) || (has(self.initProvider) && has(self.initProvider.credentials))",message="spec.forProvider.credentials is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.displayName) || (has(self.initProvider) && has(self.initProvider.displayName))",message="spec.forProvider.displayName is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.instances) || (has(self.initProvider) && has(self.initProvider.instances))",message="spec.forProvider.instances is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.postgresVersion) || (has(self.initProvider) && has(self.initProvider.postgresVersion))",message="spec.forProvider.postgresVersion is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.ram) || (has(self.initProvider) && has(self.initProvider.ram))",message="spec.forProvider.ram is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.storageSize) || (has(self.initProvider) && has(self.initProvider.storageSize))",message="spec.forProvider.storageSize is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.storageType) || (has(self.initProvider) && has(self.initProvider.storageType))",message="spec.forProvider.storageType is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.synchronizationMode) || (has(self.initProvider) && has(self.initProvider.synchronizationMode))",message="spec.forProvider.synchronizationMode is a required parameter" Spec PostgresqlClusterSpec `json:"spec"` Status PostgresqlClusterStatus `json:"status,omitempty"` }
PostgresqlCluster is the Schema for the PostgresqlClusters API. Creates and manages DbaaS Postgres Cluster objects. +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,ionos}
func (*PostgresqlCluster) DeepCopy ¶
func (in *PostgresqlCluster) DeepCopy() *PostgresqlCluster
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresqlCluster.
func (*PostgresqlCluster) DeepCopyInto ¶
func (in *PostgresqlCluster) DeepCopyInto(out *PostgresqlCluster)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PostgresqlCluster) DeepCopyObject ¶
func (in *PostgresqlCluster) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*PostgresqlCluster) GetCondition ¶
func (mg *PostgresqlCluster) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this PostgresqlCluster.
func (*PostgresqlCluster) GetConnectionDetailsMapping ¶
func (tr *PostgresqlCluster) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this PostgresqlCluster
func (*PostgresqlCluster) GetDeletionPolicy ¶
func (mg *PostgresqlCluster) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this PostgresqlCluster.
func (*PostgresqlCluster) GetID ¶
func (tr *PostgresqlCluster) GetID() string
GetID returns ID of underlying Terraform resource of this PostgresqlCluster
func (*PostgresqlCluster) GetInitParameters ¶
func (tr *PostgresqlCluster) GetInitParameters() (map[string]any, error)
GetInitParameters of this PostgresqlCluster
func (*PostgresqlCluster) GetManagementPolicies ¶
func (mg *PostgresqlCluster) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this PostgresqlCluster.
func (*PostgresqlCluster) GetMergedParameters ¶
func (tr *PostgresqlCluster) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
GetInitParameters of this PostgresqlCluster
func (*PostgresqlCluster) GetObservation ¶
func (tr *PostgresqlCluster) GetObservation() (map[string]any, error)
GetObservation of this PostgresqlCluster
func (*PostgresqlCluster) GetParameters ¶
func (tr *PostgresqlCluster) GetParameters() (map[string]any, error)
GetParameters of this PostgresqlCluster
func (*PostgresqlCluster) GetProviderConfigReference ¶
func (mg *PostgresqlCluster) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this PostgresqlCluster.
func (*PostgresqlCluster) GetPublishConnectionDetailsTo ¶
func (mg *PostgresqlCluster) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this PostgresqlCluster.
func (*PostgresqlCluster) GetTerraformResourceType ¶
func (mg *PostgresqlCluster) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this PostgresqlCluster
func (*PostgresqlCluster) GetTerraformSchemaVersion ¶
func (tr *PostgresqlCluster) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*PostgresqlCluster) GetWriteConnectionSecretToReference ¶
func (mg *PostgresqlCluster) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this PostgresqlCluster.
func (*PostgresqlCluster) Hub ¶
func (tr *PostgresqlCluster) Hub()
Hub marks this type as a conversion hub.
func (*PostgresqlCluster) LateInitialize ¶
func (tr *PostgresqlCluster) LateInitialize(attrs []byte) (bool, error)
LateInitialize this PostgresqlCluster using its observed tfState. returns True if there are any spec changes for the resource.
func (*PostgresqlCluster) ResolveReferences ¶
ResolveReferences of this PostgresqlCluster.
func (*PostgresqlCluster) SetConditions ¶
func (mg *PostgresqlCluster) SetConditions(c ...xpv1.Condition)
SetConditions of this PostgresqlCluster.
func (*PostgresqlCluster) SetDeletionPolicy ¶
func (mg *PostgresqlCluster) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this PostgresqlCluster.
func (*PostgresqlCluster) SetManagementPolicies ¶
func (mg *PostgresqlCluster) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this PostgresqlCluster.
func (*PostgresqlCluster) SetObservation ¶
func (tr *PostgresqlCluster) SetObservation(obs map[string]any) error
SetObservation for this PostgresqlCluster
func (*PostgresqlCluster) SetParameters ¶
func (tr *PostgresqlCluster) SetParameters(params map[string]any) error
SetParameters for this PostgresqlCluster
func (*PostgresqlCluster) SetProviderConfigReference ¶
func (mg *PostgresqlCluster) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this PostgresqlCluster.
func (*PostgresqlCluster) SetPublishConnectionDetailsTo ¶
func (mg *PostgresqlCluster) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this PostgresqlCluster.
func (*PostgresqlCluster) SetWriteConnectionSecretToReference ¶
func (mg *PostgresqlCluster) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this PostgresqlCluster.
type PostgresqlClusterInitParameters ¶
type PostgresqlClusterInitParameters struct { // (Computed)[string] The IONOS Object Storage location where the backups will be stored. Possible values are: de, eu-south-2, eu-central-2. This attribute is immutable (disallowed in update requests). // The Object Storage location where the backups will be stored. BackupLocation *string `json:"backupLocation,omitempty" tf:"backup_location,omitempty"` // [object] // Configuration options for the connection pooler ConnectionPooler *ConnectionPoolerInitParameters `json:"connectionPooler,omitempty" tf:"connection_pooler,omitempty"` // [string] Details about the network connection for your cluster. // Details about the network connection for your cluster. Connections *ConnectionsInitParameters `json:"connections,omitempty" tf:"connections,omitempty"` // [int] The number of CPU cores per replica. // The number of CPU cores per replica. Cores *float64 `json:"cores,omitempty" tf:"cores,omitempty"` // [string] Credentials for the database user to be created. This attribute is immutable(disallowed in update requests). // Credentials for the database user to be created. Credentials []CredentialsInitParameters `json:"credentials,omitempty" tf:"credentials,omitempty"` // [string] The friendly name of your cluster. // The friendly name of your cluster. DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"` // [string] The unique ID of the backup you want to restore. This attribute is immutable(disallowed in update requests). // Creates the cluster based on the existing backup. FromBackup *FromBackupInitParameters `json:"fromBackup,omitempty" tf:"from_backup,omitempty"` // [int] The total number of instances in the cluster (one master and n-1 standbys) // The total number of instances in the cluster (one master and n-1 standbys) Instances *float64 `json:"instances,omitempty" tf:"instances,omitempty"` // [string] The physical location where the cluster will be created. This will be where all of your instances live. Property cannot be modified after datacenter creation. Possible values are: de/fra, de/txl, gb/lhr, es/vit, us/ewr, us/las. This attribute is immutable(disallowed in update requests). // The physical location where the cluster will be created. This will be where all of your instances live. Property cannot be modified after datacenter creation (disallowed in update requests) // +crossplane:generate:reference:type=github.com/ionos-cloud/provider-upjet-ionoscloud/apis/compute/v1alpha1.Datacenter // +crossplane:generate:reference:extractor=github.com/ionos-cloud/provider-upjet-ionoscloud/config/common.DatacenterLocation() Location *string `json:"location,omitempty" tf:"location,omitempty"` // Reference to a Datacenter in compute to populate location. // +kubebuilder:validation:Optional LocationRef *v1.Reference `json:"locationRef,omitempty" tf:"-"` // Selector for a Datacenter in compute to populate location. // +kubebuilder:validation:Optional LocationSelector *v1.Selector `json:"locationSelector,omitempty" tf:"-"` // (Computed)[string] A weekly 4 hour-long window, during which maintenance might occur // a weekly 4 hour-long window, during which maintenance might occur MaintenanceWindow *MaintenanceWindowInitParameters `json:"maintenanceWindow,omitempty" tf:"maintenance_window,omitempty"` // [string] The PostgreSQL version of your cluster. // The PostgreSQL version of your cluster. PostgresVersion *string `json:"postgresVersion,omitempty" tf:"postgres_version,omitempty"` // [int] The amount of memory per instance in megabytes. Has to be a multiple of 1024. // The amount of memory per instance in megabytes. Has to be a multiple of 1024. RAM *float64 `json:"ram,omitempty" tf:"ram,omitempty"` // [int] The amount of storage per instance in MB. Has to be a multiple of 2048. // The amount of storage per instance in megabytes. Has to be a multiple of 2048. StorageSize *float64 `json:"storageSize,omitempty" tf:"storage_size,omitempty"` // [string] SSD, SSD Standard, SSD Premium, or HDD. Value "SSD" is deprecated, use the equivalent "SSD Premium" instead. This attribute is immutable(disallowed in update requests). // The storage type used in your cluster. StorageType *string `json:"storageType,omitempty" tf:"storage_type,omitempty"` // [string] Represents different modes of replication. Can have one of the following values: ASYNCHRONOUS, SYNCHRONOUS, STRICTLY_SYNCHRONOUS. This attribute is immutable(disallowed in update requests). // Represents different modes of replication. SynchronizationMode *string `json:"synchronizationMode,omitempty" tf:"synchronization_mode,omitempty"` }
func (*PostgresqlClusterInitParameters) DeepCopy ¶
func (in *PostgresqlClusterInitParameters) DeepCopy() *PostgresqlClusterInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresqlClusterInitParameters.
func (*PostgresqlClusterInitParameters) DeepCopyInto ¶
func (in *PostgresqlClusterInitParameters) DeepCopyInto(out *PostgresqlClusterInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PostgresqlClusterList ¶
type PostgresqlClusterList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []PostgresqlCluster `json:"items"` }
PostgresqlClusterList contains a list of PostgresqlClusters
func (*PostgresqlClusterList) DeepCopy ¶
func (in *PostgresqlClusterList) DeepCopy() *PostgresqlClusterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresqlClusterList.
func (*PostgresqlClusterList) DeepCopyInto ¶
func (in *PostgresqlClusterList) DeepCopyInto(out *PostgresqlClusterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PostgresqlClusterList) DeepCopyObject ¶
func (in *PostgresqlClusterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*PostgresqlClusterList) GetItems ¶
func (l *PostgresqlClusterList) GetItems() []resource.Managed
GetItems of this PostgresqlClusterList.
type PostgresqlClusterObservation ¶
type PostgresqlClusterObservation struct { // (Computed)[string] The IONOS Object Storage location where the backups will be stored. Possible values are: de, eu-south-2, eu-central-2. This attribute is immutable (disallowed in update requests). // The Object Storage location where the backups will be stored. BackupLocation *string `json:"backupLocation,omitempty" tf:"backup_location,omitempty"` // [object] // Configuration options for the connection pooler ConnectionPooler *ConnectionPoolerObservation `json:"connectionPooler,omitempty" tf:"connection_pooler,omitempty"` // [string] Details about the network connection for your cluster. // Details about the network connection for your cluster. Connections *ConnectionsObservation `json:"connections,omitempty" tf:"connections,omitempty"` // [int] The number of CPU cores per replica. // The number of CPU cores per replica. Cores *float64 `json:"cores,omitempty" tf:"cores,omitempty"` // [string] Credentials for the database user to be created. This attribute is immutable(disallowed in update requests). // Credentials for the database user to be created. Credentials []CredentialsObservation `json:"credentials,omitempty" tf:"credentials,omitempty"` // (Computed)[string] The DNS name pointing to your cluster. // The DNS name pointing to your cluster DNSName *string `json:"dnsName,omitempty" tf:"dns_name,omitempty"` // [string] The friendly name of your cluster. // The friendly name of your cluster. DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"` // [string] The unique ID of the backup you want to restore. This attribute is immutable(disallowed in update requests). // Creates the cluster based on the existing backup. FromBackup *FromBackupObservation `json:"fromBackup,omitempty" tf:"from_backup,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` // [int] The total number of instances in the cluster (one master and n-1 standbys) // The total number of instances in the cluster (one master and n-1 standbys) Instances *float64 `json:"instances,omitempty" tf:"instances,omitempty"` // [string] The physical location where the cluster will be created. This will be where all of your instances live. Property cannot be modified after datacenter creation. Possible values are: de/fra, de/txl, gb/lhr, es/vit, us/ewr, us/las. This attribute is immutable(disallowed in update requests). // The physical location where the cluster will be created. This will be where all of your instances live. Property cannot be modified after datacenter creation (disallowed in update requests) Location *string `json:"location,omitempty" tf:"location,omitempty"` // (Computed)[string] A weekly 4 hour-long window, during which maintenance might occur // a weekly 4 hour-long window, during which maintenance might occur MaintenanceWindow *MaintenanceWindowObservation `json:"maintenanceWindow,omitempty" tf:"maintenance_window,omitempty"` // [string] The PostgreSQL version of your cluster. // The PostgreSQL version of your cluster. PostgresVersion *string `json:"postgresVersion,omitempty" tf:"postgres_version,omitempty"` // [int] The amount of memory per instance in megabytes. Has to be a multiple of 1024. // The amount of memory per instance in megabytes. Has to be a multiple of 1024. RAM *float64 `json:"ram,omitempty" tf:"ram,omitempty"` // [int] The amount of storage per instance in MB. Has to be a multiple of 2048. // The amount of storage per instance in megabytes. Has to be a multiple of 2048. StorageSize *float64 `json:"storageSize,omitempty" tf:"storage_size,omitempty"` // [string] SSD, SSD Standard, SSD Premium, or HDD. Value "SSD" is deprecated, use the equivalent "SSD Premium" instead. This attribute is immutable(disallowed in update requests). // The storage type used in your cluster. StorageType *string `json:"storageType,omitempty" tf:"storage_type,omitempty"` // [string] Represents different modes of replication. Can have one of the following values: ASYNCHRONOUS, SYNCHRONOUS, STRICTLY_SYNCHRONOUS. This attribute is immutable(disallowed in update requests). // Represents different modes of replication. SynchronizationMode *string `json:"synchronizationMode,omitempty" tf:"synchronization_mode,omitempty"` }
func (*PostgresqlClusterObservation) DeepCopy ¶
func (in *PostgresqlClusterObservation) DeepCopy() *PostgresqlClusterObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresqlClusterObservation.
func (*PostgresqlClusterObservation) DeepCopyInto ¶
func (in *PostgresqlClusterObservation) DeepCopyInto(out *PostgresqlClusterObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PostgresqlClusterParameters ¶
type PostgresqlClusterParameters struct { // (Computed)[string] The IONOS Object Storage location where the backups will be stored. Possible values are: de, eu-south-2, eu-central-2. This attribute is immutable (disallowed in update requests). // The Object Storage location where the backups will be stored. // +kubebuilder:validation:Optional BackupLocation *string `json:"backupLocation,omitempty" tf:"backup_location,omitempty"` // [object] // Configuration options for the connection pooler // +kubebuilder:validation:Optional ConnectionPooler *ConnectionPoolerParameters `json:"connectionPooler,omitempty" tf:"connection_pooler,omitempty"` // [string] Details about the network connection for your cluster. // Details about the network connection for your cluster. // +kubebuilder:validation:Optional Connections *ConnectionsParameters `json:"connections,omitempty" tf:"connections,omitempty"` // [int] The number of CPU cores per replica. // The number of CPU cores per replica. // +kubebuilder:validation:Optional Cores *float64 `json:"cores,omitempty" tf:"cores,omitempty"` // [string] Credentials for the database user to be created. This attribute is immutable(disallowed in update requests). // Credentials for the database user to be created. // +kubebuilder:validation:Optional Credentials []CredentialsParameters `json:"credentials,omitempty" tf:"credentials,omitempty"` // [string] The friendly name of your cluster. // The friendly name of your cluster. // +kubebuilder:validation:Optional DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"` // [string] The unique ID of the backup you want to restore. This attribute is immutable(disallowed in update requests). // Creates the cluster based on the existing backup. // +kubebuilder:validation:Optional FromBackup *FromBackupParameters `json:"fromBackup,omitempty" tf:"from_backup,omitempty"` // [int] The total number of instances in the cluster (one master and n-1 standbys) // The total number of instances in the cluster (one master and n-1 standbys) // +kubebuilder:validation:Optional Instances *float64 `json:"instances,omitempty" tf:"instances,omitempty"` // [string] The physical location where the cluster will be created. This will be where all of your instances live. Property cannot be modified after datacenter creation. Possible values are: de/fra, de/txl, gb/lhr, es/vit, us/ewr, us/las. This attribute is immutable(disallowed in update requests). // The physical location where the cluster will be created. This will be where all of your instances live. Property cannot be modified after datacenter creation (disallowed in update requests) // +crossplane:generate:reference:type=github.com/ionos-cloud/provider-upjet-ionoscloud/apis/compute/v1alpha1.Datacenter // +crossplane:generate:reference:extractor=github.com/ionos-cloud/provider-upjet-ionoscloud/config/common.DatacenterLocation() // +kubebuilder:validation:Optional Location *string `json:"location,omitempty" tf:"location,omitempty"` // Reference to a Datacenter in compute to populate location. // +kubebuilder:validation:Optional LocationRef *v1.Reference `json:"locationRef,omitempty" tf:"-"` // Selector for a Datacenter in compute to populate location. // +kubebuilder:validation:Optional LocationSelector *v1.Selector `json:"locationSelector,omitempty" tf:"-"` // (Computed)[string] A weekly 4 hour-long window, during which maintenance might occur // a weekly 4 hour-long window, during which maintenance might occur // +kubebuilder:validation:Optional MaintenanceWindow *MaintenanceWindowParameters `json:"maintenanceWindow,omitempty" tf:"maintenance_window,omitempty"` // [string] The PostgreSQL version of your cluster. // The PostgreSQL version of your cluster. // +kubebuilder:validation:Optional PostgresVersion *string `json:"postgresVersion,omitempty" tf:"postgres_version,omitempty"` // [int] The amount of memory per instance in megabytes. Has to be a multiple of 1024. // The amount of memory per instance in megabytes. Has to be a multiple of 1024. // +kubebuilder:validation:Optional RAM *float64 `json:"ram,omitempty" tf:"ram,omitempty"` // [int] The amount of storage per instance in MB. Has to be a multiple of 2048. // The amount of storage per instance in megabytes. Has to be a multiple of 2048. // +kubebuilder:validation:Optional StorageSize *float64 `json:"storageSize,omitempty" tf:"storage_size,omitempty"` // [string] SSD, SSD Standard, SSD Premium, or HDD. Value "SSD" is deprecated, use the equivalent "SSD Premium" instead. This attribute is immutable(disallowed in update requests). // The storage type used in your cluster. // +kubebuilder:validation:Optional StorageType *string `json:"storageType,omitempty" tf:"storage_type,omitempty"` // [string] Represents different modes of replication. Can have one of the following values: ASYNCHRONOUS, SYNCHRONOUS, STRICTLY_SYNCHRONOUS. This attribute is immutable(disallowed in update requests). // Represents different modes of replication. // +kubebuilder:validation:Optional SynchronizationMode *string `json:"synchronizationMode,omitempty" tf:"synchronization_mode,omitempty"` }
func (*PostgresqlClusterParameters) DeepCopy ¶
func (in *PostgresqlClusterParameters) DeepCopy() *PostgresqlClusterParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresqlClusterParameters.
func (*PostgresqlClusterParameters) DeepCopyInto ¶
func (in *PostgresqlClusterParameters) DeepCopyInto(out *PostgresqlClusterParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PostgresqlClusterSpec ¶
type PostgresqlClusterSpec struct { v1.ResourceSpec `json:",inline"` ForProvider PostgresqlClusterParameters `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 PostgresqlClusterInitParameters `json:"initProvider,omitempty"` }
PostgresqlClusterSpec defines the desired state of PostgresqlCluster
func (*PostgresqlClusterSpec) DeepCopy ¶
func (in *PostgresqlClusterSpec) DeepCopy() *PostgresqlClusterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresqlClusterSpec.
func (*PostgresqlClusterSpec) DeepCopyInto ¶
func (in *PostgresqlClusterSpec) DeepCopyInto(out *PostgresqlClusterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PostgresqlClusterStatus ¶
type PostgresqlClusterStatus struct { v1.ResourceStatus `json:",inline"` AtProvider PostgresqlClusterObservation `json:"atProvider,omitempty"` }
PostgresqlClusterStatus defines the observed state of PostgresqlCluster.
func (*PostgresqlClusterStatus) DeepCopy ¶
func (in *PostgresqlClusterStatus) DeepCopy() *PostgresqlClusterStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresqlClusterStatus.
func (*PostgresqlClusterStatus) DeepCopyInto ¶
func (in *PostgresqlClusterStatus) DeepCopyInto(out *PostgresqlClusterStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PostgresqlDatabase ¶
type PostgresqlDatabase 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.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.owner) || (has(self.initProvider) && has(self.initProvider.owner))",message="spec.forProvider.owner is a required parameter" Spec PostgresqlDatabaseSpec `json:"spec"` Status PostgresqlDatabaseStatus `json:"status,omitempty"` }
PostgresqlDatabase is the Schema for the PostgresqlDatabases API. Creates and manages DbaaS Postgres Database objects. +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,ionos}
func (*PostgresqlDatabase) DeepCopy ¶
func (in *PostgresqlDatabase) DeepCopy() *PostgresqlDatabase
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresqlDatabase.
func (*PostgresqlDatabase) DeepCopyInto ¶
func (in *PostgresqlDatabase) DeepCopyInto(out *PostgresqlDatabase)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PostgresqlDatabase) DeepCopyObject ¶
func (in *PostgresqlDatabase) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*PostgresqlDatabase) GetCondition ¶
func (mg *PostgresqlDatabase) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this PostgresqlDatabase.
func (*PostgresqlDatabase) GetConnectionDetailsMapping ¶
func (tr *PostgresqlDatabase) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this PostgresqlDatabase
func (*PostgresqlDatabase) GetDeletionPolicy ¶
func (mg *PostgresqlDatabase) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this PostgresqlDatabase.
func (*PostgresqlDatabase) GetID ¶
func (tr *PostgresqlDatabase) GetID() string
GetID returns ID of underlying Terraform resource of this PostgresqlDatabase
func (*PostgresqlDatabase) GetInitParameters ¶
func (tr *PostgresqlDatabase) GetInitParameters() (map[string]any, error)
GetInitParameters of this PostgresqlDatabase
func (*PostgresqlDatabase) GetManagementPolicies ¶
func (mg *PostgresqlDatabase) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this PostgresqlDatabase.
func (*PostgresqlDatabase) GetMergedParameters ¶
func (tr *PostgresqlDatabase) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
GetInitParameters of this PostgresqlDatabase
func (*PostgresqlDatabase) GetObservation ¶
func (tr *PostgresqlDatabase) GetObservation() (map[string]any, error)
GetObservation of this PostgresqlDatabase
func (*PostgresqlDatabase) GetParameters ¶
func (tr *PostgresqlDatabase) GetParameters() (map[string]any, error)
GetParameters of this PostgresqlDatabase
func (*PostgresqlDatabase) GetProviderConfigReference ¶
func (mg *PostgresqlDatabase) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this PostgresqlDatabase.
func (*PostgresqlDatabase) GetPublishConnectionDetailsTo ¶
func (mg *PostgresqlDatabase) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this PostgresqlDatabase.
func (*PostgresqlDatabase) GetTerraformResourceType ¶
func (mg *PostgresqlDatabase) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this PostgresqlDatabase
func (*PostgresqlDatabase) GetTerraformSchemaVersion ¶
func (tr *PostgresqlDatabase) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*PostgresqlDatabase) GetWriteConnectionSecretToReference ¶
func (mg *PostgresqlDatabase) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this PostgresqlDatabase.
func (*PostgresqlDatabase) Hub ¶
func (tr *PostgresqlDatabase) Hub()
Hub marks this type as a conversion hub.
func (*PostgresqlDatabase) LateInitialize ¶
func (tr *PostgresqlDatabase) LateInitialize(attrs []byte) (bool, error)
LateInitialize this PostgresqlDatabase using its observed tfState. returns True if there are any spec changes for the resource.
func (*PostgresqlDatabase) ResolveReferences ¶
ResolveReferences of this PostgresqlDatabase.
func (*PostgresqlDatabase) SetConditions ¶
func (mg *PostgresqlDatabase) SetConditions(c ...xpv1.Condition)
SetConditions of this PostgresqlDatabase.
func (*PostgresqlDatabase) SetDeletionPolicy ¶
func (mg *PostgresqlDatabase) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this PostgresqlDatabase.
func (*PostgresqlDatabase) SetManagementPolicies ¶
func (mg *PostgresqlDatabase) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this PostgresqlDatabase.
func (*PostgresqlDatabase) SetObservation ¶
func (tr *PostgresqlDatabase) SetObservation(obs map[string]any) error
SetObservation for this PostgresqlDatabase
func (*PostgresqlDatabase) SetParameters ¶
func (tr *PostgresqlDatabase) SetParameters(params map[string]any) error
SetParameters for this PostgresqlDatabase
func (*PostgresqlDatabase) SetProviderConfigReference ¶
func (mg *PostgresqlDatabase) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this PostgresqlDatabase.
func (*PostgresqlDatabase) SetPublishConnectionDetailsTo ¶
func (mg *PostgresqlDatabase) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this PostgresqlDatabase.
func (*PostgresqlDatabase) SetWriteConnectionSecretToReference ¶
func (mg *PostgresqlDatabase) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this PostgresqlDatabase.
type PostgresqlDatabaseInitParameters ¶
type PostgresqlDatabaseInitParameters struct { // [string] The unique ID of the cluster. // +crossplane:generate:reference:type=github.com/ionos-cloud/provider-upjet-ionoscloud/apis/postgresql/v1alpha1.PostgresqlCluster ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"` // Reference to a PostgresqlCluster in postgresql to populate clusterId. // +kubebuilder:validation:Optional ClusterIDRef *v1.Reference `json:"clusterIdRef,omitempty" tf:"-"` // Selector for a PostgresqlCluster in postgresql to populate clusterId. // +kubebuilder:validation:Optional ClusterIDSelector *v1.Selector `json:"clusterIdSelector,omitempty" tf:"-"` // [string] The name of the database. // The databasename of a given database. Name *string `json:"name,omitempty" tf:"name,omitempty"` // [string] The owner of the database. // The name of the role owning a given database. Owner *string `json:"owner,omitempty" tf:"owner,omitempty"` }
func (*PostgresqlDatabaseInitParameters) DeepCopy ¶
func (in *PostgresqlDatabaseInitParameters) DeepCopy() *PostgresqlDatabaseInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresqlDatabaseInitParameters.
func (*PostgresqlDatabaseInitParameters) DeepCopyInto ¶
func (in *PostgresqlDatabaseInitParameters) DeepCopyInto(out *PostgresqlDatabaseInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PostgresqlDatabaseList ¶
type PostgresqlDatabaseList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []PostgresqlDatabase `json:"items"` }
PostgresqlDatabaseList contains a list of PostgresqlDatabases
func (*PostgresqlDatabaseList) DeepCopy ¶
func (in *PostgresqlDatabaseList) DeepCopy() *PostgresqlDatabaseList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresqlDatabaseList.
func (*PostgresqlDatabaseList) DeepCopyInto ¶
func (in *PostgresqlDatabaseList) DeepCopyInto(out *PostgresqlDatabaseList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PostgresqlDatabaseList) DeepCopyObject ¶
func (in *PostgresqlDatabaseList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*PostgresqlDatabaseList) GetItems ¶
func (l *PostgresqlDatabaseList) GetItems() []resource.Managed
GetItems of this PostgresqlDatabaseList.
type PostgresqlDatabaseObservation ¶
type PostgresqlDatabaseObservation struct { // [string] The unique ID of the cluster. ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` // [string] The name of the database. // The databasename of a given database. Name *string `json:"name,omitempty" tf:"name,omitempty"` // [string] The owner of the database. // The name of the role owning a given database. Owner *string `json:"owner,omitempty" tf:"owner,omitempty"` }
func (*PostgresqlDatabaseObservation) DeepCopy ¶
func (in *PostgresqlDatabaseObservation) DeepCopy() *PostgresqlDatabaseObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresqlDatabaseObservation.
func (*PostgresqlDatabaseObservation) DeepCopyInto ¶
func (in *PostgresqlDatabaseObservation) DeepCopyInto(out *PostgresqlDatabaseObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PostgresqlDatabaseParameters ¶
type PostgresqlDatabaseParameters struct { // [string] The unique ID of the cluster. // +crossplane:generate:reference:type=github.com/ionos-cloud/provider-upjet-ionoscloud/apis/postgresql/v1alpha1.PostgresqlCluster // +kubebuilder:validation:Optional ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"` // Reference to a PostgresqlCluster in postgresql to populate clusterId. // +kubebuilder:validation:Optional ClusterIDRef *v1.Reference `json:"clusterIdRef,omitempty" tf:"-"` // Selector for a PostgresqlCluster in postgresql to populate clusterId. // +kubebuilder:validation:Optional ClusterIDSelector *v1.Selector `json:"clusterIdSelector,omitempty" tf:"-"` // [string] The name of the database. // The databasename of a given database. // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` // [string] The owner of the database. // The name of the role owning a given database. // +kubebuilder:validation:Optional Owner *string `json:"owner,omitempty" tf:"owner,omitempty"` }
func (*PostgresqlDatabaseParameters) DeepCopy ¶
func (in *PostgresqlDatabaseParameters) DeepCopy() *PostgresqlDatabaseParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresqlDatabaseParameters.
func (*PostgresqlDatabaseParameters) DeepCopyInto ¶
func (in *PostgresqlDatabaseParameters) DeepCopyInto(out *PostgresqlDatabaseParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PostgresqlDatabaseSpec ¶
type PostgresqlDatabaseSpec struct { v1.ResourceSpec `json:",inline"` ForProvider PostgresqlDatabaseParameters `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 PostgresqlDatabaseInitParameters `json:"initProvider,omitempty"` }
PostgresqlDatabaseSpec defines the desired state of PostgresqlDatabase
func (*PostgresqlDatabaseSpec) DeepCopy ¶
func (in *PostgresqlDatabaseSpec) DeepCopy() *PostgresqlDatabaseSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresqlDatabaseSpec.
func (*PostgresqlDatabaseSpec) DeepCopyInto ¶
func (in *PostgresqlDatabaseSpec) DeepCopyInto(out *PostgresqlDatabaseSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PostgresqlDatabaseStatus ¶
type PostgresqlDatabaseStatus struct { v1.ResourceStatus `json:",inline"` AtProvider PostgresqlDatabaseObservation `json:"atProvider,omitempty"` }
PostgresqlDatabaseStatus defines the observed state of PostgresqlDatabase.
func (*PostgresqlDatabaseStatus) DeepCopy ¶
func (in *PostgresqlDatabaseStatus) DeepCopy() *PostgresqlDatabaseStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresqlDatabaseStatus.
func (*PostgresqlDatabaseStatus) DeepCopyInto ¶
func (in *PostgresqlDatabaseStatus) DeepCopyInto(out *PostgresqlDatabaseStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PostgresqlUser ¶
type PostgresqlUser 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.passwordSecretRef)",message="spec.forProvider.passwordSecretRef is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.username) || (has(self.initProvider) && has(self.initProvider.username))",message="spec.forProvider.username is a required parameter" Spec PostgresqlUserSpec `json:"spec"` Status PostgresqlUserStatus `json:"status,omitempty"` }
PostgresqlUser is the Schema for the PostgresqlUsers API. Creates and manages DbaaS Postgres User objects. +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,ionos}
func (*PostgresqlUser) DeepCopy ¶
func (in *PostgresqlUser) DeepCopy() *PostgresqlUser
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresqlUser.
func (*PostgresqlUser) DeepCopyInto ¶
func (in *PostgresqlUser) DeepCopyInto(out *PostgresqlUser)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PostgresqlUser) DeepCopyObject ¶
func (in *PostgresqlUser) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*PostgresqlUser) GetCondition ¶
func (mg *PostgresqlUser) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this PostgresqlUser.
func (*PostgresqlUser) GetConnectionDetailsMapping ¶
func (tr *PostgresqlUser) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this PostgresqlUser
func (*PostgresqlUser) GetDeletionPolicy ¶
func (mg *PostgresqlUser) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this PostgresqlUser.
func (*PostgresqlUser) GetID ¶
func (tr *PostgresqlUser) GetID() string
GetID returns ID of underlying Terraform resource of this PostgresqlUser
func (*PostgresqlUser) GetInitParameters ¶
func (tr *PostgresqlUser) GetInitParameters() (map[string]any, error)
GetInitParameters of this PostgresqlUser
func (*PostgresqlUser) GetManagementPolicies ¶
func (mg *PostgresqlUser) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this PostgresqlUser.
func (*PostgresqlUser) GetMergedParameters ¶
func (tr *PostgresqlUser) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
GetInitParameters of this PostgresqlUser
func (*PostgresqlUser) GetObservation ¶
func (tr *PostgresqlUser) GetObservation() (map[string]any, error)
GetObservation of this PostgresqlUser
func (*PostgresqlUser) GetParameters ¶
func (tr *PostgresqlUser) GetParameters() (map[string]any, error)
GetParameters of this PostgresqlUser
func (*PostgresqlUser) GetProviderConfigReference ¶
func (mg *PostgresqlUser) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this PostgresqlUser.
func (*PostgresqlUser) GetPublishConnectionDetailsTo ¶
func (mg *PostgresqlUser) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this PostgresqlUser.
func (*PostgresqlUser) GetTerraformResourceType ¶
func (mg *PostgresqlUser) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this PostgresqlUser
func (*PostgresqlUser) GetTerraformSchemaVersion ¶
func (tr *PostgresqlUser) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*PostgresqlUser) GetWriteConnectionSecretToReference ¶
func (mg *PostgresqlUser) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this PostgresqlUser.
func (*PostgresqlUser) Hub ¶
func (tr *PostgresqlUser) Hub()
Hub marks this type as a conversion hub.
func (*PostgresqlUser) LateInitialize ¶
func (tr *PostgresqlUser) LateInitialize(attrs []byte) (bool, error)
LateInitialize this PostgresqlUser using its observed tfState. returns True if there are any spec changes for the resource.
func (*PostgresqlUser) ResolveReferences ¶
ResolveReferences of this PostgresqlUser.
func (*PostgresqlUser) SetConditions ¶
func (mg *PostgresqlUser) SetConditions(c ...xpv1.Condition)
SetConditions of this PostgresqlUser.
func (*PostgresqlUser) SetDeletionPolicy ¶
func (mg *PostgresqlUser) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this PostgresqlUser.
func (*PostgresqlUser) SetManagementPolicies ¶
func (mg *PostgresqlUser) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this PostgresqlUser.
func (*PostgresqlUser) SetObservation ¶
func (tr *PostgresqlUser) SetObservation(obs map[string]any) error
SetObservation for this PostgresqlUser
func (*PostgresqlUser) SetParameters ¶
func (tr *PostgresqlUser) SetParameters(params map[string]any) error
SetParameters for this PostgresqlUser
func (*PostgresqlUser) SetProviderConfigReference ¶
func (mg *PostgresqlUser) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this PostgresqlUser.
func (*PostgresqlUser) SetPublishConnectionDetailsTo ¶
func (mg *PostgresqlUser) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this PostgresqlUser.
func (*PostgresqlUser) SetWriteConnectionSecretToReference ¶
func (mg *PostgresqlUser) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this PostgresqlUser.
type PostgresqlUserInitParameters ¶
type PostgresqlUserInitParameters struct { // [string] The unique ID of the cluster. Updates to the value of the field force the cluster to be re-created. // +crossplane:generate:reference:type=github.com/ionos-cloud/provider-upjet-ionoscloud/apis/postgresql/v1alpha1.PostgresqlCluster ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"` // Reference to a PostgresqlCluster in postgresql to populate clusterId. // +kubebuilder:validation:Optional ClusterIDRef *v1.Reference `json:"clusterIdRef,omitempty" tf:"-"` // Selector for a PostgresqlCluster in postgresql to populate clusterId. // +kubebuilder:validation:Optional ClusterIDSelector *v1.Selector `json:"clusterIdSelector,omitempty" tf:"-"` // [string] User password. PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"` // [string] Used for authentication. Updates to the value of the field force the cluster to be re-created. Username *string `json:"username,omitempty" tf:"username,omitempty"` }
func (*PostgresqlUserInitParameters) DeepCopy ¶
func (in *PostgresqlUserInitParameters) DeepCopy() *PostgresqlUserInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresqlUserInitParameters.
func (*PostgresqlUserInitParameters) DeepCopyInto ¶
func (in *PostgresqlUserInitParameters) DeepCopyInto(out *PostgresqlUserInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PostgresqlUserList ¶
type PostgresqlUserList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []PostgresqlUser `json:"items"` }
PostgresqlUserList contains a list of PostgresqlUsers
func (*PostgresqlUserList) DeepCopy ¶
func (in *PostgresqlUserList) DeepCopy() *PostgresqlUserList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresqlUserList.
func (*PostgresqlUserList) DeepCopyInto ¶
func (in *PostgresqlUserList) DeepCopyInto(out *PostgresqlUserList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PostgresqlUserList) DeepCopyObject ¶
func (in *PostgresqlUserList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*PostgresqlUserList) GetItems ¶
func (l *PostgresqlUserList) GetItems() []resource.Managed
GetItems of this PostgresqlUserList.
type PostgresqlUserObservation ¶
type PostgresqlUserObservation struct { // [string] The unique ID of the cluster. Updates to the value of the field force the cluster to be re-created. ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` // (Computed)[bool] Describes whether this user is a system user or not. A system user cannot be updated or deleted. // Describes whether this user is a system user or not. A system user cannot be updated or deleted. IsSystemUser *bool `json:"isSystemUser,omitempty" tf:"is_system_user,omitempty"` // [string] Used for authentication. Updates to the value of the field force the cluster to be re-created. Username *string `json:"username,omitempty" tf:"username,omitempty"` }
func (*PostgresqlUserObservation) DeepCopy ¶
func (in *PostgresqlUserObservation) DeepCopy() *PostgresqlUserObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresqlUserObservation.
func (*PostgresqlUserObservation) DeepCopyInto ¶
func (in *PostgresqlUserObservation) DeepCopyInto(out *PostgresqlUserObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PostgresqlUserParameters ¶
type PostgresqlUserParameters struct { // [string] The unique ID of the cluster. Updates to the value of the field force the cluster to be re-created. // +crossplane:generate:reference:type=github.com/ionos-cloud/provider-upjet-ionoscloud/apis/postgresql/v1alpha1.PostgresqlCluster // +kubebuilder:validation:Optional ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"` // Reference to a PostgresqlCluster in postgresql to populate clusterId. // +kubebuilder:validation:Optional ClusterIDRef *v1.Reference `json:"clusterIdRef,omitempty" tf:"-"` // Selector for a PostgresqlCluster in postgresql to populate clusterId. // +kubebuilder:validation:Optional ClusterIDSelector *v1.Selector `json:"clusterIdSelector,omitempty" tf:"-"` // [string] User password. // +kubebuilder:validation:Optional PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"` // [string] Used for authentication. Updates to the value of the field force the cluster to be re-created. // +kubebuilder:validation:Optional Username *string `json:"username,omitempty" tf:"username,omitempty"` }
func (*PostgresqlUserParameters) DeepCopy ¶
func (in *PostgresqlUserParameters) DeepCopy() *PostgresqlUserParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresqlUserParameters.
func (*PostgresqlUserParameters) DeepCopyInto ¶
func (in *PostgresqlUserParameters) DeepCopyInto(out *PostgresqlUserParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PostgresqlUserSpec ¶
type PostgresqlUserSpec struct { v1.ResourceSpec `json:",inline"` ForProvider PostgresqlUserParameters `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 PostgresqlUserInitParameters `json:"initProvider,omitempty"` }
PostgresqlUserSpec defines the desired state of PostgresqlUser
func (*PostgresqlUserSpec) DeepCopy ¶
func (in *PostgresqlUserSpec) DeepCopy() *PostgresqlUserSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresqlUserSpec.
func (*PostgresqlUserSpec) DeepCopyInto ¶
func (in *PostgresqlUserSpec) DeepCopyInto(out *PostgresqlUserSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PostgresqlUserStatus ¶
type PostgresqlUserStatus struct { v1.ResourceStatus `json:",inline"` AtProvider PostgresqlUserObservation `json:"atProvider,omitempty"` }
PostgresqlUserStatus defines the observed state of PostgresqlUser.
func (*PostgresqlUserStatus) DeepCopy ¶
func (in *PostgresqlUserStatus) DeepCopy() *PostgresqlUserStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresqlUserStatus.
func (*PostgresqlUserStatus) DeepCopyInto ¶
func (in *PostgresqlUserStatus) DeepCopyInto(out *PostgresqlUserStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Source Files ¶
- zz_generated.conversion_hubs.go
- zz_generated.deepcopy.go
- zz_generated.managed.go
- zz_generated.managedlist.go
- zz_generated.resolvers.go
- zz_groupversion_info.go
- zz_postgresqlcluster_terraformed.go
- zz_postgresqlcluster_types.go
- zz_postgresqldatabase_terraformed.go
- zz_postgresqldatabase_types.go
- zz_postgresqluser_terraformed.go
- zz_postgresqluser_types.go