Documentation
¶
Overview ¶
+kubebuilder:object:generate=true +groupName=mongodb.ionoscloud.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type BackupInitParameters
- type BackupObservation
- type BackupParameters
- type BiConnectorInitParameters
- type BiConnectorObservation
- type BiConnectorParameters
- type ConnectionsInitParameters
- type ConnectionsObservation
- type ConnectionsParameters
- type MaintenanceWindowInitParameters
- type MaintenanceWindowObservation
- type MaintenanceWindowParameters
- type MongodbCluster
- func (in *MongodbCluster) DeepCopy() *MongodbCluster
- func (in *MongodbCluster) DeepCopyInto(out *MongodbCluster)
- func (in *MongodbCluster) DeepCopyObject() runtime.Object
- func (mg *MongodbCluster) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *MongodbCluster) GetConnectionDetailsMapping() map[string]string
- func (mg *MongodbCluster) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *MongodbCluster) GetID() string
- func (tr *MongodbCluster) GetInitParameters() (map[string]any, error)
- func (mg *MongodbCluster) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *MongodbCluster) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *MongodbCluster) GetObservation() (map[string]any, error)
- func (tr *MongodbCluster) GetParameters() (map[string]any, error)
- func (mg *MongodbCluster) GetProviderConfigReference() *xpv1.Reference
- func (mg *MongodbCluster) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *MongodbCluster) GetTerraformResourceType() string
- func (tr *MongodbCluster) GetTerraformSchemaVersion() int
- func (mg *MongodbCluster) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *MongodbCluster) Hub()
- func (tr *MongodbCluster) LateInitialize(attrs []byte) (bool, error)
- func (mg *MongodbCluster) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *MongodbCluster) SetConditions(c ...xpv1.Condition)
- func (mg *MongodbCluster) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *MongodbCluster) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *MongodbCluster) SetObservation(obs map[string]any) error
- func (tr *MongodbCluster) SetParameters(params map[string]any) error
- func (mg *MongodbCluster) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *MongodbCluster) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *MongodbCluster) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type MongodbClusterInitParameters
- type MongodbClusterList
- type MongodbClusterObservation
- type MongodbClusterParameters
- type MongodbClusterSpec
- type MongodbClusterStatus
- type MongodbUser
- func (in *MongodbUser) DeepCopy() *MongodbUser
- func (in *MongodbUser) DeepCopyInto(out *MongodbUser)
- func (in *MongodbUser) DeepCopyObject() runtime.Object
- func (mg *MongodbUser) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *MongodbUser) GetConnectionDetailsMapping() map[string]string
- func (mg *MongodbUser) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *MongodbUser) GetID() string
- func (tr *MongodbUser) GetInitParameters() (map[string]any, error)
- func (mg *MongodbUser) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *MongodbUser) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *MongodbUser) GetObservation() (map[string]any, error)
- func (tr *MongodbUser) GetParameters() (map[string]any, error)
- func (mg *MongodbUser) GetProviderConfigReference() *xpv1.Reference
- func (mg *MongodbUser) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *MongodbUser) GetTerraformResourceType() string
- func (tr *MongodbUser) GetTerraformSchemaVersion() int
- func (mg *MongodbUser) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *MongodbUser) Hub()
- func (tr *MongodbUser) LateInitialize(attrs []byte) (bool, error)
- func (mg *MongodbUser) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *MongodbUser) SetConditions(c ...xpv1.Condition)
- func (mg *MongodbUser) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *MongodbUser) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *MongodbUser) SetObservation(obs map[string]any) error
- func (tr *MongodbUser) SetParameters(params map[string]any) error
- func (mg *MongodbUser) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *MongodbUser) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *MongodbUser) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type MongodbUserInitParameters
- type MongodbUserList
- type MongodbUserObservation
- type MongodbUserParameters
- type MongodbUserSpec
- type MongodbUserStatus
- type RolesInitParameters
- type RolesObservation
- type RolesParameters
Constants ¶
const ( CRDGroup = "mongodb.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 ( MongodbCluster_Kind = "MongodbCluster" MongodbCluster_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: MongodbCluster_Kind}.String() MongodbCluster_KindAPIVersion = MongodbCluster_Kind + "." + CRDGroupVersion.String() MongodbCluster_GroupVersionKind = CRDGroupVersion.WithKind(MongodbCluster_Kind) )
Repository type metadata.
var ( MongodbUser_Kind = "MongodbUser" MongodbUser_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: MongodbUser_Kind}.String() MongodbUser_KindAPIVersion = MongodbUser_Kind + "." + CRDGroupVersion.String() MongodbUser_GroupVersionKind = CRDGroupVersion.WithKind(MongodbUser_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type BackupInitParameters ¶
type BackupInitParameters struct { // [string] The physical location where the cluster will be created. Property cannot be modified after datacenter creation (disallowed in update requests). Available locations: de/txl, gb/lhr, es/vit. Update forces cluster re-creation. // The location where the cluster backups will be stored. If not set, the backup is stored in the nearest location of the cluster. Examples: de, eu-sounth-2, eu-central-2 Location *string `json:"location,omitempty" tf:"location,omitempty"` // Number of hours in the past for which a point-in-time snapshot can be created. PointInTimeWindowHours *float64 `json:"pointInTimeWindowHours,omitempty" tf:"point_in_time_window_hours,omitempty"` // Number of hours between snapshots. SnapshotIntervalHours *float64 `json:"snapshotIntervalHours,omitempty" tf:"snapshot_interval_hours,omitempty"` }
func (*BackupInitParameters) DeepCopy ¶
func (in *BackupInitParameters) DeepCopy() *BackupInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupInitParameters.
func (*BackupInitParameters) DeepCopyInto ¶
func (in *BackupInitParameters) DeepCopyInto(out *BackupInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackupObservation ¶
type BackupObservation struct { // [string] The physical location where the cluster will be created. Property cannot be modified after datacenter creation (disallowed in update requests). Available locations: de/txl, gb/lhr, es/vit. Update forces cluster re-creation. // The location where the cluster backups will be stored. If not set, the backup is stored in the nearest location of the cluster. Examples: de, eu-sounth-2, eu-central-2 Location *string `json:"location,omitempty" tf:"location,omitempty"` // Number of hours in the past for which a point-in-time snapshot can be created. PointInTimeWindowHours *float64 `json:"pointInTimeWindowHours,omitempty" tf:"point_in_time_window_hours,omitempty"` // Number of hours between snapshots. SnapshotIntervalHours *float64 `json:"snapshotIntervalHours,omitempty" tf:"snapshot_interval_hours,omitempty"` }
func (*BackupObservation) DeepCopy ¶
func (in *BackupObservation) DeepCopy() *BackupObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupObservation.
func (*BackupObservation) DeepCopyInto ¶
func (in *BackupObservation) DeepCopyInto(out *BackupObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackupParameters ¶
type BackupParameters struct { // [string] The physical location where the cluster will be created. Property cannot be modified after datacenter creation (disallowed in update requests). Available locations: de/txl, gb/lhr, es/vit. Update forces cluster re-creation. // The location where the cluster backups will be stored. If not set, the backup is stored in the nearest location of the cluster. Examples: de, eu-sounth-2, eu-central-2 // +kubebuilder:validation:Optional Location *string `json:"location,omitempty" tf:"location,omitempty"` // Number of hours in the past for which a point-in-time snapshot can be created. // +kubebuilder:validation:Optional PointInTimeWindowHours *float64 `json:"pointInTimeWindowHours,omitempty" tf:"point_in_time_window_hours,omitempty"` // Number of hours between snapshots. // +kubebuilder:validation:Optional SnapshotIntervalHours *float64 `json:"snapshotIntervalHours,omitempty" tf:"snapshot_interval_hours,omitempty"` }
func (*BackupParameters) DeepCopy ¶
func (in *BackupParameters) DeepCopy() *BackupParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupParameters.
func (*BackupParameters) DeepCopyInto ¶
func (in *BackupParameters) DeepCopyInto(out *BackupParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BiConnectorInitParameters ¶
type BiConnectorInitParameters struct { // The status of the BI Connector. If not set, the BI Connector is disabled. // Enable or disable the BiConnector. Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` }
func (*BiConnectorInitParameters) DeepCopy ¶
func (in *BiConnectorInitParameters) DeepCopy() *BiConnectorInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BiConnectorInitParameters.
func (*BiConnectorInitParameters) DeepCopyInto ¶
func (in *BiConnectorInitParameters) DeepCopyInto(out *BiConnectorInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BiConnectorObservation ¶
type BiConnectorObservation struct { // The status of the BI Connector. If not set, the BI Connector is disabled. // Enable or disable the BiConnector. Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` // The host where this new BI Connector is installed. // The host where this new BI Connector is installed. Host *string `json:"host,omitempty" tf:"host,omitempty"` // Port number used when connecting to this new BI Connector. // Port number used when connecting to this new BI Connector. Port *string `json:"port,omitempty" tf:"port,omitempty"` }
func (*BiConnectorObservation) DeepCopy ¶
func (in *BiConnectorObservation) DeepCopy() *BiConnectorObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BiConnectorObservation.
func (*BiConnectorObservation) DeepCopyInto ¶
func (in *BiConnectorObservation) DeepCopyInto(out *BiConnectorObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BiConnectorParameters ¶
type BiConnectorParameters struct { // The status of the BI Connector. If not set, the BI Connector is disabled. // Enable or disable the BiConnector. // +kubebuilder:validation:Optional Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` }
func (*BiConnectorParameters) DeepCopy ¶
func (in *BiConnectorParameters) DeepCopy() *BiConnectorParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BiConnectorParameters.
func (*BiConnectorParameters) DeepCopyInto ¶
func (in *BiConnectorParameters) DeepCopyInto(out *BiConnectorParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConnectionsInitParameters ¶
type ConnectionsInitParameters struct { // [List] The list of IPs and subnet for your cluster. Note the following unavailable IP ranges:10.233.64.0/18, 10.233.0.0/18, 10.233.114.0/24. example: [192.168.1.100/24, 192.168.1.101/24]. See Private IPs and Cluster Setup - Preparing the network. // The list of IPs and subnet for your cluster. Note the following unavailable IP ranges:10.233.64.0/18, 10.233.0.0/18, 10.233.114.0/24. example: [192.168.1.100/24, 192.168.1.101/24] CidrList []*string `json:"cidrList,omitempty" tf:"cidr_list,omitempty"` // [string] 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:"-"` // [string] 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 { // [List] The list of IPs and subnet for your cluster. Note the following unavailable IP ranges:10.233.64.0/18, 10.233.0.0/18, 10.233.114.0/24. example: [192.168.1.100/24, 192.168.1.101/24]. See Private IPs and Cluster Setup - Preparing the network. // The list of IPs and subnet for your cluster. Note the following unavailable IP ranges:10.233.64.0/18, 10.233.0.0/18, 10.233.114.0/24. example: [192.168.1.100/24, 192.168.1.101/24] CidrList []*string `json:"cidrList,omitempty" tf:"cidr_list,omitempty"` // [string] The datacenter to connect your cluster to. // The datacenter to connect your cluster to. DatacenterID *string `json:"datacenterId,omitempty" tf:"datacenter_id,omitempty"` // [string] 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 { // [List] The list of IPs and subnet for your cluster. Note the following unavailable IP ranges:10.233.64.0/18, 10.233.0.0/18, 10.233.114.0/24. example: [192.168.1.100/24, 192.168.1.101/24]. See Private IPs and Cluster Setup - Preparing the network. // The list of IPs and subnet for your cluster. Note the following unavailable IP ranges:10.233.64.0/18, 10.233.0.0/18, 10.233.114.0/24. example: [192.168.1.100/24, 192.168.1.101/24] // +kubebuilder:validation:Optional CidrList []*string `json:"cidrList" tf:"cidr_list,omitempty"` // [string] 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:"-"` // [string] 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 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 MongodbCluster ¶
type MongodbCluster 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.connections) || (has(self.initProvider) && has(self.initProvider.connections))",message="spec.forProvider.connections 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.mongodbVersion) || (has(self.initProvider) && has(self.initProvider.mongodbVersion))",message="spec.forProvider.mongodbVersion is a required parameter" Spec MongodbClusterSpec `json:"spec"` Status MongodbClusterStatus `json:"status,omitempty"` }
MongodbCluster is the Schema for the MongodbClusters API. Creates and manages DbaaS MongoDB 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 (*MongodbCluster) DeepCopy ¶
func (in *MongodbCluster) DeepCopy() *MongodbCluster
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongodbCluster.
func (*MongodbCluster) DeepCopyInto ¶
func (in *MongodbCluster) DeepCopyInto(out *MongodbCluster)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MongodbCluster) DeepCopyObject ¶
func (in *MongodbCluster) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*MongodbCluster) GetCondition ¶
func (mg *MongodbCluster) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this MongodbCluster.
func (*MongodbCluster) GetConnectionDetailsMapping ¶
func (tr *MongodbCluster) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this MongodbCluster
func (*MongodbCluster) GetDeletionPolicy ¶
func (mg *MongodbCluster) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this MongodbCluster.
func (*MongodbCluster) GetID ¶
func (tr *MongodbCluster) GetID() string
GetID returns ID of underlying Terraform resource of this MongodbCluster
func (*MongodbCluster) GetInitParameters ¶
func (tr *MongodbCluster) GetInitParameters() (map[string]any, error)
GetInitParameters of this MongodbCluster
func (*MongodbCluster) GetManagementPolicies ¶
func (mg *MongodbCluster) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this MongodbCluster.
func (*MongodbCluster) GetMergedParameters ¶
func (tr *MongodbCluster) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
GetInitParameters of this MongodbCluster
func (*MongodbCluster) GetObservation ¶
func (tr *MongodbCluster) GetObservation() (map[string]any, error)
GetObservation of this MongodbCluster
func (*MongodbCluster) GetParameters ¶
func (tr *MongodbCluster) GetParameters() (map[string]any, error)
GetParameters of this MongodbCluster
func (*MongodbCluster) GetProviderConfigReference ¶
func (mg *MongodbCluster) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this MongodbCluster.
func (*MongodbCluster) GetPublishConnectionDetailsTo ¶
func (mg *MongodbCluster) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this MongodbCluster.
func (*MongodbCluster) GetTerraformResourceType ¶
func (mg *MongodbCluster) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this MongodbCluster
func (*MongodbCluster) GetTerraformSchemaVersion ¶
func (tr *MongodbCluster) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*MongodbCluster) GetWriteConnectionSecretToReference ¶
func (mg *MongodbCluster) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this MongodbCluster.
func (*MongodbCluster) Hub ¶
func (tr *MongodbCluster) Hub()
Hub marks this type as a conversion hub.
func (*MongodbCluster) LateInitialize ¶
func (tr *MongodbCluster) LateInitialize(attrs []byte) (bool, error)
LateInitialize this MongodbCluster using its observed tfState. returns True if there are any spec changes for the resource.
func (*MongodbCluster) ResolveReferences ¶
ResolveReferences of this MongodbCluster.
func (*MongodbCluster) SetConditions ¶
func (mg *MongodbCluster) SetConditions(c ...xpv1.Condition)
SetConditions of this MongodbCluster.
func (*MongodbCluster) SetDeletionPolicy ¶
func (mg *MongodbCluster) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this MongodbCluster.
func (*MongodbCluster) SetManagementPolicies ¶
func (mg *MongodbCluster) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this MongodbCluster.
func (*MongodbCluster) SetObservation ¶
func (tr *MongodbCluster) SetObservation(obs map[string]any) error
SetObservation for this MongodbCluster
func (*MongodbCluster) SetParameters ¶
func (tr *MongodbCluster) SetParameters(params map[string]any) error
SetParameters for this MongodbCluster
func (*MongodbCluster) SetProviderConfigReference ¶
func (mg *MongodbCluster) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this MongodbCluster.
func (*MongodbCluster) SetPublishConnectionDetailsTo ¶
func (mg *MongodbCluster) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this MongodbCluster.
func (*MongodbCluster) SetWriteConnectionSecretToReference ¶
func (mg *MongodbCluster) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this MongodbCluster.
type MongodbClusterInitParameters ¶
type MongodbClusterInitParameters struct { // [list] // Backup related properties. Backup *BackupInitParameters `json:"backup,omitempty" tf:"backup,omitempty"` // (Computed)The MongoDB Connector for Business Intelligence allows you to query a MongoDB database using SQL commands to aid in data analysis. // The MongoDB Connector for Business Intelligence allows you to query a MongoDB database using SQL commands to aid in data analysis. BiConnector *BiConnectorInitParameters `json:"biConnector,omitempty" tf:"bi_connector,omitempty"` // [List] Details about the network connection for your cluster. Updates to the value of the field force the cluster to be re-created. // Details about the network connection for your cluster. Connections *ConnectionsInitParameters `json:"connections,omitempty" tf:"connections,omitempty"` // (Computed)[int] The number of CPU cores per replica. Required for enterprise edition. // The number of CPU cores per instance. Cores *float64 `json:"cores,omitempty" tf:"cores,omitempty"` // [string] The name of your cluster. Updates to the value of the field force the cluster to be re-created. // The name of your cluster. DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"` // (Computed)[string] Cluster edition. Playground, business or enterprise. // The cluster edition. Must be one of: playground, business, enterprise Edition *string `json:"edition,omitempty" tf:"edition,omitempty"` // [int] The total number of instances in the cluster (one master and n-1 standbys). Example: 1, 3, 5, 7. Updates to the value of the field force the cluster to be re-created. // The total number of instances in the cluster (one master and n-1 standbys). Example: 1, 3, 5, 7. For enterprise edition at least 3. Instances *float64 `json:"instances,omitempty" tf:"instances,omitempty"` // [string] The physical location where the cluster will be created. Property cannot be modified after datacenter creation (disallowed in update requests). Available locations: de/txl, gb/lhr, es/vit. Update forces cluster re-creation. // 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). Available locations: de/txl, gb/lhr, es/vit. Update forces cluster re-creation. // +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. Updates to the value of the field force the cluster to be re-created. // A weekly 4 hour-long window, during which maintenance might occur MaintenanceWindow *MaintenanceWindowInitParameters `json:"maintenanceWindow,omitempty" tf:"maintenance_window,omitempty"` // [string] The MongoDB version of your cluster. Updates to the value of the field force the cluster to be re-created. // The MongoDB version of your cluster. Update forces cluster re-creation. MongodbVersion *string `json:"mongodbVersion,omitempty" tf:"mongodb_version,omitempty"` // (Computed)[int]The amount of memory per instance in megabytes. Required for enterprise edition. // The amount of memory per instance in megabytes. Multiple of 1024 RAM *float64 `json:"ram,omitempty" tf:"ram,omitempty"` // [int]The total number of shards in the cluster. // The total number of shards in the cluster. Shards *float64 `json:"shards,omitempty" tf:"shards,omitempty"` // (Computed)[int] The amount of storage per instance in MB. Required for enterprise edition. // The amount of storage per instance in megabytes. At least 5120, at most 2097152 StorageSize *float64 `json:"storageSize,omitempty" tf:"storage_size,omitempty"` // (Computed)[String] The storage type used in your cluster. Required for enterprise edition. // The storage type. One of : HDD, SSD, SSD Standard, SSD Premium StorageType *string `json:"storageType,omitempty" tf:"storage_type,omitempty"` // [string] The unique ID of the template, which specifies the number of cores, storage size, and memory. Updates to the value of the field force the cluster to be re-created. Required for playground and business editions. Must not be provided for enterprise edition. // The unique ID of the template, which specifies the number of cores, storage size, and memory. You cannot downgrade to a smaller template or minor edition (e.g. from business to playground). To get a list of all templates to confirm the changes use the /templates endpoint. TemplateID *string `json:"templateId,omitempty" tf:"template_id,omitempty"` // (Computed)[string]The cluster type, either replicaset or sharded-cluster. // The cluster type, either `replicaset` or `sharded-cluster` Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*MongodbClusterInitParameters) DeepCopy ¶
func (in *MongodbClusterInitParameters) DeepCopy() *MongodbClusterInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongodbClusterInitParameters.
func (*MongodbClusterInitParameters) DeepCopyInto ¶
func (in *MongodbClusterInitParameters) DeepCopyInto(out *MongodbClusterInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MongodbClusterList ¶
type MongodbClusterList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []MongodbCluster `json:"items"` }
MongodbClusterList contains a list of MongodbClusters
func (*MongodbClusterList) DeepCopy ¶
func (in *MongodbClusterList) DeepCopy() *MongodbClusterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongodbClusterList.
func (*MongodbClusterList) DeepCopyInto ¶
func (in *MongodbClusterList) DeepCopyInto(out *MongodbClusterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MongodbClusterList) DeepCopyObject ¶
func (in *MongodbClusterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*MongodbClusterList) GetItems ¶
func (l *MongodbClusterList) GetItems() []resource.Managed
GetItems of this MongodbClusterList.
type MongodbClusterObservation ¶
type MongodbClusterObservation struct { // [list] // Backup related properties. Backup *BackupObservation `json:"backup,omitempty" tf:"backup,omitempty"` // (Computed)The MongoDB Connector for Business Intelligence allows you to query a MongoDB database using SQL commands to aid in data analysis. // The MongoDB Connector for Business Intelligence allows you to query a MongoDB database using SQL commands to aid in data analysis. BiConnector *BiConnectorObservation `json:"biConnector,omitempty" tf:"bi_connector,omitempty"` // (Computed)[string] The physical location where the cluster will be created. This will be where all of your instances live. Updates to the value of the field force the cluster to be re-created. Available locations: de/txl, gb/lhr, es/vit // The connection string for your cluster. ConnectionString *string `json:"connectionString,omitempty" tf:"connection_string,omitempty"` // [List] Details about the network connection for your cluster. Updates to the value of the field force the cluster to be re-created. // Details about the network connection for your cluster. Connections *ConnectionsObservation `json:"connections,omitempty" tf:"connections,omitempty"` // (Computed)[int] The number of CPU cores per replica. Required for enterprise edition. // The number of CPU cores per instance. Cores *float64 `json:"cores,omitempty" tf:"cores,omitempty"` // [string] The name of your cluster. Updates to the value of the field force the cluster to be re-created. // The name of your cluster. DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"` // (Computed)[string] Cluster edition. Playground, business or enterprise. // The cluster edition. Must be one of: playground, business, enterprise Edition *string `json:"edition,omitempty" tf:"edition,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` // [int] The total number of instances in the cluster (one master and n-1 standbys). Example: 1, 3, 5, 7. Updates to the value of the field force the cluster to be re-created. // The total number of instances in the cluster (one master and n-1 standbys). Example: 1, 3, 5, 7. For enterprise edition at least 3. Instances *float64 `json:"instances,omitempty" tf:"instances,omitempty"` // [string] The physical location where the cluster will be created. Property cannot be modified after datacenter creation (disallowed in update requests). Available locations: de/txl, gb/lhr, es/vit. Update forces cluster re-creation. // 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). Available locations: de/txl, gb/lhr, es/vit. Update forces cluster re-creation. Location *string `json:"location,omitempty" tf:"location,omitempty"` // (Computed)[string] A weekly 4 hour-long window, during which maintenance might occur. Updates to the value of the field force the cluster to be re-created. // A weekly 4 hour-long window, during which maintenance might occur MaintenanceWindow *MaintenanceWindowObservation `json:"maintenanceWindow,omitempty" tf:"maintenance_window,omitempty"` // [string] The MongoDB version of your cluster. Updates to the value of the field force the cluster to be re-created. // The MongoDB version of your cluster. Update forces cluster re-creation. MongodbVersion *string `json:"mongodbVersion,omitempty" tf:"mongodb_version,omitempty"` // (Computed)[int]The amount of memory per instance in megabytes. Required for enterprise edition. // The amount of memory per instance in megabytes. Multiple of 1024 RAM *float64 `json:"ram,omitempty" tf:"ram,omitempty"` // [int]The total number of shards in the cluster. // The total number of shards in the cluster. Shards *float64 `json:"shards,omitempty" tf:"shards,omitempty"` // (Computed)[int] The amount of storage per instance in MB. Required for enterprise edition. // The amount of storage per instance in megabytes. At least 5120, at most 2097152 StorageSize *float64 `json:"storageSize,omitempty" tf:"storage_size,omitempty"` // (Computed)[String] The storage type used in your cluster. Required for enterprise edition. // The storage type. One of : HDD, SSD, SSD Standard, SSD Premium StorageType *string `json:"storageType,omitempty" tf:"storage_type,omitempty"` // [string] The unique ID of the template, which specifies the number of cores, storage size, and memory. Updates to the value of the field force the cluster to be re-created. Required for playground and business editions. Must not be provided for enterprise edition. // The unique ID of the template, which specifies the number of cores, storage size, and memory. You cannot downgrade to a smaller template or minor edition (e.g. from business to playground). To get a list of all templates to confirm the changes use the /templates endpoint. TemplateID *string `json:"templateId,omitempty" tf:"template_id,omitempty"` // (Computed)[string]The cluster type, either replicaset or sharded-cluster. // The cluster type, either `replicaset` or `sharded-cluster` Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*MongodbClusterObservation) DeepCopy ¶
func (in *MongodbClusterObservation) DeepCopy() *MongodbClusterObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongodbClusterObservation.
func (*MongodbClusterObservation) DeepCopyInto ¶
func (in *MongodbClusterObservation) DeepCopyInto(out *MongodbClusterObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MongodbClusterParameters ¶
type MongodbClusterParameters struct { // [list] // Backup related properties. // +kubebuilder:validation:Optional Backup *BackupParameters `json:"backup,omitempty" tf:"backup,omitempty"` // (Computed)The MongoDB Connector for Business Intelligence allows you to query a MongoDB database using SQL commands to aid in data analysis. // The MongoDB Connector for Business Intelligence allows you to query a MongoDB database using SQL commands to aid in data analysis. // +kubebuilder:validation:Optional BiConnector *BiConnectorParameters `json:"biConnector,omitempty" tf:"bi_connector,omitempty"` // [List] Details about the network connection for your cluster. Updates to the value of the field force the cluster to be re-created. // Details about the network connection for your cluster. // +kubebuilder:validation:Optional Connections *ConnectionsParameters `json:"connections,omitempty" tf:"connections,omitempty"` // (Computed)[int] The number of CPU cores per replica. Required for enterprise edition. // The number of CPU cores per instance. // +kubebuilder:validation:Optional Cores *float64 `json:"cores,omitempty" tf:"cores,omitempty"` // [string] The name of your cluster. Updates to the value of the field force the cluster to be re-created. // The name of your cluster. // +kubebuilder:validation:Optional DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"` // (Computed)[string] Cluster edition. Playground, business or enterprise. // The cluster edition. Must be one of: playground, business, enterprise // +kubebuilder:validation:Optional Edition *string `json:"edition,omitempty" tf:"edition,omitempty"` // [int] The total number of instances in the cluster (one master and n-1 standbys). Example: 1, 3, 5, 7. Updates to the value of the field force the cluster to be re-created. // The total number of instances in the cluster (one master and n-1 standbys). Example: 1, 3, 5, 7. For enterprise edition at least 3. // +kubebuilder:validation:Optional Instances *float64 `json:"instances,omitempty" tf:"instances,omitempty"` // [string] The physical location where the cluster will be created. Property cannot be modified after datacenter creation (disallowed in update requests). Available locations: de/txl, gb/lhr, es/vit. Update forces cluster re-creation. // 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). Available locations: de/txl, gb/lhr, es/vit. Update forces cluster re-creation. // +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. Updates to the value of the field force the cluster to be re-created. // 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 MongoDB version of your cluster. Updates to the value of the field force the cluster to be re-created. // The MongoDB version of your cluster. Update forces cluster re-creation. // +kubebuilder:validation:Optional MongodbVersion *string `json:"mongodbVersion,omitempty" tf:"mongodb_version,omitempty"` // (Computed)[int]The amount of memory per instance in megabytes. Required for enterprise edition. // The amount of memory per instance in megabytes. Multiple of 1024 // +kubebuilder:validation:Optional RAM *float64 `json:"ram,omitempty" tf:"ram,omitempty"` // [int]The total number of shards in the cluster. // The total number of shards in the cluster. // +kubebuilder:validation:Optional Shards *float64 `json:"shards,omitempty" tf:"shards,omitempty"` // (Computed)[int] The amount of storage per instance in MB. Required for enterprise edition. // The amount of storage per instance in megabytes. At least 5120, at most 2097152 // +kubebuilder:validation:Optional StorageSize *float64 `json:"storageSize,omitempty" tf:"storage_size,omitempty"` // (Computed)[String] The storage type used in your cluster. Required for enterprise edition. // The storage type. One of : HDD, SSD, SSD Standard, SSD Premium // +kubebuilder:validation:Optional StorageType *string `json:"storageType,omitempty" tf:"storage_type,omitempty"` // [string] The unique ID of the template, which specifies the number of cores, storage size, and memory. Updates to the value of the field force the cluster to be re-created. Required for playground and business editions. Must not be provided for enterprise edition. // The unique ID of the template, which specifies the number of cores, storage size, and memory. You cannot downgrade to a smaller template or minor edition (e.g. from business to playground). To get a list of all templates to confirm the changes use the /templates endpoint. // +kubebuilder:validation:Optional TemplateID *string `json:"templateId,omitempty" tf:"template_id,omitempty"` // (Computed)[string]The cluster type, either replicaset or sharded-cluster. // The cluster type, either `replicaset` or `sharded-cluster` // +kubebuilder:validation:Optional Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*MongodbClusterParameters) DeepCopy ¶
func (in *MongodbClusterParameters) DeepCopy() *MongodbClusterParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongodbClusterParameters.
func (*MongodbClusterParameters) DeepCopyInto ¶
func (in *MongodbClusterParameters) DeepCopyInto(out *MongodbClusterParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MongodbClusterSpec ¶
type MongodbClusterSpec struct { v1.ResourceSpec `json:",inline"` ForProvider MongodbClusterParameters `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 MongodbClusterInitParameters `json:"initProvider,omitempty"` }
MongodbClusterSpec defines the desired state of MongodbCluster
func (*MongodbClusterSpec) DeepCopy ¶
func (in *MongodbClusterSpec) DeepCopy() *MongodbClusterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongodbClusterSpec.
func (*MongodbClusterSpec) DeepCopyInto ¶
func (in *MongodbClusterSpec) DeepCopyInto(out *MongodbClusterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MongodbClusterStatus ¶
type MongodbClusterStatus struct { v1.ResourceStatus `json:",inline"` AtProvider MongodbClusterObservation `json:"atProvider,omitempty"` }
MongodbClusterStatus defines the observed state of MongodbCluster.
func (*MongodbClusterStatus) DeepCopy ¶
func (in *MongodbClusterStatus) DeepCopy() *MongodbClusterStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongodbClusterStatus.
func (*MongodbClusterStatus) DeepCopyInto ¶
func (in *MongodbClusterStatus) DeepCopyInto(out *MongodbClusterStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MongodbUser ¶
type MongodbUser 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 MongodbUserSpec `json:"spec"` Status MongodbUserStatus `json:"status,omitempty"` }
MongodbUser is the Schema for the MongodbUsers API. Creates and manages DbaaS MongoDB users. +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 (*MongodbUser) DeepCopy ¶
func (in *MongodbUser) DeepCopy() *MongodbUser
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongodbUser.
func (*MongodbUser) DeepCopyInto ¶
func (in *MongodbUser) DeepCopyInto(out *MongodbUser)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MongodbUser) DeepCopyObject ¶
func (in *MongodbUser) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*MongodbUser) GetCondition ¶
func (mg *MongodbUser) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this MongodbUser.
func (*MongodbUser) GetConnectionDetailsMapping ¶
func (tr *MongodbUser) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this MongodbUser
func (*MongodbUser) GetDeletionPolicy ¶
func (mg *MongodbUser) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this MongodbUser.
func (*MongodbUser) GetID ¶
func (tr *MongodbUser) GetID() string
GetID returns ID of underlying Terraform resource of this MongodbUser
func (*MongodbUser) GetInitParameters ¶
func (tr *MongodbUser) GetInitParameters() (map[string]any, error)
GetInitParameters of this MongodbUser
func (*MongodbUser) GetManagementPolicies ¶
func (mg *MongodbUser) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this MongodbUser.
func (*MongodbUser) GetMergedParameters ¶
func (tr *MongodbUser) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
GetInitParameters of this MongodbUser
func (*MongodbUser) GetObservation ¶
func (tr *MongodbUser) GetObservation() (map[string]any, error)
GetObservation of this MongodbUser
func (*MongodbUser) GetParameters ¶
func (tr *MongodbUser) GetParameters() (map[string]any, error)
GetParameters of this MongodbUser
func (*MongodbUser) GetProviderConfigReference ¶
func (mg *MongodbUser) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this MongodbUser.
func (*MongodbUser) GetPublishConnectionDetailsTo ¶
func (mg *MongodbUser) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this MongodbUser.
func (*MongodbUser) GetTerraformResourceType ¶
func (mg *MongodbUser) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this MongodbUser
func (*MongodbUser) GetTerraformSchemaVersion ¶
func (tr *MongodbUser) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*MongodbUser) GetWriteConnectionSecretToReference ¶
func (mg *MongodbUser) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this MongodbUser.
func (*MongodbUser) LateInitialize ¶
func (tr *MongodbUser) LateInitialize(attrs []byte) (bool, error)
LateInitialize this MongodbUser using its observed tfState. returns True if there are any spec changes for the resource.
func (*MongodbUser) ResolveReferences ¶
ResolveReferences of this MongodbUser.
func (*MongodbUser) SetConditions ¶
func (mg *MongodbUser) SetConditions(c ...xpv1.Condition)
SetConditions of this MongodbUser.
func (*MongodbUser) SetDeletionPolicy ¶
func (mg *MongodbUser) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this MongodbUser.
func (*MongodbUser) SetManagementPolicies ¶
func (mg *MongodbUser) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this MongodbUser.
func (*MongodbUser) SetObservation ¶
func (tr *MongodbUser) SetObservation(obs map[string]any) error
SetObservation for this MongodbUser
func (*MongodbUser) SetParameters ¶
func (tr *MongodbUser) SetParameters(params map[string]any) error
SetParameters for this MongodbUser
func (*MongodbUser) SetProviderConfigReference ¶
func (mg *MongodbUser) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this MongodbUser.
func (*MongodbUser) SetPublishConnectionDetailsTo ¶
func (mg *MongodbUser) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this MongodbUser.
func (*MongodbUser) SetWriteConnectionSecretToReference ¶
func (mg *MongodbUser) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this MongodbUser.
type MongodbUserInitParameters ¶
type MongodbUserInitParameters 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/mongodb/v1alpha1.MongodbCluster ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"` // Reference to a MongodbCluster in mongodb to populate clusterId. // +kubebuilder:validation:Optional ClusterIDRef *v1.Reference `json:"clusterIdRef,omitempty" tf:"-"` // Selector for a MongodbCluster in mongodb to populate clusterId. // +kubebuilder:validation:Optional ClusterIDSelector *v1.Selector `json:"clusterIdSelector,omitempty" tf:"-"` // [string] User password. Updates to the value of the field force the cluster to be re-created. PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"` // [string] a list of mongodb user roles. Updates to the value of the field force the cluster to be re-created. Roles []RolesInitParameters `json:"roles,omitempty" tf:"roles,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 (*MongodbUserInitParameters) DeepCopy ¶
func (in *MongodbUserInitParameters) DeepCopy() *MongodbUserInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongodbUserInitParameters.
func (*MongodbUserInitParameters) DeepCopyInto ¶
func (in *MongodbUserInitParameters) DeepCopyInto(out *MongodbUserInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MongodbUserList ¶
type MongodbUserList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []MongodbUser `json:"items"` }
MongodbUserList contains a list of MongodbUsers
func (*MongodbUserList) DeepCopy ¶
func (in *MongodbUserList) DeepCopy() *MongodbUserList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongodbUserList.
func (*MongodbUserList) DeepCopyInto ¶
func (in *MongodbUserList) DeepCopyInto(out *MongodbUserList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MongodbUserList) DeepCopyObject ¶
func (in *MongodbUserList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*MongodbUserList) GetItems ¶
func (l *MongodbUserList) GetItems() []resource.Managed
GetItems of this MongodbUserList.
type MongodbUserObservation ¶
type MongodbUserObservation 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"` // [string] a list of mongodb user roles. Updates to the value of the field force the cluster to be re-created. Roles []RolesObservation `json:"roles,omitempty" tf:"roles,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 (*MongodbUserObservation) DeepCopy ¶
func (in *MongodbUserObservation) DeepCopy() *MongodbUserObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongodbUserObservation.
func (*MongodbUserObservation) DeepCopyInto ¶
func (in *MongodbUserObservation) DeepCopyInto(out *MongodbUserObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MongodbUserParameters ¶
type MongodbUserParameters 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/mongodb/v1alpha1.MongodbCluster // +kubebuilder:validation:Optional ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"` // Reference to a MongodbCluster in mongodb to populate clusterId. // +kubebuilder:validation:Optional ClusterIDRef *v1.Reference `json:"clusterIdRef,omitempty" tf:"-"` // Selector for a MongodbCluster in mongodb to populate clusterId. // +kubebuilder:validation:Optional ClusterIDSelector *v1.Selector `json:"clusterIdSelector,omitempty" tf:"-"` // [string] User password. Updates to the value of the field force the cluster to be re-created. // +kubebuilder:validation:Optional PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"` // [string] a list of mongodb user roles. Updates to the value of the field force the cluster to be re-created. // +kubebuilder:validation:Optional Roles []RolesParameters `json:"roles,omitempty" tf:"roles,omitempty"` // [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 (*MongodbUserParameters) DeepCopy ¶
func (in *MongodbUserParameters) DeepCopy() *MongodbUserParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongodbUserParameters.
func (*MongodbUserParameters) DeepCopyInto ¶
func (in *MongodbUserParameters) DeepCopyInto(out *MongodbUserParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MongodbUserSpec ¶
type MongodbUserSpec struct { v1.ResourceSpec `json:",inline"` ForProvider MongodbUserParameters `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 MongodbUserInitParameters `json:"initProvider,omitempty"` }
MongodbUserSpec defines the desired state of MongodbUser
func (*MongodbUserSpec) DeepCopy ¶
func (in *MongodbUserSpec) DeepCopy() *MongodbUserSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongodbUserSpec.
func (*MongodbUserSpec) DeepCopyInto ¶
func (in *MongodbUserSpec) DeepCopyInto(out *MongodbUserSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MongodbUserStatus ¶
type MongodbUserStatus struct { v1.ResourceStatus `json:",inline"` AtProvider MongodbUserObservation `json:"atProvider,omitempty"` }
MongodbUserStatus defines the observed state of MongodbUser.
func (*MongodbUserStatus) DeepCopy ¶
func (in *MongodbUserStatus) DeepCopy() *MongodbUserStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongodbUserStatus.
func (*MongodbUserStatus) DeepCopyInto ¶
func (in *MongodbUserStatus) DeepCopyInto(out *MongodbUserStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RolesInitParameters ¶
type RolesInitParameters struct { // [string] The user database to use for authentication. Updates to the value of the field force the cluster to be re-created. Database *string `json:"database,omitempty" tf:"database,omitempty"` // [true] Mongodb user role. Examples: read, readWrite, readAnyDatabase, readWriteAnyDatabase, dbAdmin, dbAdminAnyDatabase, clusterMonitor. // A list of mongodb user roles. Examples: read, readWrite, readAnyDatabase Role *string `json:"role,omitempty" tf:"role,omitempty"` }
func (*RolesInitParameters) DeepCopy ¶
func (in *RolesInitParameters) DeepCopy() *RolesInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RolesInitParameters.
func (*RolesInitParameters) DeepCopyInto ¶
func (in *RolesInitParameters) DeepCopyInto(out *RolesInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RolesObservation ¶
type RolesObservation struct { // [string] The user database to use for authentication. Updates to the value of the field force the cluster to be re-created. Database *string `json:"database,omitempty" tf:"database,omitempty"` // [true] Mongodb user role. Examples: read, readWrite, readAnyDatabase, readWriteAnyDatabase, dbAdmin, dbAdminAnyDatabase, clusterMonitor. // A list of mongodb user roles. Examples: read, readWrite, readAnyDatabase Role *string `json:"role,omitempty" tf:"role,omitempty"` }
func (*RolesObservation) DeepCopy ¶
func (in *RolesObservation) DeepCopy() *RolesObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RolesObservation.
func (*RolesObservation) DeepCopyInto ¶
func (in *RolesObservation) DeepCopyInto(out *RolesObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RolesParameters ¶
type RolesParameters struct { // [string] The user database to use for authentication. Updates to the value of the field force the cluster to be re-created. // +kubebuilder:validation:Optional Database *string `json:"database,omitempty" tf:"database,omitempty"` // [true] Mongodb user role. Examples: read, readWrite, readAnyDatabase, readWriteAnyDatabase, dbAdmin, dbAdminAnyDatabase, clusterMonitor. // A list of mongodb user roles. Examples: read, readWrite, readAnyDatabase // +kubebuilder:validation:Optional Role *string `json:"role,omitempty" tf:"role,omitempty"` }
func (*RolesParameters) DeepCopy ¶
func (in *RolesParameters) DeepCopy() *RolesParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RolesParameters.
func (*RolesParameters) DeepCopyInto ¶
func (in *RolesParameters) DeepCopyInto(out *RolesParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.