v1alpha1

package
v0.0.0-...-73c97c3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 17, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=cloudprojectdatabasem3dbuser.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "cloudprojectdatabasem3dbuser.crossplane.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
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
)
View Source
var (
	ProjectDatabaseM3DbUser_Kind             = "ProjectDatabaseM3DbUser"
	ProjectDatabaseM3DbUser_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ProjectDatabaseM3DbUser_Kind}.String()
	ProjectDatabaseM3DbUser_KindAPIVersion   = ProjectDatabaseM3DbUser_Kind + "." + CRDGroupVersion.String()
	ProjectDatabaseM3DbUser_GroupVersionKind = CRDGroupVersion.WithKind(ProjectDatabaseM3DbUser_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type ProjectDatabaseM3DbUser

type ProjectDatabaseM3DbUser 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.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   ProjectDatabaseM3DbUserSpec   `json:"spec"`
	Status ProjectDatabaseM3DbUserStatus `json:"status,omitempty"`
}

ProjectDatabaseM3DbUser is the Schema for the ProjectDatabaseM3DbUsers 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 (*ProjectDatabaseM3DbUser) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectDatabaseM3DbUser.

func (*ProjectDatabaseM3DbUser) DeepCopyInto

func (in *ProjectDatabaseM3DbUser) DeepCopyInto(out *ProjectDatabaseM3DbUser)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ProjectDatabaseM3DbUser) DeepCopyObject

func (in *ProjectDatabaseM3DbUser) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ProjectDatabaseM3DbUser) GetCondition

GetCondition of this ProjectDatabaseM3DbUser.

func (*ProjectDatabaseM3DbUser) GetConnectionDetailsMapping

func (tr *ProjectDatabaseM3DbUser) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this ProjectDatabaseM3DbUser

func (*ProjectDatabaseM3DbUser) GetDeletionPolicy

func (mg *ProjectDatabaseM3DbUser) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this ProjectDatabaseM3DbUser.

func (*ProjectDatabaseM3DbUser) GetID

func (tr *ProjectDatabaseM3DbUser) GetID() string

GetID returns ID of underlying Terraform resource of this ProjectDatabaseM3DbUser

func (*ProjectDatabaseM3DbUser) GetInitParameters

func (tr *ProjectDatabaseM3DbUser) GetInitParameters() (map[string]any, error)

GetInitParameters of this ProjectDatabaseM3DbUser

func (*ProjectDatabaseM3DbUser) GetManagementPolicies

func (mg *ProjectDatabaseM3DbUser) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this ProjectDatabaseM3DbUser.

func (*ProjectDatabaseM3DbUser) GetObservation

func (tr *ProjectDatabaseM3DbUser) GetObservation() (map[string]any, error)

GetObservation of this ProjectDatabaseM3DbUser

func (*ProjectDatabaseM3DbUser) GetParameters

func (tr *ProjectDatabaseM3DbUser) GetParameters() (map[string]any, error)

GetParameters of this ProjectDatabaseM3DbUser

func (*ProjectDatabaseM3DbUser) GetProviderConfigReference

func (mg *ProjectDatabaseM3DbUser) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this ProjectDatabaseM3DbUser.

func (*ProjectDatabaseM3DbUser) GetPublishConnectionDetailsTo

func (mg *ProjectDatabaseM3DbUser) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this ProjectDatabaseM3DbUser.

func (*ProjectDatabaseM3DbUser) GetTerraformResourceType

func (mg *ProjectDatabaseM3DbUser) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ProjectDatabaseM3DbUser

func (*ProjectDatabaseM3DbUser) GetTerraformSchemaVersion

func (tr *ProjectDatabaseM3DbUser) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ProjectDatabaseM3DbUser) GetWriteConnectionSecretToReference

func (mg *ProjectDatabaseM3DbUser) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this ProjectDatabaseM3DbUser.

func (*ProjectDatabaseM3DbUser) LateInitialize

func (tr *ProjectDatabaseM3DbUser) LateInitialize(attrs []byte) (bool, error)

LateInitialize this ProjectDatabaseM3DbUser using its observed tfState. returns True if there are any spec changes for the resource.

func (*ProjectDatabaseM3DbUser) SetConditions

func (mg *ProjectDatabaseM3DbUser) SetConditions(c ...xpv1.Condition)

SetConditions of this ProjectDatabaseM3DbUser.

func (*ProjectDatabaseM3DbUser) SetDeletionPolicy

func (mg *ProjectDatabaseM3DbUser) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this ProjectDatabaseM3DbUser.

func (*ProjectDatabaseM3DbUser) SetManagementPolicies

func (mg *ProjectDatabaseM3DbUser) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this ProjectDatabaseM3DbUser.

func (*ProjectDatabaseM3DbUser) SetObservation

func (tr *ProjectDatabaseM3DbUser) SetObservation(obs map[string]any) error

SetObservation for this ProjectDatabaseM3DbUser

func (*ProjectDatabaseM3DbUser) SetParameters

func (tr *ProjectDatabaseM3DbUser) SetParameters(params map[string]any) error

SetParameters for this ProjectDatabaseM3DbUser

func (*ProjectDatabaseM3DbUser) SetProviderConfigReference

func (mg *ProjectDatabaseM3DbUser) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this ProjectDatabaseM3DbUser.

func (*ProjectDatabaseM3DbUser) SetPublishConnectionDetailsTo

func (mg *ProjectDatabaseM3DbUser) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this ProjectDatabaseM3DbUser.

func (*ProjectDatabaseM3DbUser) SetWriteConnectionSecretToReference

func (mg *ProjectDatabaseM3DbUser) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this ProjectDatabaseM3DbUser.

type ProjectDatabaseM3DbUserInitParameters

type ProjectDatabaseM3DbUserInitParameters struct {

	// Id of the database cluster
	ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"`

	// Group of the user
	Group *string `json:"group,omitempty" tf:"group,omitempty"`

	// Name of the user
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Arbitrary string to change to trigger a password update
	PasswordReset *string `json:"passwordReset,omitempty" tf:"password_reset,omitempty"`

	ServiceName *string `json:"serviceName,omitempty" tf:"service_name,omitempty"`
}

func (*ProjectDatabaseM3DbUserInitParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectDatabaseM3DbUserInitParameters.

func (*ProjectDatabaseM3DbUserInitParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ProjectDatabaseM3DbUserList

type ProjectDatabaseM3DbUserList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []ProjectDatabaseM3DbUser `json:"items"`
}

ProjectDatabaseM3DbUserList contains a list of ProjectDatabaseM3DbUsers

func (*ProjectDatabaseM3DbUserList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectDatabaseM3DbUserList.

func (*ProjectDatabaseM3DbUserList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ProjectDatabaseM3DbUserList) DeepCopyObject

func (in *ProjectDatabaseM3DbUserList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ProjectDatabaseM3DbUserList) GetItems

GetItems of this ProjectDatabaseM3DbUserList.

type ProjectDatabaseM3DbUserObservation

type ProjectDatabaseM3DbUserObservation struct {

	// Id of the database cluster
	ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"`

	// Date of the creation of the user
	CreatedAt *string `json:"createdAt,omitempty" tf:"created_at,omitempty"`

	// Group of the user
	Group *string `json:"group,omitempty" tf:"group,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Name of the user
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Arbitrary string to change to trigger a password update
	PasswordReset *string `json:"passwordReset,omitempty" tf:"password_reset,omitempty"`

	ServiceName *string `json:"serviceName,omitempty" tf:"service_name,omitempty"`

	// Current status of the user
	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*ProjectDatabaseM3DbUserObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectDatabaseM3DbUserObservation.

func (*ProjectDatabaseM3DbUserObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ProjectDatabaseM3DbUserParameters

type ProjectDatabaseM3DbUserParameters struct {

	// Id of the database cluster
	// +kubebuilder:validation:Optional
	ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"`

	// Group of the user
	// +kubebuilder:validation:Optional
	Group *string `json:"group,omitempty" tf:"group,omitempty"`

	// Name of the user
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Arbitrary string to change to trigger a password update
	// +kubebuilder:validation:Optional
	PasswordReset *string `json:"passwordReset,omitempty" tf:"password_reset,omitempty"`

	// +kubebuilder:validation:Optional
	ServiceName *string `json:"serviceName,omitempty" tf:"service_name,omitempty"`
}

func (*ProjectDatabaseM3DbUserParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectDatabaseM3DbUserParameters.

func (*ProjectDatabaseM3DbUserParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ProjectDatabaseM3DbUserSpec

type ProjectDatabaseM3DbUserSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ProjectDatabaseM3DbUserParameters `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 ProjectDatabaseM3DbUserInitParameters `json:"initProvider,omitempty"`
}

ProjectDatabaseM3DbUserSpec defines the desired state of ProjectDatabaseM3DbUser

func (*ProjectDatabaseM3DbUserSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectDatabaseM3DbUserSpec.

func (*ProjectDatabaseM3DbUserSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ProjectDatabaseM3DbUserStatus

type ProjectDatabaseM3DbUserStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        ProjectDatabaseM3DbUserObservation `json:"atProvider,omitempty"`
}

ProjectDatabaseM3DbUserStatus defines the observed state of ProjectDatabaseM3DbUser.

func (*ProjectDatabaseM3DbUserStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectDatabaseM3DbUserStatus.

func (*ProjectDatabaseM3DbUserStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL