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=cloudprojectdatabasepostgresqluser.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "cloudprojectdatabasepostgresqluser.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 (
	ProjectDatabasePostgresqlUser_Kind             = "ProjectDatabasePostgresqlUser"
	ProjectDatabasePostgresqlUser_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ProjectDatabasePostgresqlUser_Kind}.String()
	ProjectDatabasePostgresqlUser_KindAPIVersion   = ProjectDatabasePostgresqlUser_Kind + "." + CRDGroupVersion.String()
	ProjectDatabasePostgresqlUser_GroupVersionKind = CRDGroupVersion.WithKind(ProjectDatabasePostgresqlUser_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type ProjectDatabasePostgresqlUser

type ProjectDatabasePostgresqlUser 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   ProjectDatabasePostgresqlUserSpec   `json:"spec"`
	Status ProjectDatabasePostgresqlUserStatus `json:"status,omitempty"`
}

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

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

func (*ProjectDatabasePostgresqlUser) DeepCopyInto

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

func (*ProjectDatabasePostgresqlUser) DeepCopyObject

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

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

func (*ProjectDatabasePostgresqlUser) GetCondition

GetCondition of this ProjectDatabasePostgresqlUser.

func (*ProjectDatabasePostgresqlUser) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this ProjectDatabasePostgresqlUser

func (*ProjectDatabasePostgresqlUser) GetDeletionPolicy

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

GetDeletionPolicy of this ProjectDatabasePostgresqlUser.

func (*ProjectDatabasePostgresqlUser) GetID

GetID returns ID of underlying Terraform resource of this ProjectDatabasePostgresqlUser

func (*ProjectDatabasePostgresqlUser) GetInitParameters

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

GetInitParameters of this ProjectDatabasePostgresqlUser

func (*ProjectDatabasePostgresqlUser) GetManagementPolicies

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

GetManagementPolicies of this ProjectDatabasePostgresqlUser.

func (*ProjectDatabasePostgresqlUser) GetObservation

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

GetObservation of this ProjectDatabasePostgresqlUser

func (*ProjectDatabasePostgresqlUser) GetParameters

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

GetParameters of this ProjectDatabasePostgresqlUser

func (*ProjectDatabasePostgresqlUser) GetProviderConfigReference

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

GetProviderConfigReference of this ProjectDatabasePostgresqlUser.

func (*ProjectDatabasePostgresqlUser) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this ProjectDatabasePostgresqlUser.

func (*ProjectDatabasePostgresqlUser) GetTerraformResourceType

func (mg *ProjectDatabasePostgresqlUser) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ProjectDatabasePostgresqlUser

func (*ProjectDatabasePostgresqlUser) GetTerraformSchemaVersion

func (tr *ProjectDatabasePostgresqlUser) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ProjectDatabasePostgresqlUser) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ProjectDatabasePostgresqlUser.

func (*ProjectDatabasePostgresqlUser) LateInitialize

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

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

func (*ProjectDatabasePostgresqlUser) SetConditions

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

SetConditions of this ProjectDatabasePostgresqlUser.

func (*ProjectDatabasePostgresqlUser) SetDeletionPolicy

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

SetDeletionPolicy of this ProjectDatabasePostgresqlUser.

func (*ProjectDatabasePostgresqlUser) SetManagementPolicies

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

SetManagementPolicies of this ProjectDatabasePostgresqlUser.

func (*ProjectDatabasePostgresqlUser) SetObservation

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

SetObservation for this ProjectDatabasePostgresqlUser

func (*ProjectDatabasePostgresqlUser) SetParameters

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

SetParameters for this ProjectDatabasePostgresqlUser

func (*ProjectDatabasePostgresqlUser) SetProviderConfigReference

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

SetProviderConfigReference of this ProjectDatabasePostgresqlUser.

func (*ProjectDatabasePostgresqlUser) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this ProjectDatabasePostgresqlUser.

func (*ProjectDatabasePostgresqlUser) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this ProjectDatabasePostgresqlUser.

type ProjectDatabasePostgresqlUserInitParameters

type ProjectDatabasePostgresqlUserInitParameters struct {

	// Id of the database cluster
	ClusterID *string `json:"clusterId,omitempty" tf:"cluster_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"`

	// Roles the user belongs to
	Roles []*string `json:"roles,omitempty" tf:"roles,omitempty"`

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

func (*ProjectDatabasePostgresqlUserInitParameters) DeepCopy

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

func (*ProjectDatabasePostgresqlUserInitParameters) DeepCopyInto

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

type ProjectDatabasePostgresqlUserList

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

ProjectDatabasePostgresqlUserList contains a list of ProjectDatabasePostgresqlUsers

func (*ProjectDatabasePostgresqlUserList) DeepCopy

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

func (*ProjectDatabasePostgresqlUserList) DeepCopyInto

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

func (*ProjectDatabasePostgresqlUserList) DeepCopyObject

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

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

func (*ProjectDatabasePostgresqlUserList) GetItems

GetItems of this ProjectDatabasePostgresqlUserList.

type ProjectDatabasePostgresqlUserObservation

type ProjectDatabasePostgresqlUserObservation 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"`

	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"`

	// Roles the user belongs to
	Roles []*string `json:"roles,omitempty" tf:"roles,omitempty"`

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

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

func (*ProjectDatabasePostgresqlUserObservation) DeepCopy

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

func (*ProjectDatabasePostgresqlUserObservation) DeepCopyInto

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

type ProjectDatabasePostgresqlUserParameters

type ProjectDatabasePostgresqlUserParameters struct {

	// Id of the database cluster
	// +kubebuilder:validation:Optional
	ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,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"`

	// Roles the user belongs to
	// +kubebuilder:validation:Optional
	Roles []*string `json:"roles,omitempty" tf:"roles,omitempty"`

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

func (*ProjectDatabasePostgresqlUserParameters) DeepCopy

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

func (*ProjectDatabasePostgresqlUserParameters) DeepCopyInto

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

type ProjectDatabasePostgresqlUserSpec

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

ProjectDatabasePostgresqlUserSpec defines the desired state of ProjectDatabasePostgresqlUser

func (*ProjectDatabasePostgresqlUserSpec) DeepCopy

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

func (*ProjectDatabasePostgresqlUserSpec) DeepCopyInto

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

type ProjectDatabasePostgresqlUserStatus

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

ProjectDatabasePostgresqlUserStatus defines the observed state of ProjectDatabasePostgresqlUser.

func (*ProjectDatabasePostgresqlUserStatus) DeepCopy

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

func (*ProjectDatabasePostgresqlUserStatus) 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