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

Index

Constants

View Source
const (
	CRDGroup   = "cloudprojectdatabaseredisuser.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 (
	ProjectDatabaseRedisUser_Kind             = "ProjectDatabaseRedisUser"
	ProjectDatabaseRedisUser_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ProjectDatabaseRedisUser_Kind}.String()
	ProjectDatabaseRedisUser_KindAPIVersion   = ProjectDatabaseRedisUser_Kind + "." + CRDGroupVersion.String()
	ProjectDatabaseRedisUser_GroupVersionKind = CRDGroupVersion.WithKind(ProjectDatabaseRedisUser_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type ProjectDatabaseRedisUser

type ProjectDatabaseRedisUser 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   ProjectDatabaseRedisUserSpec   `json:"spec"`
	Status ProjectDatabaseRedisUserStatus `json:"status,omitempty"`
}

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

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

func (*ProjectDatabaseRedisUser) DeepCopyInto

func (in *ProjectDatabaseRedisUser) DeepCopyInto(out *ProjectDatabaseRedisUser)

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

func (*ProjectDatabaseRedisUser) DeepCopyObject

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

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

func (*ProjectDatabaseRedisUser) GetCondition

GetCondition of this ProjectDatabaseRedisUser.

func (*ProjectDatabaseRedisUser) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this ProjectDatabaseRedisUser

func (*ProjectDatabaseRedisUser) GetDeletionPolicy

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

GetDeletionPolicy of this ProjectDatabaseRedisUser.

func (*ProjectDatabaseRedisUser) GetID

func (tr *ProjectDatabaseRedisUser) GetID() string

GetID returns ID of underlying Terraform resource of this ProjectDatabaseRedisUser

func (*ProjectDatabaseRedisUser) GetInitParameters

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

GetInitParameters of this ProjectDatabaseRedisUser

func (*ProjectDatabaseRedisUser) GetManagementPolicies

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

GetManagementPolicies of this ProjectDatabaseRedisUser.

func (*ProjectDatabaseRedisUser) GetObservation

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

GetObservation of this ProjectDatabaseRedisUser

func (*ProjectDatabaseRedisUser) GetParameters

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

GetParameters of this ProjectDatabaseRedisUser

func (*ProjectDatabaseRedisUser) GetProviderConfigReference

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

GetProviderConfigReference of this ProjectDatabaseRedisUser.

func (*ProjectDatabaseRedisUser) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this ProjectDatabaseRedisUser.

func (*ProjectDatabaseRedisUser) GetTerraformResourceType

func (mg *ProjectDatabaseRedisUser) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ProjectDatabaseRedisUser

func (*ProjectDatabaseRedisUser) GetTerraformSchemaVersion

func (tr *ProjectDatabaseRedisUser) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ProjectDatabaseRedisUser) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ProjectDatabaseRedisUser.

func (*ProjectDatabaseRedisUser) LateInitialize

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

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

func (*ProjectDatabaseRedisUser) SetConditions

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

SetConditions of this ProjectDatabaseRedisUser.

func (*ProjectDatabaseRedisUser) SetDeletionPolicy

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

SetDeletionPolicy of this ProjectDatabaseRedisUser.

func (*ProjectDatabaseRedisUser) SetManagementPolicies

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

SetManagementPolicies of this ProjectDatabaseRedisUser.

func (*ProjectDatabaseRedisUser) SetObservation

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

SetObservation for this ProjectDatabaseRedisUser

func (*ProjectDatabaseRedisUser) SetParameters

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

SetParameters for this ProjectDatabaseRedisUser

func (*ProjectDatabaseRedisUser) SetProviderConfigReference

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

SetProviderConfigReference of this ProjectDatabaseRedisUser.

func (*ProjectDatabaseRedisUser) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this ProjectDatabaseRedisUser.

func (*ProjectDatabaseRedisUser) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this ProjectDatabaseRedisUser.

type ProjectDatabaseRedisUserInitParameters

type ProjectDatabaseRedisUserInitParameters struct {

	// Categories of the user
	Categories []*string `json:"categories,omitempty" tf:"categories,omitempty"`

	// Channels of the user
	Channels []*string `json:"channels,omitempty" tf:"channels,omitempty"`

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

	// Commands of the user
	Commands []*string `json:"commands,omitempty" tf:"commands,omitempty"`

	// Keys of the user
	Keys []*string `json:"keys,omitempty" tf:"keys,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 (*ProjectDatabaseRedisUserInitParameters) DeepCopy

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

func (*ProjectDatabaseRedisUserInitParameters) DeepCopyInto

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

type ProjectDatabaseRedisUserList

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

ProjectDatabaseRedisUserList contains a list of ProjectDatabaseRedisUsers

func (*ProjectDatabaseRedisUserList) DeepCopy

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

func (*ProjectDatabaseRedisUserList) DeepCopyInto

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

func (*ProjectDatabaseRedisUserList) DeepCopyObject

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

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

func (*ProjectDatabaseRedisUserList) GetItems

GetItems of this ProjectDatabaseRedisUserList.

type ProjectDatabaseRedisUserObservation

type ProjectDatabaseRedisUserObservation struct {

	// Categories of the user
	Categories []*string `json:"categories,omitempty" tf:"categories,omitempty"`

	// Channels of the user
	Channels []*string `json:"channels,omitempty" tf:"channels,omitempty"`

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

	// Commands of the user
	Commands []*string `json:"commands,omitempty" tf:"commands,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"`

	// Keys of the user
	Keys []*string `json:"keys,omitempty" tf:"keys,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 (*ProjectDatabaseRedisUserObservation) DeepCopy

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

func (*ProjectDatabaseRedisUserObservation) DeepCopyInto

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

type ProjectDatabaseRedisUserParameters

type ProjectDatabaseRedisUserParameters struct {

	// Categories of the user
	// +kubebuilder:validation:Optional
	Categories []*string `json:"categories,omitempty" tf:"categories,omitempty"`

	// Channels of the user
	// +kubebuilder:validation:Optional
	Channels []*string `json:"channels,omitempty" tf:"channels,omitempty"`

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

	// Commands of the user
	// +kubebuilder:validation:Optional
	Commands []*string `json:"commands,omitempty" tf:"commands,omitempty"`

	// Keys of the user
	// +kubebuilder:validation:Optional
	Keys []*string `json:"keys,omitempty" tf:"keys,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 (*ProjectDatabaseRedisUserParameters) DeepCopy

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

func (*ProjectDatabaseRedisUserParameters) DeepCopyInto

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

type ProjectDatabaseRedisUserSpec

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

ProjectDatabaseRedisUserSpec defines the desired state of ProjectDatabaseRedisUser

func (*ProjectDatabaseRedisUserSpec) DeepCopy

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

func (*ProjectDatabaseRedisUserSpec) DeepCopyInto

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

type ProjectDatabaseRedisUserStatus

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

ProjectDatabaseRedisUserStatus defines the observed state of ProjectDatabaseRedisUser.

func (*ProjectDatabaseRedisUserStatus) DeepCopy

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

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