Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=cloudprojectdatabasedatabase.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type ProjectDatabaseDatabase
- func (in *ProjectDatabaseDatabase) DeepCopy() *ProjectDatabaseDatabase
- func (in *ProjectDatabaseDatabase) DeepCopyInto(out *ProjectDatabaseDatabase)
- func (in *ProjectDatabaseDatabase) DeepCopyObject() runtime.Object
- func (mg *ProjectDatabaseDatabase) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *ProjectDatabaseDatabase) GetConnectionDetailsMapping() map[string]string
- func (mg *ProjectDatabaseDatabase) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *ProjectDatabaseDatabase) GetID() string
- func (tr *ProjectDatabaseDatabase) GetInitParameters() (map[string]any, error)
- func (mg *ProjectDatabaseDatabase) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *ProjectDatabaseDatabase) GetObservation() (map[string]any, error)
- func (tr *ProjectDatabaseDatabase) GetParameters() (map[string]any, error)
- func (mg *ProjectDatabaseDatabase) GetProviderConfigReference() *xpv1.Reference
- func (mg *ProjectDatabaseDatabase) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *ProjectDatabaseDatabase) GetTerraformResourceType() string
- func (tr *ProjectDatabaseDatabase) GetTerraformSchemaVersion() int
- func (mg *ProjectDatabaseDatabase) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *ProjectDatabaseDatabase) LateInitialize(attrs []byte) (bool, error)
- func (mg *ProjectDatabaseDatabase) SetConditions(c ...xpv1.Condition)
- func (mg *ProjectDatabaseDatabase) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *ProjectDatabaseDatabase) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *ProjectDatabaseDatabase) SetObservation(obs map[string]any) error
- func (tr *ProjectDatabaseDatabase) SetParameters(params map[string]any) error
- func (mg *ProjectDatabaseDatabase) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *ProjectDatabaseDatabase) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *ProjectDatabaseDatabase) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type ProjectDatabaseDatabaseInitParameters
- type ProjectDatabaseDatabaseList
- func (in *ProjectDatabaseDatabaseList) DeepCopy() *ProjectDatabaseDatabaseList
- func (in *ProjectDatabaseDatabaseList) DeepCopyInto(out *ProjectDatabaseDatabaseList)
- func (in *ProjectDatabaseDatabaseList) DeepCopyObject() runtime.Object
- func (l *ProjectDatabaseDatabaseList) GetItems() []resource.Managed
- type ProjectDatabaseDatabaseObservation
- type ProjectDatabaseDatabaseParameters
- type ProjectDatabaseDatabaseSpec
- type ProjectDatabaseDatabaseStatus
Constants ¶
const ( CRDGroup = "cloudprojectdatabasedatabase.crossplane.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 ( ProjectDatabaseDatabase_Kind = "ProjectDatabaseDatabase" ProjectDatabaseDatabase_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ProjectDatabaseDatabase_Kind}.String() ProjectDatabaseDatabase_KindAPIVersion = ProjectDatabaseDatabase_Kind + "." + CRDGroupVersion.String() ProjectDatabaseDatabase_GroupVersionKind = CRDGroupVersion.WithKind(ProjectDatabaseDatabase_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type ProjectDatabaseDatabase ¶
type ProjectDatabaseDatabase 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.clusterId) || (has(self.initProvider) && has(self.initProvider.clusterId))",message="spec.forProvider.clusterId is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.engine) || (has(self.initProvider) && has(self.initProvider.engine))",message="spec.forProvider.engine is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.serviceName) || (has(self.initProvider) && has(self.initProvider.serviceName))",message="spec.forProvider.serviceName is a required parameter" Spec ProjectDatabaseDatabaseSpec `json:"spec"` Status ProjectDatabaseDatabaseStatus `json:"status,omitempty"` }
ProjectDatabaseDatabase is the Schema for the ProjectDatabaseDatabases API. <no value> +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].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:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,ovh}
func (*ProjectDatabaseDatabase) DeepCopy ¶
func (in *ProjectDatabaseDatabase) DeepCopy() *ProjectDatabaseDatabase
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectDatabaseDatabase.
func (*ProjectDatabaseDatabase) DeepCopyInto ¶
func (in *ProjectDatabaseDatabase) DeepCopyInto(out *ProjectDatabaseDatabase)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ProjectDatabaseDatabase) DeepCopyObject ¶
func (in *ProjectDatabaseDatabase) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ProjectDatabaseDatabase) GetCondition ¶
func (mg *ProjectDatabaseDatabase) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this ProjectDatabaseDatabase.
func (*ProjectDatabaseDatabase) GetConnectionDetailsMapping ¶
func (tr *ProjectDatabaseDatabase) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this ProjectDatabaseDatabase
func (*ProjectDatabaseDatabase) GetDeletionPolicy ¶
func (mg *ProjectDatabaseDatabase) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this ProjectDatabaseDatabase.
func (*ProjectDatabaseDatabase) GetID ¶
func (tr *ProjectDatabaseDatabase) GetID() string
GetID returns ID of underlying Terraform resource of this ProjectDatabaseDatabase
func (*ProjectDatabaseDatabase) GetInitParameters ¶
func (tr *ProjectDatabaseDatabase) GetInitParameters() (map[string]any, error)
GetInitParameters of this ProjectDatabaseDatabase
func (*ProjectDatabaseDatabase) GetManagementPolicies ¶
func (mg *ProjectDatabaseDatabase) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this ProjectDatabaseDatabase.
func (*ProjectDatabaseDatabase) GetObservation ¶
func (tr *ProjectDatabaseDatabase) GetObservation() (map[string]any, error)
GetObservation of this ProjectDatabaseDatabase
func (*ProjectDatabaseDatabase) GetParameters ¶
func (tr *ProjectDatabaseDatabase) GetParameters() (map[string]any, error)
GetParameters of this ProjectDatabaseDatabase
func (*ProjectDatabaseDatabase) GetProviderConfigReference ¶
func (mg *ProjectDatabaseDatabase) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this ProjectDatabaseDatabase.
func (*ProjectDatabaseDatabase) GetPublishConnectionDetailsTo ¶
func (mg *ProjectDatabaseDatabase) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this ProjectDatabaseDatabase.
func (*ProjectDatabaseDatabase) GetTerraformResourceType ¶
func (mg *ProjectDatabaseDatabase) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this ProjectDatabaseDatabase
func (*ProjectDatabaseDatabase) GetTerraformSchemaVersion ¶
func (tr *ProjectDatabaseDatabase) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*ProjectDatabaseDatabase) GetWriteConnectionSecretToReference ¶
func (mg *ProjectDatabaseDatabase) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this ProjectDatabaseDatabase.
func (*ProjectDatabaseDatabase) LateInitialize ¶
func (tr *ProjectDatabaseDatabase) LateInitialize(attrs []byte) (bool, error)
LateInitialize this ProjectDatabaseDatabase using its observed tfState. returns True if there are any spec changes for the resource.
func (*ProjectDatabaseDatabase) SetConditions ¶
func (mg *ProjectDatabaseDatabase) SetConditions(c ...xpv1.Condition)
SetConditions of this ProjectDatabaseDatabase.
func (*ProjectDatabaseDatabase) SetDeletionPolicy ¶
func (mg *ProjectDatabaseDatabase) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this ProjectDatabaseDatabase.
func (*ProjectDatabaseDatabase) SetManagementPolicies ¶
func (mg *ProjectDatabaseDatabase) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this ProjectDatabaseDatabase.
func (*ProjectDatabaseDatabase) SetObservation ¶
func (tr *ProjectDatabaseDatabase) SetObservation(obs map[string]any) error
SetObservation for this ProjectDatabaseDatabase
func (*ProjectDatabaseDatabase) SetParameters ¶
func (tr *ProjectDatabaseDatabase) SetParameters(params map[string]any) error
SetParameters for this ProjectDatabaseDatabase
func (*ProjectDatabaseDatabase) SetProviderConfigReference ¶
func (mg *ProjectDatabaseDatabase) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this ProjectDatabaseDatabase.
func (*ProjectDatabaseDatabase) SetPublishConnectionDetailsTo ¶
func (mg *ProjectDatabaseDatabase) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this ProjectDatabaseDatabase.
func (*ProjectDatabaseDatabase) SetWriteConnectionSecretToReference ¶
func (mg *ProjectDatabaseDatabase) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this ProjectDatabaseDatabase.
type ProjectDatabaseDatabaseInitParameters ¶
type ProjectDatabaseDatabaseInitParameters struct { // Id of the database cluster ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"` // Name of the engine of the service Engine *string `json:"engine,omitempty" tf:"engine,omitempty"` // Database name Name *string `json:"name,omitempty" tf:"name,omitempty"` ServiceName *string `json:"serviceName,omitempty" tf:"service_name,omitempty"` }
func (*ProjectDatabaseDatabaseInitParameters) DeepCopy ¶
func (in *ProjectDatabaseDatabaseInitParameters) DeepCopy() *ProjectDatabaseDatabaseInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectDatabaseDatabaseInitParameters.
func (*ProjectDatabaseDatabaseInitParameters) DeepCopyInto ¶
func (in *ProjectDatabaseDatabaseInitParameters) DeepCopyInto(out *ProjectDatabaseDatabaseInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProjectDatabaseDatabaseList ¶
type ProjectDatabaseDatabaseList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ProjectDatabaseDatabase `json:"items"` }
ProjectDatabaseDatabaseList contains a list of ProjectDatabaseDatabases
func (*ProjectDatabaseDatabaseList) DeepCopy ¶
func (in *ProjectDatabaseDatabaseList) DeepCopy() *ProjectDatabaseDatabaseList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectDatabaseDatabaseList.
func (*ProjectDatabaseDatabaseList) DeepCopyInto ¶
func (in *ProjectDatabaseDatabaseList) DeepCopyInto(out *ProjectDatabaseDatabaseList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ProjectDatabaseDatabaseList) DeepCopyObject ¶
func (in *ProjectDatabaseDatabaseList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ProjectDatabaseDatabaseList) GetItems ¶
func (l *ProjectDatabaseDatabaseList) GetItems() []resource.Managed
GetItems of this ProjectDatabaseDatabaseList.
type ProjectDatabaseDatabaseObservation ¶
type ProjectDatabaseDatabaseObservation struct { // Id of the database cluster ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"` // Defines if the database has been created by default Default *bool `json:"default,omitempty" tf:"default,omitempty"` // Name of the engine of the service Engine *string `json:"engine,omitempty" tf:"engine,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` // Database name Name *string `json:"name,omitempty" tf:"name,omitempty"` ServiceName *string `json:"serviceName,omitempty" tf:"service_name,omitempty"` }
func (*ProjectDatabaseDatabaseObservation) DeepCopy ¶
func (in *ProjectDatabaseDatabaseObservation) DeepCopy() *ProjectDatabaseDatabaseObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectDatabaseDatabaseObservation.
func (*ProjectDatabaseDatabaseObservation) DeepCopyInto ¶
func (in *ProjectDatabaseDatabaseObservation) DeepCopyInto(out *ProjectDatabaseDatabaseObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProjectDatabaseDatabaseParameters ¶
type ProjectDatabaseDatabaseParameters struct { // Id of the database cluster // +kubebuilder:validation:Optional ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"` // Name of the engine of the service // +kubebuilder:validation:Optional Engine *string `json:"engine,omitempty" tf:"engine,omitempty"` // Database name // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` // +kubebuilder:validation:Optional ServiceName *string `json:"serviceName,omitempty" tf:"service_name,omitempty"` }
func (*ProjectDatabaseDatabaseParameters) DeepCopy ¶
func (in *ProjectDatabaseDatabaseParameters) DeepCopy() *ProjectDatabaseDatabaseParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectDatabaseDatabaseParameters.
func (*ProjectDatabaseDatabaseParameters) DeepCopyInto ¶
func (in *ProjectDatabaseDatabaseParameters) DeepCopyInto(out *ProjectDatabaseDatabaseParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProjectDatabaseDatabaseSpec ¶
type ProjectDatabaseDatabaseSpec struct { v1.ResourceSpec `json:",inline"` ForProvider ProjectDatabaseDatabaseParameters `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 ProjectDatabaseDatabaseInitParameters `json:"initProvider,omitempty"` }
ProjectDatabaseDatabaseSpec defines the desired state of ProjectDatabaseDatabase
func (*ProjectDatabaseDatabaseSpec) DeepCopy ¶
func (in *ProjectDatabaseDatabaseSpec) DeepCopy() *ProjectDatabaseDatabaseSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectDatabaseDatabaseSpec.
func (*ProjectDatabaseDatabaseSpec) DeepCopyInto ¶
func (in *ProjectDatabaseDatabaseSpec) DeepCopyInto(out *ProjectDatabaseDatabaseSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProjectDatabaseDatabaseStatus ¶
type ProjectDatabaseDatabaseStatus struct { v1.ResourceStatus `json:",inline"` AtProvider ProjectDatabaseDatabaseObservation `json:"atProvider,omitempty"` }
ProjectDatabaseDatabaseStatus defines the observed state of ProjectDatabaseDatabase.
func (*ProjectDatabaseDatabaseStatus) DeepCopy ¶
func (in *ProjectDatabaseDatabaseStatus) DeepCopy() *ProjectDatabaseDatabaseStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectDatabaseDatabaseStatus.
func (*ProjectDatabaseDatabaseStatus) DeepCopyInto ¶
func (in *ProjectDatabaseDatabaseStatus) DeepCopyInto(out *ProjectDatabaseDatabaseStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.