Documentation
¶
Overview ¶
+kubebuilder:object:generate=true +groupName=database.linode.upbound.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type AccessControls
- func (in *AccessControls) DeepCopy() *AccessControls
- func (in *AccessControls) DeepCopyInto(out *AccessControls)
- func (in *AccessControls) DeepCopyObject() runtime.Object
- func (mg *AccessControls) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *AccessControls) GetConnectionDetailsMapping() map[string]string
- func (mg *AccessControls) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *AccessControls) GetID() string
- func (tr *AccessControls) GetInitParameters() (map[string]any, error)
- func (mg *AccessControls) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *AccessControls) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *AccessControls) GetObservation() (map[string]any, error)
- func (tr *AccessControls) GetParameters() (map[string]any, error)
- func (mg *AccessControls) GetProviderConfigReference() *xpv1.Reference
- func (mg *AccessControls) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *AccessControls) GetTerraformResourceType() string
- func (tr *AccessControls) GetTerraformSchemaVersion() int
- func (mg *AccessControls) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *AccessControls) Hub()
- func (tr *AccessControls) LateInitialize(attrs []byte) (bool, error)
- func (mg *AccessControls) SetConditions(c ...xpv1.Condition)
- func (mg *AccessControls) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *AccessControls) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *AccessControls) SetObservation(obs map[string]any) error
- func (tr *AccessControls) SetParameters(params map[string]any) error
- func (mg *AccessControls) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *AccessControls) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *AccessControls) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type AccessControlsInitParameters
- type AccessControlsList
- type AccessControlsObservation
- type AccessControlsParameters
- type AccessControlsSpec
- type AccessControlsStatus
- type MySQL
- func (in *MySQL) DeepCopy() *MySQL
- func (in *MySQL) DeepCopyInto(out *MySQL)
- func (in *MySQL) DeepCopyObject() runtime.Object
- func (mg *MySQL) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *MySQL) GetConnectionDetailsMapping() map[string]string
- func (mg *MySQL) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *MySQL) GetID() string
- func (tr *MySQL) GetInitParameters() (map[string]any, error)
- func (mg *MySQL) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *MySQL) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *MySQL) GetObservation() (map[string]any, error)
- func (tr *MySQL) GetParameters() (map[string]any, error)
- func (mg *MySQL) GetProviderConfigReference() *xpv1.Reference
- func (mg *MySQL) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *MySQL) GetTerraformResourceType() string
- func (tr *MySQL) GetTerraformSchemaVersion() int
- func (mg *MySQL) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *MySQL) Hub()
- func (tr *MySQL) LateInitialize(attrs []byte) (bool, error)
- func (mg *MySQL) SetConditions(c ...xpv1.Condition)
- func (mg *MySQL) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *MySQL) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *MySQL) SetObservation(obs map[string]any) error
- func (tr *MySQL) SetParameters(params map[string]any) error
- func (mg *MySQL) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *MySQL) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *MySQL) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type MySQLInitParameters
- type MySQLList
- type MySQLObservation
- type MySQLParameters
- type MySQLSpec
- type MySQLStatus
- type PostgreSQL
- func (in *PostgreSQL) DeepCopy() *PostgreSQL
- func (in *PostgreSQL) DeepCopyInto(out *PostgreSQL)
- func (in *PostgreSQL) DeepCopyObject() runtime.Object
- func (mg *PostgreSQL) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *PostgreSQL) GetConnectionDetailsMapping() map[string]string
- func (mg *PostgreSQL) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *PostgreSQL) GetID() string
- func (tr *PostgreSQL) GetInitParameters() (map[string]any, error)
- func (mg *PostgreSQL) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *PostgreSQL) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *PostgreSQL) GetObservation() (map[string]any, error)
- func (tr *PostgreSQL) GetParameters() (map[string]any, error)
- func (mg *PostgreSQL) GetProviderConfigReference() *xpv1.Reference
- func (mg *PostgreSQL) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *PostgreSQL) GetTerraformResourceType() string
- func (tr *PostgreSQL) GetTerraformSchemaVersion() int
- func (mg *PostgreSQL) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *PostgreSQL) Hub()
- func (tr *PostgreSQL) LateInitialize(attrs []byte) (bool, error)
- func (mg *PostgreSQL) SetConditions(c ...xpv1.Condition)
- func (mg *PostgreSQL) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *PostgreSQL) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *PostgreSQL) SetObservation(obs map[string]any) error
- func (tr *PostgreSQL) SetParameters(params map[string]any) error
- func (mg *PostgreSQL) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *PostgreSQL) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *PostgreSQL) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type PostgreSQLInitParameters
- type PostgreSQLList
- type PostgreSQLObservation
- type PostgreSQLParameters
- type PostgreSQLSpec
- type PostgreSQLStatus
- type PostgreSQLUpdatesInitParameters
- type PostgreSQLUpdatesObservation
- type PostgreSQLUpdatesParameters
- type UpdatesInitParameters
- type UpdatesObservation
- type UpdatesParameters
Constants ¶
const ( CRDGroup = "database.linode.upbound.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
var ( AccessControls_Kind = "AccessControls" AccessControls_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: AccessControls_Kind}.String() AccessControls_KindAPIVersion = AccessControls_Kind + "." + CRDGroupVersion.String() AccessControls_GroupVersionKind = CRDGroupVersion.WithKind(AccessControls_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 ( MySQL_Kind = "MySQL" MySQL_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: MySQL_Kind}.String() MySQL_KindAPIVersion = MySQL_Kind + "." + CRDGroupVersion.String() MySQL_GroupVersionKind = CRDGroupVersion.WithKind(MySQL_Kind) )
Repository type metadata.
var ( PostgreSQL_Kind = "PostgreSQL" PostgreSQL_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: PostgreSQL_Kind}.String() PostgreSQL_KindAPIVersion = PostgreSQL_Kind + "." + CRDGroupVersion.String() PostgreSQL_GroupVersionKind = CRDGroupVersion.WithKind(PostgreSQL_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type AccessControls ¶
type AccessControls 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.allowList) || (has(self.initProvider) && has(self.initProvider.allowList))",message="spec.forProvider.allowList is a required parameter"
// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.databaseId) || (has(self.initProvider) && has(self.initProvider.databaseId))",message="spec.forProvider.databaseId is a required parameter"
// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.databaseType) || (has(self.initProvider) && has(self.initProvider.databaseType))",message="spec.forProvider.databaseType is a required parameter"
Spec AccessControlsSpec `json:"spec"`
Status AccessControlsStatus `json:"status,omitempty"`
}
AccessControls is the Schema for the AccessControlss API. Manages the access controls for a Linode Database. +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,linode}
func (*AccessControls) DeepCopy ¶
func (in *AccessControls) DeepCopy() *AccessControls
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessControls.
func (*AccessControls) DeepCopyInto ¶
func (in *AccessControls) DeepCopyInto(out *AccessControls)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AccessControls) DeepCopyObject ¶
func (in *AccessControls) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*AccessControls) GetCondition ¶
func (mg *AccessControls) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this AccessControls.
func (*AccessControls) GetConnectionDetailsMapping ¶
func (tr *AccessControls) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this AccessControls
func (*AccessControls) GetDeletionPolicy ¶
func (mg *AccessControls) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this AccessControls.
func (*AccessControls) GetID ¶
func (tr *AccessControls) GetID() string
GetID returns ID of underlying Terraform resource of this AccessControls
func (*AccessControls) GetInitParameters ¶ added in v0.0.16
func (tr *AccessControls) GetInitParameters() (map[string]any, error)
GetInitParameters of this AccessControls
func (*AccessControls) GetManagementPolicies ¶ added in v0.0.16
func (mg *AccessControls) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this AccessControls.
func (*AccessControls) GetMergedParameters ¶ added in v0.0.16
func (tr *AccessControls) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
GetInitParameters of this AccessControls
func (*AccessControls) GetObservation ¶
func (tr *AccessControls) GetObservation() (map[string]any, error)
GetObservation of this AccessControls
func (*AccessControls) GetParameters ¶
func (tr *AccessControls) GetParameters() (map[string]any, error)
GetParameters of this AccessControls
func (*AccessControls) GetProviderConfigReference ¶
func (mg *AccessControls) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this AccessControls.
func (*AccessControls) GetPublishConnectionDetailsTo ¶
func (mg *AccessControls) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this AccessControls.
func (*AccessControls) GetTerraformResourceType ¶
func (mg *AccessControls) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this AccessControls
func (*AccessControls) GetTerraformSchemaVersion ¶
func (tr *AccessControls) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*AccessControls) GetWriteConnectionSecretToReference ¶
func (mg *AccessControls) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this AccessControls.
func (*AccessControls) Hub ¶ added in v0.0.16
func (tr *AccessControls) Hub()
Hub marks this type as a conversion hub.
func (*AccessControls) LateInitialize ¶
func (tr *AccessControls) LateInitialize(attrs []byte) (bool, error)
LateInitialize this AccessControls using its observed tfState. returns True if there are any spec changes for the resource.
func (*AccessControls) SetConditions ¶
func (mg *AccessControls) SetConditions(c ...xpv1.Condition)
SetConditions of this AccessControls.
func (*AccessControls) SetDeletionPolicy ¶
func (mg *AccessControls) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this AccessControls.
func (*AccessControls) SetManagementPolicies ¶ added in v0.0.16
func (mg *AccessControls) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this AccessControls.
func (*AccessControls) SetObservation ¶
func (tr *AccessControls) SetObservation(obs map[string]any) error
SetObservation for this AccessControls
func (*AccessControls) SetParameters ¶
func (tr *AccessControls) SetParameters(params map[string]any) error
SetParameters for this AccessControls
func (*AccessControls) SetProviderConfigReference ¶
func (mg *AccessControls) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this AccessControls.
func (*AccessControls) SetPublishConnectionDetailsTo ¶
func (mg *AccessControls) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this AccessControls.
func (*AccessControls) SetWriteConnectionSecretToReference ¶
func (mg *AccessControls) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this AccessControls.
type AccessControlsInitParameters ¶ added in v0.0.16
type AccessControlsInitParameters struct {
// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format.
// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format.
// +listType=set
AllowList []*string `json:"allowList,omitempty" tf:"allow_list,omitempty"`
// The unique ID of the target database.
// The ID of the database to manage the allow list for.
DatabaseID *float64 `json:"databaseId,omitempty" tf:"database_id,omitempty"`
// The unique type of the target database. (mysql, mongodb, postgresql)
// The type of the database to manage the allow list for.
DatabaseType *string `json:"databaseType,omitempty" tf:"database_type,omitempty"`
}
func (*AccessControlsInitParameters) DeepCopy ¶ added in v0.0.16
func (in *AccessControlsInitParameters) DeepCopy() *AccessControlsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessControlsInitParameters.
func (*AccessControlsInitParameters) DeepCopyInto ¶ added in v0.0.16
func (in *AccessControlsInitParameters) DeepCopyInto(out *AccessControlsInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AccessControlsList ¶
type AccessControlsList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []AccessControls `json:"items"`
}
AccessControlsList contains a list of AccessControlss
func (*AccessControlsList) DeepCopy ¶
func (in *AccessControlsList) DeepCopy() *AccessControlsList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessControlsList.
func (*AccessControlsList) DeepCopyInto ¶
func (in *AccessControlsList) DeepCopyInto(out *AccessControlsList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AccessControlsList) DeepCopyObject ¶
func (in *AccessControlsList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*AccessControlsList) GetItems ¶
func (l *AccessControlsList) GetItems() []resource.Managed
GetItems of this AccessControlsList.
type AccessControlsObservation ¶
type AccessControlsObservation struct {
// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format.
// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format.
// +listType=set
AllowList []*string `json:"allowList,omitempty" tf:"allow_list,omitempty"`
// The unique ID of the target database.
// The ID of the database to manage the allow list for.
DatabaseID *float64 `json:"databaseId,omitempty" tf:"database_id,omitempty"`
// The unique type of the target database. (mysql, mongodb, postgresql)
// The type of the database to manage the allow list for.
DatabaseType *string `json:"databaseType,omitempty" tf:"database_type,omitempty"`
ID *string `json:"id,omitempty" tf:"id,omitempty"`
}
func (*AccessControlsObservation) DeepCopy ¶
func (in *AccessControlsObservation) DeepCopy() *AccessControlsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessControlsObservation.
func (*AccessControlsObservation) DeepCopyInto ¶
func (in *AccessControlsObservation) DeepCopyInto(out *AccessControlsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AccessControlsParameters ¶
type AccessControlsParameters struct {
// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format.
// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format.
// +kubebuilder:validation:Optional
// +listType=set
AllowList []*string `json:"allowList,omitempty" tf:"allow_list,omitempty"`
// The unique ID of the target database.
// The ID of the database to manage the allow list for.
// +kubebuilder:validation:Optional
DatabaseID *float64 `json:"databaseId,omitempty" tf:"database_id,omitempty"`
// The unique type of the target database. (mysql, mongodb, postgresql)
// The type of the database to manage the allow list for.
// +kubebuilder:validation:Optional
DatabaseType *string `json:"databaseType,omitempty" tf:"database_type,omitempty"`
}
func (*AccessControlsParameters) DeepCopy ¶
func (in *AccessControlsParameters) DeepCopy() *AccessControlsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessControlsParameters.
func (*AccessControlsParameters) DeepCopyInto ¶
func (in *AccessControlsParameters) DeepCopyInto(out *AccessControlsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AccessControlsSpec ¶
type AccessControlsSpec struct {
v1.ResourceSpec `json:",inline"`
ForProvider AccessControlsParameters `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 AccessControlsInitParameters `json:"initProvider,omitempty"`
}
AccessControlsSpec defines the desired state of AccessControls
func (*AccessControlsSpec) DeepCopy ¶
func (in *AccessControlsSpec) DeepCopy() *AccessControlsSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessControlsSpec.
func (*AccessControlsSpec) DeepCopyInto ¶
func (in *AccessControlsSpec) DeepCopyInto(out *AccessControlsSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AccessControlsStatus ¶
type AccessControlsStatus struct {
v1.ResourceStatus `json:",inline"`
AtProvider AccessControlsObservation `json:"atProvider,omitempty"`
}
AccessControlsStatus defines the observed state of AccessControls.
func (*AccessControlsStatus) DeepCopy ¶
func (in *AccessControlsStatus) DeepCopy() *AccessControlsStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessControlsStatus.
func (*AccessControlsStatus) DeepCopyInto ¶
func (in *AccessControlsStatus) DeepCopyInto(out *AccessControlsStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MySQL ¶
type MySQL 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.engineId) || (has(self.initProvider) && has(self.initProvider.engineId))",message="spec.forProvider.engineId is a required parameter"
// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.label) || (has(self.initProvider) && has(self.initProvider.label))",message="spec.forProvider.label is a required parameter"
// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.region) || (has(self.initProvider) && has(self.initProvider.region))",message="spec.forProvider.region is a required parameter"
// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.type) || (has(self.initProvider) && has(self.initProvider.type))",message="spec.forProvider.type is a required parameter"
Spec MySQLSpec `json:"spec"`
Status MySQLStatus `json:"status,omitempty"`
}
MySQL is the Schema for the MySQLs API. Manages a Linode MySQL Database. +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,linode}
func (*MySQL) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQL.
func (*MySQL) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MySQL) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*MySQL) GetCondition ¶
func (mg *MySQL) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this MySQL.
func (*MySQL) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this MySQL
func (*MySQL) GetDeletionPolicy ¶
func (mg *MySQL) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this MySQL.
func (*MySQL) GetInitParameters ¶ added in v0.0.16
GetInitParameters of this MySQL
func (*MySQL) GetManagementPolicies ¶ added in v0.0.16
func (mg *MySQL) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this MySQL.
func (*MySQL) GetMergedParameters ¶ added in v0.0.16
GetInitParameters of this MySQL
func (*MySQL) GetObservation ¶
GetObservation of this MySQL
func (*MySQL) GetParameters ¶
GetParameters of this MySQL
func (*MySQL) GetProviderConfigReference ¶
GetProviderConfigReference of this MySQL.
func (*MySQL) GetPublishConnectionDetailsTo ¶
func (mg *MySQL) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this MySQL.
func (*MySQL) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this MySQL
func (*MySQL) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*MySQL) GetWriteConnectionSecretToReference ¶
func (mg *MySQL) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this MySQL.
func (*MySQL) Hub ¶ added in v0.0.16
func (tr *MySQL) Hub()
Hub marks this type as a conversion hub.
func (*MySQL) LateInitialize ¶
LateInitialize this MySQL using its observed tfState. returns True if there are any spec changes for the resource.
func (*MySQL) SetConditions ¶
SetConditions of this MySQL.
func (*MySQL) SetDeletionPolicy ¶
func (mg *MySQL) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this MySQL.
func (*MySQL) SetManagementPolicies ¶ added in v0.0.16
func (mg *MySQL) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this MySQL.
func (*MySQL) SetObservation ¶
SetObservation for this MySQL
func (*MySQL) SetParameters ¶
SetParameters for this MySQL
func (*MySQL) SetProviderConfigReference ¶
SetProviderConfigReference of this MySQL.
func (*MySQL) SetPublishConnectionDetailsTo ¶
func (mg *MySQL) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this MySQL.
func (*MySQL) SetWriteConnectionSecretToReference ¶
func (mg *MySQL) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this MySQL.
type MySQLInitParameters ¶ added in v0.0.16
type MySQLInitParameters struct {
// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. Use linode_database_access_controls to manage your allow list separately.
// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format.
// +listType=set
AllowList []*string `json:"allowList,omitempty" tf:"allow_list,omitempty"`
// The number of Linode Instance nodes deployed to the Managed Database. (default 1)
// The number of Linode Instance nodes deployed to the Managed Database. Defaults to 1.
ClusterSize *float64 `json:"clusterSize,omitempty" tf:"cluster_size,omitempty"`
// Whether the Managed Databases is encrypted. (default false)
// Whether the Managed Databases is encrypted.
Encrypted *bool `json:"encrypted,omitempty" tf:"encrypted,omitempty"`
// The Managed Database engine in engine/version format. (e.g. mysql/8.0.30)
// The Managed Database engine in engine/version format. (e.g. mysql/8.0.30)
EngineID *string `json:"engineId,omitempty" tf:"engine_id,omitempty"`
// A unique, user-defined string referring to the Managed Database.
// A unique, user-defined string referring to the Managed Database.
Label *string `json:"label,omitempty" tf:"label,omitempty"`
// The region to use for the Managed Database.
// The region to use for the Managed Database.
Region *string `json:"region,omitempty" tf:"region,omitempty"`
// The replication method used for the Managed Database. (none, asynch, semi_synch; default none)
// The replication method used for the Managed Database.
ReplicationType *string `json:"replicationType,omitempty" tf:"replication_type,omitempty"`
// Whether to require SSL credentials to establish a connection to the Managed Database. (default false)
// Whether to require SSL credentials to establish a connection to the Managed Database.
SSLConnection *bool `json:"sslConnection,omitempty" tf:"ssl_connection,omitempty"`
// The Linode Instance type used for the nodes of the Managed Database instance.
// The Linode Instance type used by the Managed Database for its nodes.
Type *string `json:"type,omitempty" tf:"type,omitempty"`
// Configuration settings for automated patch update maintenance for the Managed Database.
Updates []UpdatesInitParameters `json:"updates,omitempty" tf:"updates,omitempty"`
}
func (*MySQLInitParameters) DeepCopy ¶ added in v0.0.16
func (in *MySQLInitParameters) DeepCopy() *MySQLInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLInitParameters.
func (*MySQLInitParameters) DeepCopyInto ¶ added in v0.0.16
func (in *MySQLInitParameters) DeepCopyInto(out *MySQLInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MySQLList ¶
type MySQLList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []MySQL `json:"items"`
}
MySQLList contains a list of MySQLs
func (*MySQLList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLList.
func (*MySQLList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MySQLList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MySQLObservation ¶
type MySQLObservation struct {
// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. Use linode_database_access_controls to manage your allow list separately.
// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format.
// +listType=set
AllowList []*string `json:"allowList,omitempty" tf:"allow_list,omitempty"`
// The number of Linode Instance nodes deployed to the Managed Database. (default 1)
// The number of Linode Instance nodes deployed to the Managed Database. Defaults to 1.
ClusterSize *float64 `json:"clusterSize,omitempty" tf:"cluster_size,omitempty"`
// When this Managed Database was created.
// When this Managed Database was created.
Created *string `json:"created,omitempty" tf:"created,omitempty"`
// Whether the Managed Databases is encrypted. (default false)
// Whether the Managed Databases is encrypted.
Encrypted *bool `json:"encrypted,omitempty" tf:"encrypted,omitempty"`
// The Managed Database engine. (e.g. mysql)
// The Managed Database engine.
Engine *string `json:"engine,omitempty" tf:"engine,omitempty"`
// The Managed Database engine in engine/version format. (e.g. mysql/8.0.30)
// The Managed Database engine in engine/version format. (e.g. mysql/8.0.30)
EngineID *string `json:"engineId,omitempty" tf:"engine_id,omitempty"`
// The primary host for the Managed Database.
// The primary host for the Managed Database.
HostPrimary *string `json:"hostPrimary,omitempty" tf:"host_primary,omitempty"`
// The secondary/private network host for the Managed Database.
// The secondary host for the Managed Database.
HostSecondary *string `json:"hostSecondary,omitempty" tf:"host_secondary,omitempty"`
// The ID of the Managed Database.
ID *string `json:"id,omitempty" tf:"id,omitempty"`
// A unique, user-defined string referring to the Managed Database.
// A unique, user-defined string referring to the Managed Database.
Label *string `json:"label,omitempty" tf:"label,omitempty"`
// The region to use for the Managed Database.
// The region to use for the Managed Database.
Region *string `json:"region,omitempty" tf:"region,omitempty"`
// The replication method used for the Managed Database. (none, asynch, semi_synch; default none)
// The replication method used for the Managed Database.
ReplicationType *string `json:"replicationType,omitempty" tf:"replication_type,omitempty"`
// Whether to require SSL credentials to establish a connection to the Managed Database. (default false)
// Whether to require SSL credentials to establish a connection to the Managed Database.
SSLConnection *bool `json:"sslConnection,omitempty" tf:"ssl_connection,omitempty"`
// The operating status of the Managed Database.
// The operating status of the Managed Database.
Status *string `json:"status,omitempty" tf:"status,omitempty"`
// The Linode Instance type used for the nodes of the Managed Database instance.
// The Linode Instance type used by the Managed Database for its nodes.
Type *string `json:"type,omitempty" tf:"type,omitempty"`
// When this Managed Database was last updated.
// When this Managed Database was last updated.
Updated *string `json:"updated,omitempty" tf:"updated,omitempty"`
// Configuration settings for automated patch update maintenance for the Managed Database.
Updates []UpdatesObservation `json:"updates,omitempty" tf:"updates,omitempty"`
// The Managed Database engine version. (e.g. v8.0.26)
// The Managed Database engine version.
Version *string `json:"version,omitempty" tf:"version,omitempty"`
}
func (*MySQLObservation) DeepCopy ¶
func (in *MySQLObservation) DeepCopy() *MySQLObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLObservation.
func (*MySQLObservation) DeepCopyInto ¶
func (in *MySQLObservation) DeepCopyInto(out *MySQLObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MySQLParameters ¶
type MySQLParameters struct {
// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. Use linode_database_access_controls to manage your allow list separately.
// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format.
// +kubebuilder:validation:Optional
// +listType=set
AllowList []*string `json:"allowList,omitempty" tf:"allow_list,omitempty"`
// The number of Linode Instance nodes deployed to the Managed Database. (default 1)
// The number of Linode Instance nodes deployed to the Managed Database. Defaults to 1.
// +kubebuilder:validation:Optional
ClusterSize *float64 `json:"clusterSize,omitempty" tf:"cluster_size,omitempty"`
// Whether the Managed Databases is encrypted. (default false)
// Whether the Managed Databases is encrypted.
// +kubebuilder:validation:Optional
Encrypted *bool `json:"encrypted,omitempty" tf:"encrypted,omitempty"`
// The Managed Database engine in engine/version format. (e.g. mysql/8.0.30)
// The Managed Database engine in engine/version format. (e.g. mysql/8.0.30)
// +kubebuilder:validation:Optional
EngineID *string `json:"engineId,omitempty" tf:"engine_id,omitempty"`
// A unique, user-defined string referring to the Managed Database.
// A unique, user-defined string referring to the Managed Database.
// +kubebuilder:validation:Optional
Label *string `json:"label,omitempty" tf:"label,omitempty"`
// The region to use for the Managed Database.
// The region to use for the Managed Database.
// +kubebuilder:validation:Optional
Region *string `json:"region,omitempty" tf:"region,omitempty"`
// The replication method used for the Managed Database. (none, asynch, semi_synch; default none)
// The replication method used for the Managed Database.
// +kubebuilder:validation:Optional
ReplicationType *string `json:"replicationType,omitempty" tf:"replication_type,omitempty"`
// Whether to require SSL credentials to establish a connection to the Managed Database. (default false)
// Whether to require SSL credentials to establish a connection to the Managed Database.
// +kubebuilder:validation:Optional
SSLConnection *bool `json:"sslConnection,omitempty" tf:"ssl_connection,omitempty"`
// The Linode Instance type used for the nodes of the Managed Database instance.
// The Linode Instance type used by the Managed Database for its nodes.
// +kubebuilder:validation:Optional
Type *string `json:"type,omitempty" tf:"type,omitempty"`
// Configuration settings for automated patch update maintenance for the Managed Database.
// +kubebuilder:validation:Optional
Updates []UpdatesParameters `json:"updates,omitempty" tf:"updates,omitempty"`
}
func (*MySQLParameters) DeepCopy ¶
func (in *MySQLParameters) DeepCopy() *MySQLParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLParameters.
func (*MySQLParameters) DeepCopyInto ¶
func (in *MySQLParameters) DeepCopyInto(out *MySQLParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MySQLSpec ¶
type MySQLSpec struct {
v1.ResourceSpec `json:",inline"`
ForProvider MySQLParameters `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 MySQLInitParameters `json:"initProvider,omitempty"`
}
MySQLSpec defines the desired state of MySQL
func (*MySQLSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLSpec.
func (*MySQLSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MySQLStatus ¶
type MySQLStatus struct {
v1.ResourceStatus `json:",inline"`
AtProvider MySQLObservation `json:"atProvider,omitempty"`
}
MySQLStatus defines the observed state of MySQL.
func (*MySQLStatus) DeepCopy ¶
func (in *MySQLStatus) DeepCopy() *MySQLStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLStatus.
func (*MySQLStatus) DeepCopyInto ¶
func (in *MySQLStatus) DeepCopyInto(out *MySQLStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PostgreSQL ¶
type PostgreSQL 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.engineId) || (has(self.initProvider) && has(self.initProvider.engineId))",message="spec.forProvider.engineId is a required parameter"
// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.label) || (has(self.initProvider) && has(self.initProvider.label))",message="spec.forProvider.label is a required parameter"
// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.region) || (has(self.initProvider) && has(self.initProvider.region))",message="spec.forProvider.region is a required parameter"
// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.type) || (has(self.initProvider) && has(self.initProvider.type))",message="spec.forProvider.type is a required parameter"
Spec PostgreSQLSpec `json:"spec"`
Status PostgreSQLStatus `json:"status,omitempty"`
}
PostgreSQL is the Schema for the PostgreSQLs API. Manages a Linode PostgreSQL Database. +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,linode}
func (*PostgreSQL) DeepCopy ¶
func (in *PostgreSQL) DeepCopy() *PostgreSQL
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgreSQL.
func (*PostgreSQL) DeepCopyInto ¶
func (in *PostgreSQL) DeepCopyInto(out *PostgreSQL)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PostgreSQL) DeepCopyObject ¶
func (in *PostgreSQL) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*PostgreSQL) GetCondition ¶
func (mg *PostgreSQL) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this PostgreSQL.
func (*PostgreSQL) GetConnectionDetailsMapping ¶
func (tr *PostgreSQL) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this PostgreSQL
func (*PostgreSQL) GetDeletionPolicy ¶
func (mg *PostgreSQL) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this PostgreSQL.
func (*PostgreSQL) GetID ¶
func (tr *PostgreSQL) GetID() string
GetID returns ID of underlying Terraform resource of this PostgreSQL
func (*PostgreSQL) GetInitParameters ¶ added in v0.0.16
func (tr *PostgreSQL) GetInitParameters() (map[string]any, error)
GetInitParameters of this PostgreSQL
func (*PostgreSQL) GetManagementPolicies ¶ added in v0.0.16
func (mg *PostgreSQL) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this PostgreSQL.
func (*PostgreSQL) GetMergedParameters ¶ added in v0.0.16
func (tr *PostgreSQL) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
GetInitParameters of this PostgreSQL
func (*PostgreSQL) GetObservation ¶
func (tr *PostgreSQL) GetObservation() (map[string]any, error)
GetObservation of this PostgreSQL
func (*PostgreSQL) GetParameters ¶
func (tr *PostgreSQL) GetParameters() (map[string]any, error)
GetParameters of this PostgreSQL
func (*PostgreSQL) GetProviderConfigReference ¶
func (mg *PostgreSQL) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this PostgreSQL.
func (*PostgreSQL) GetPublishConnectionDetailsTo ¶
func (mg *PostgreSQL) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this PostgreSQL.
func (*PostgreSQL) GetTerraformResourceType ¶
func (mg *PostgreSQL) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this PostgreSQL
func (*PostgreSQL) GetTerraformSchemaVersion ¶
func (tr *PostgreSQL) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*PostgreSQL) GetWriteConnectionSecretToReference ¶
func (mg *PostgreSQL) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this PostgreSQL.
func (*PostgreSQL) Hub ¶ added in v0.0.16
func (tr *PostgreSQL) Hub()
Hub marks this type as a conversion hub.
func (*PostgreSQL) LateInitialize ¶
func (tr *PostgreSQL) LateInitialize(attrs []byte) (bool, error)
LateInitialize this PostgreSQL using its observed tfState. returns True if there are any spec changes for the resource.
func (*PostgreSQL) SetConditions ¶
func (mg *PostgreSQL) SetConditions(c ...xpv1.Condition)
SetConditions of this PostgreSQL.
func (*PostgreSQL) SetDeletionPolicy ¶
func (mg *PostgreSQL) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this PostgreSQL.
func (*PostgreSQL) SetManagementPolicies ¶ added in v0.0.16
func (mg *PostgreSQL) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this PostgreSQL.
func (*PostgreSQL) SetObservation ¶
func (tr *PostgreSQL) SetObservation(obs map[string]any) error
SetObservation for this PostgreSQL
func (*PostgreSQL) SetParameters ¶
func (tr *PostgreSQL) SetParameters(params map[string]any) error
SetParameters for this PostgreSQL
func (*PostgreSQL) SetProviderConfigReference ¶
func (mg *PostgreSQL) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this PostgreSQL.
func (*PostgreSQL) SetPublishConnectionDetailsTo ¶
func (mg *PostgreSQL) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this PostgreSQL.
func (*PostgreSQL) SetWriteConnectionSecretToReference ¶
func (mg *PostgreSQL) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this PostgreSQL.
type PostgreSQLInitParameters ¶ added in v0.0.16
type PostgreSQLInitParameters struct {
// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. Use linode_database_access_controls to manage your allow list separately.
// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format.
// +listType=set
AllowList []*string `json:"allowList,omitempty" tf:"allow_list,omitempty"`
// The number of Linode Instance nodes deployed to the Managed Database. (default 1)
// The number of Linode Instance nodes deployed to the Managed Database. Defaults to 1.
ClusterSize *float64 `json:"clusterSize,omitempty" tf:"cluster_size,omitempty"`
// Whether the Managed Databases is encrypted. (default false)
// Whether the Managed Databases is encrypted.
Encrypted *bool `json:"encrypted,omitempty" tf:"encrypted,omitempty"`
// The Managed Database engine in engine/version format. (e.g. postgresql/13.2)
// The Managed Database engine in engine/version format. (e.g. mysql/8.0.30)
EngineID *string `json:"engineId,omitempty" tf:"engine_id,omitempty"`
// A unique, user-defined string referring to the Managed Database.
// A unique, user-defined string referring to the Managed Database.
Label *string `json:"label,omitempty" tf:"label,omitempty"`
// The region to use for the Managed Database.
// The region to use for the Managed Database.
Region *string `json:"region,omitempty" tf:"region,omitempty"`
// The synchronization level of the replicating server. (on, local, remote_write, remote_apply, off; default off)
// The synchronization level of the replicating server.Must be `local` or `off` for the `asynch` replication type. Must be `on`, `remote_write`, or `remote_apply` for the `semi_synch` replication type.
ReplicationCommitType *string `json:"replicationCommitType,omitempty" tf:"replication_commit_type,omitempty"`
// The replication method used for the Managed Database. (none, asynch, semi_synch; default none)
// The replication method used for the Managed Database. Must be `none` for a single node cluster. Must be `asynch` or `semi_synch` for a high availability cluster.
ReplicationType *string `json:"replicationType,omitempty" tf:"replication_type,omitempty"`
// Whether to require SSL credentials to establish a connection to the Managed Database. (default false)
// Whether to require SSL credentials to establish a connection to the Managed Database.
SSLConnection *bool `json:"sslConnection,omitempty" tf:"ssl_connection,omitempty"`
// The Linode Instance type used for the nodes of the Managed Database instance.
// The Linode Instance type used by the Managed Database for its nodes.
Type *string `json:"type,omitempty" tf:"type,omitempty"`
// Configuration settings for automated patch update maintenance for the Managed Database.
Updates []PostgreSQLUpdatesInitParameters `json:"updates,omitempty" tf:"updates,omitempty"`
}
func (*PostgreSQLInitParameters) DeepCopy ¶ added in v0.0.16
func (in *PostgreSQLInitParameters) DeepCopy() *PostgreSQLInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgreSQLInitParameters.
func (*PostgreSQLInitParameters) DeepCopyInto ¶ added in v0.0.16
func (in *PostgreSQLInitParameters) DeepCopyInto(out *PostgreSQLInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PostgreSQLList ¶
type PostgreSQLList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []PostgreSQL `json:"items"`
}
PostgreSQLList contains a list of PostgreSQLs
func (*PostgreSQLList) DeepCopy ¶
func (in *PostgreSQLList) DeepCopy() *PostgreSQLList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgreSQLList.
func (*PostgreSQLList) DeepCopyInto ¶
func (in *PostgreSQLList) DeepCopyInto(out *PostgreSQLList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PostgreSQLList) DeepCopyObject ¶
func (in *PostgreSQLList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*PostgreSQLList) GetItems ¶
func (l *PostgreSQLList) GetItems() []resource.Managed
GetItems of this PostgreSQLList.
type PostgreSQLObservation ¶
type PostgreSQLObservation struct {
// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. Use linode_database_access_controls to manage your allow list separately.
// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format.
// +listType=set
AllowList []*string `json:"allowList,omitempty" tf:"allow_list,omitempty"`
// The number of Linode Instance nodes deployed to the Managed Database. (default 1)
// The number of Linode Instance nodes deployed to the Managed Database. Defaults to 1.
ClusterSize *float64 `json:"clusterSize,omitempty" tf:"cluster_size,omitempty"`
// When this Managed Database was created.
// When this Managed Database was created.
Created *string `json:"created,omitempty" tf:"created,omitempty"`
// Whether the Managed Databases is encrypted. (default false)
// Whether the Managed Databases is encrypted.
Encrypted *bool `json:"encrypted,omitempty" tf:"encrypted,omitempty"`
// The Managed Database engine. (e.g. postgresql)
// The Managed Database engine.
Engine *string `json:"engine,omitempty" tf:"engine,omitempty"`
// The Managed Database engine in engine/version format. (e.g. postgresql/13.2)
// The Managed Database engine in engine/version format. (e.g. mysql/8.0.30)
EngineID *string `json:"engineId,omitempty" tf:"engine_id,omitempty"`
// The primary host for the Managed Database.
// The primary host for the Managed Database.
HostPrimary *string `json:"hostPrimary,omitempty" tf:"host_primary,omitempty"`
// The secondary/private network host for the Managed Database.
// The secondary host for the Managed Database.
HostSecondary *string `json:"hostSecondary,omitempty" tf:"host_secondary,omitempty"`
// The ID of the Managed Database.
ID *string `json:"id,omitempty" tf:"id,omitempty"`
// A unique, user-defined string referring to the Managed Database.
// A unique, user-defined string referring to the Managed Database.
Label *string `json:"label,omitempty" tf:"label,omitempty"`
// The access port for this Managed Database.
Port *float64 `json:"port,omitempty" tf:"port,omitempty"`
// The region to use for the Managed Database.
// The region to use for the Managed Database.
Region *string `json:"region,omitempty" tf:"region,omitempty"`
// The synchronization level of the replicating server. (on, local, remote_write, remote_apply, off; default off)
// The synchronization level of the replicating server.Must be `local` or `off` for the `asynch` replication type. Must be `on`, `remote_write`, or `remote_apply` for the `semi_synch` replication type.
ReplicationCommitType *string `json:"replicationCommitType,omitempty" tf:"replication_commit_type,omitempty"`
// The replication method used for the Managed Database. (none, asynch, semi_synch; default none)
// The replication method used for the Managed Database. Must be `none` for a single node cluster. Must be `asynch` or `semi_synch` for a high availability cluster.
ReplicationType *string `json:"replicationType,omitempty" tf:"replication_type,omitempty"`
// Whether to require SSL credentials to establish a connection to the Managed Database. (default false)
// Whether to require SSL credentials to establish a connection to the Managed Database.
SSLConnection *bool `json:"sslConnection,omitempty" tf:"ssl_connection,omitempty"`
// The operating status of the Managed Database.
// The operating status of the Managed Database.
Status *string `json:"status,omitempty" tf:"status,omitempty"`
// The Linode Instance type used for the nodes of the Managed Database instance.
// The Linode Instance type used by the Managed Database for its nodes.
Type *string `json:"type,omitempty" tf:"type,omitempty"`
// When this Managed Database was last updated.
// When this Managed Database was last updated.
Updated *string `json:"updated,omitempty" tf:"updated,omitempty"`
// Configuration settings for automated patch update maintenance for the Managed Database.
Updates []PostgreSQLUpdatesObservation `json:"updates,omitempty" tf:"updates,omitempty"`
// The Managed Database engine version. (e.g. 13.2)
// The Managed Database engine version.
Version *string `json:"version,omitempty" tf:"version,omitempty"`
}
func (*PostgreSQLObservation) DeepCopy ¶
func (in *PostgreSQLObservation) DeepCopy() *PostgreSQLObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgreSQLObservation.
func (*PostgreSQLObservation) DeepCopyInto ¶
func (in *PostgreSQLObservation) DeepCopyInto(out *PostgreSQLObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PostgreSQLParameters ¶
type PostgreSQLParameters struct {
// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. Use linode_database_access_controls to manage your allow list separately.
// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format.
// +kubebuilder:validation:Optional
// +listType=set
AllowList []*string `json:"allowList,omitempty" tf:"allow_list,omitempty"`
// The number of Linode Instance nodes deployed to the Managed Database. (default 1)
// The number of Linode Instance nodes deployed to the Managed Database. Defaults to 1.
// +kubebuilder:validation:Optional
ClusterSize *float64 `json:"clusterSize,omitempty" tf:"cluster_size,omitempty"`
// Whether the Managed Databases is encrypted. (default false)
// Whether the Managed Databases is encrypted.
// +kubebuilder:validation:Optional
Encrypted *bool `json:"encrypted,omitempty" tf:"encrypted,omitempty"`
// The Managed Database engine in engine/version format. (e.g. postgresql/13.2)
// The Managed Database engine in engine/version format. (e.g. mysql/8.0.30)
// +kubebuilder:validation:Optional
EngineID *string `json:"engineId,omitempty" tf:"engine_id,omitempty"`
// A unique, user-defined string referring to the Managed Database.
// A unique, user-defined string referring to the Managed Database.
// +kubebuilder:validation:Optional
Label *string `json:"label,omitempty" tf:"label,omitempty"`
// The region to use for the Managed Database.
// The region to use for the Managed Database.
// +kubebuilder:validation:Optional
Region *string `json:"region,omitempty" tf:"region,omitempty"`
// The synchronization level of the replicating server. (on, local, remote_write, remote_apply, off; default off)
// The synchronization level of the replicating server.Must be `local` or `off` for the `asynch` replication type. Must be `on`, `remote_write`, or `remote_apply` for the `semi_synch` replication type.
// +kubebuilder:validation:Optional
ReplicationCommitType *string `json:"replicationCommitType,omitempty" tf:"replication_commit_type,omitempty"`
// The replication method used for the Managed Database. (none, asynch, semi_synch; default none)
// The replication method used for the Managed Database. Must be `none` for a single node cluster. Must be `asynch` or `semi_synch` for a high availability cluster.
// +kubebuilder:validation:Optional
ReplicationType *string `json:"replicationType,omitempty" tf:"replication_type,omitempty"`
// Whether to require SSL credentials to establish a connection to the Managed Database. (default false)
// Whether to require SSL credentials to establish a connection to the Managed Database.
// +kubebuilder:validation:Optional
SSLConnection *bool `json:"sslConnection,omitempty" tf:"ssl_connection,omitempty"`
// The Linode Instance type used for the nodes of the Managed Database instance.
// The Linode Instance type used by the Managed Database for its nodes.
// +kubebuilder:validation:Optional
Type *string `json:"type,omitempty" tf:"type,omitempty"`
// Configuration settings for automated patch update maintenance for the Managed Database.
// +kubebuilder:validation:Optional
Updates []PostgreSQLUpdatesParameters `json:"updates,omitempty" tf:"updates,omitempty"`
}
func (*PostgreSQLParameters) DeepCopy ¶
func (in *PostgreSQLParameters) DeepCopy() *PostgreSQLParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgreSQLParameters.
func (*PostgreSQLParameters) DeepCopyInto ¶
func (in *PostgreSQLParameters) DeepCopyInto(out *PostgreSQLParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PostgreSQLSpec ¶
type PostgreSQLSpec struct {
v1.ResourceSpec `json:",inline"`
ForProvider PostgreSQLParameters `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 PostgreSQLInitParameters `json:"initProvider,omitempty"`
}
PostgreSQLSpec defines the desired state of PostgreSQL
func (*PostgreSQLSpec) DeepCopy ¶
func (in *PostgreSQLSpec) DeepCopy() *PostgreSQLSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgreSQLSpec.
func (*PostgreSQLSpec) DeepCopyInto ¶
func (in *PostgreSQLSpec) DeepCopyInto(out *PostgreSQLSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PostgreSQLStatus ¶
type PostgreSQLStatus struct {
v1.ResourceStatus `json:",inline"`
AtProvider PostgreSQLObservation `json:"atProvider,omitempty"`
}
PostgreSQLStatus defines the observed state of PostgreSQL.
func (*PostgreSQLStatus) DeepCopy ¶
func (in *PostgreSQLStatus) DeepCopy() *PostgreSQLStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgreSQLStatus.
func (*PostgreSQLStatus) DeepCopyInto ¶
func (in *PostgreSQLStatus) DeepCopyInto(out *PostgreSQLStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PostgreSQLUpdatesInitParameters ¶ added in v0.0.16
type PostgreSQLUpdatesInitParameters struct {
// The day to perform maintenance. (monday, tuesday, ...)
// The day to perform maintenance.
DayOfWeek *string `json:"dayOfWeek,omitempty" tf:"day_of_week,omitempty"`
// The maximum maintenance window time in hours. (1..3)
// The maximum maintenance window time in hours.
Duration *float64 `json:"duration,omitempty" tf:"duration,omitempty"`
// Whether maintenance occurs on a weekly or monthly basis. (weekly, monthly)
// Whether maintenance occurs on a weekly or monthly basis.
Frequency *string `json:"frequency,omitempty" tf:"frequency,omitempty"`
// The hour to begin maintenance based in UTC time. (0..23)
// The hour to begin maintenance based in UTC time.
HourOfDay *float64 `json:"hourOfDay,omitempty" tf:"hour_of_day,omitempty"`
// The week of the month to perform monthly frequency updates. Required for monthly frequency updates. (1..4)
// The week of the month to perform monthly frequency updates. Required for monthly frequency updates.
WeekOfMonth *float64 `json:"weekOfMonth,omitempty" tf:"week_of_month,omitempty"`
}
func (*PostgreSQLUpdatesInitParameters) DeepCopy ¶ added in v0.0.16
func (in *PostgreSQLUpdatesInitParameters) DeepCopy() *PostgreSQLUpdatesInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgreSQLUpdatesInitParameters.
func (*PostgreSQLUpdatesInitParameters) DeepCopyInto ¶ added in v0.0.16
func (in *PostgreSQLUpdatesInitParameters) DeepCopyInto(out *PostgreSQLUpdatesInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PostgreSQLUpdatesObservation ¶
type PostgreSQLUpdatesObservation struct {
// The day to perform maintenance. (monday, tuesday, ...)
// The day to perform maintenance.
DayOfWeek *string `json:"dayOfWeek,omitempty" tf:"day_of_week,omitempty"`
// The maximum maintenance window time in hours. (1..3)
// The maximum maintenance window time in hours.
Duration *float64 `json:"duration,omitempty" tf:"duration,omitempty"`
// Whether maintenance occurs on a weekly or monthly basis. (weekly, monthly)
// Whether maintenance occurs on a weekly or monthly basis.
Frequency *string `json:"frequency,omitempty" tf:"frequency,omitempty"`
// The hour to begin maintenance based in UTC time. (0..23)
// The hour to begin maintenance based in UTC time.
HourOfDay *float64 `json:"hourOfDay,omitempty" tf:"hour_of_day,omitempty"`
// The week of the month to perform monthly frequency updates. Required for monthly frequency updates. (1..4)
// The week of the month to perform monthly frequency updates. Required for monthly frequency updates.
WeekOfMonth *float64 `json:"weekOfMonth,omitempty" tf:"week_of_month,omitempty"`
}
func (*PostgreSQLUpdatesObservation) DeepCopy ¶
func (in *PostgreSQLUpdatesObservation) DeepCopy() *PostgreSQLUpdatesObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgreSQLUpdatesObservation.
func (*PostgreSQLUpdatesObservation) DeepCopyInto ¶
func (in *PostgreSQLUpdatesObservation) DeepCopyInto(out *PostgreSQLUpdatesObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PostgreSQLUpdatesParameters ¶
type PostgreSQLUpdatesParameters struct {
// The day to perform maintenance. (monday, tuesday, ...)
// The day to perform maintenance.
// +kubebuilder:validation:Optional
DayOfWeek *string `json:"dayOfWeek" tf:"day_of_week,omitempty"`
// The maximum maintenance window time in hours. (1..3)
// The maximum maintenance window time in hours.
// +kubebuilder:validation:Optional
Duration *float64 `json:"duration" tf:"duration,omitempty"`
// Whether maintenance occurs on a weekly or monthly basis. (weekly, monthly)
// Whether maintenance occurs on a weekly or monthly basis.
// +kubebuilder:validation:Optional
Frequency *string `json:"frequency" tf:"frequency,omitempty"`
// The hour to begin maintenance based in UTC time. (0..23)
// The hour to begin maintenance based in UTC time.
// +kubebuilder:validation:Optional
HourOfDay *float64 `json:"hourOfDay" tf:"hour_of_day,omitempty"`
// The week of the month to perform monthly frequency updates. Required for monthly frequency updates. (1..4)
// The week of the month to perform monthly frequency updates. Required for monthly frequency updates.
// +kubebuilder:validation:Optional
WeekOfMonth *float64 `json:"weekOfMonth,omitempty" tf:"week_of_month,omitempty"`
}
func (*PostgreSQLUpdatesParameters) DeepCopy ¶
func (in *PostgreSQLUpdatesParameters) DeepCopy() *PostgreSQLUpdatesParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgreSQLUpdatesParameters.
func (*PostgreSQLUpdatesParameters) DeepCopyInto ¶
func (in *PostgreSQLUpdatesParameters) DeepCopyInto(out *PostgreSQLUpdatesParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UpdatesInitParameters ¶ added in v0.0.16
type UpdatesInitParameters struct {
// The day to perform maintenance. (monday, tuesday, ...)
// The day to perform maintenance.
DayOfWeek *string `json:"dayOfWeek,omitempty" tf:"day_of_week,omitempty"`
// The maximum maintenance window time in hours. (1..3)
// The maximum maintenance window time in hours.
Duration *float64 `json:"duration,omitempty" tf:"duration,omitempty"`
// Whether maintenance occurs on a weekly or monthly basis. (weekly, monthly)
// Whether maintenance occurs on a weekly or monthly basis.
Frequency *string `json:"frequency,omitempty" tf:"frequency,omitempty"`
// The hour to begin maintenance based in UTC time. (0..23)
// The hour to begin maintenance based in UTC time.
HourOfDay *float64 `json:"hourOfDay,omitempty" tf:"hour_of_day,omitempty"`
// The week of the month to perform monthly frequency updates. Required for monthly frequency updates. (1..4)
// The week of the month to perform monthly frequency updates. Required for monthly frequency updates.
WeekOfMonth *float64 `json:"weekOfMonth,omitempty" tf:"week_of_month,omitempty"`
}
func (*UpdatesInitParameters) DeepCopy ¶ added in v0.0.16
func (in *UpdatesInitParameters) DeepCopy() *UpdatesInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpdatesInitParameters.
func (*UpdatesInitParameters) DeepCopyInto ¶ added in v0.0.16
func (in *UpdatesInitParameters) DeepCopyInto(out *UpdatesInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UpdatesObservation ¶
type UpdatesObservation struct {
// The day to perform maintenance. (monday, tuesday, ...)
// The day to perform maintenance.
DayOfWeek *string `json:"dayOfWeek,omitempty" tf:"day_of_week,omitempty"`
// The maximum maintenance window time in hours. (1..3)
// The maximum maintenance window time in hours.
Duration *float64 `json:"duration,omitempty" tf:"duration,omitempty"`
// Whether maintenance occurs on a weekly or monthly basis. (weekly, monthly)
// Whether maintenance occurs on a weekly or monthly basis.
Frequency *string `json:"frequency,omitempty" tf:"frequency,omitempty"`
// The hour to begin maintenance based in UTC time. (0..23)
// The hour to begin maintenance based in UTC time.
HourOfDay *float64 `json:"hourOfDay,omitempty" tf:"hour_of_day,omitempty"`
// The week of the month to perform monthly frequency updates. Required for monthly frequency updates. (1..4)
// The week of the month to perform monthly frequency updates. Required for monthly frequency updates.
WeekOfMonth *float64 `json:"weekOfMonth,omitempty" tf:"week_of_month,omitempty"`
}
func (*UpdatesObservation) DeepCopy ¶
func (in *UpdatesObservation) DeepCopy() *UpdatesObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpdatesObservation.
func (*UpdatesObservation) DeepCopyInto ¶
func (in *UpdatesObservation) DeepCopyInto(out *UpdatesObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UpdatesParameters ¶
type UpdatesParameters struct {
// The day to perform maintenance. (monday, tuesday, ...)
// The day to perform maintenance.
// +kubebuilder:validation:Optional
DayOfWeek *string `json:"dayOfWeek" tf:"day_of_week,omitempty"`
// The maximum maintenance window time in hours. (1..3)
// The maximum maintenance window time in hours.
// +kubebuilder:validation:Optional
Duration *float64 `json:"duration" tf:"duration,omitempty"`
// Whether maintenance occurs on a weekly or monthly basis. (weekly, monthly)
// Whether maintenance occurs on a weekly or monthly basis.
// +kubebuilder:validation:Optional
Frequency *string `json:"frequency" tf:"frequency,omitempty"`
// The hour to begin maintenance based in UTC time. (0..23)
// The hour to begin maintenance based in UTC time.
// +kubebuilder:validation:Optional
HourOfDay *float64 `json:"hourOfDay" tf:"hour_of_day,omitempty"`
// The week of the month to perform monthly frequency updates. Required for monthly frequency updates. (1..4)
// The week of the month to perform monthly frequency updates. Required for monthly frequency updates.
// +kubebuilder:validation:Optional
WeekOfMonth *float64 `json:"weekOfMonth,omitempty" tf:"week_of_month,omitempty"`
}
func (*UpdatesParameters) DeepCopy ¶
func (in *UpdatesParameters) DeepCopy() *UpdatesParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpdatesParameters.
func (*UpdatesParameters) DeepCopyInto ¶
func (in *UpdatesParameters) DeepCopyInto(out *UpdatesParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.