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

Index

Constants

View Source
const (
	CRDGroup   = "cloudprojectdatabaseopensearchuser.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 (
	ProjectDatabaseOpensearchUser_Kind             = "ProjectDatabaseOpensearchUser"
	ProjectDatabaseOpensearchUser_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ProjectDatabaseOpensearchUser_Kind}.String()
	ProjectDatabaseOpensearchUser_KindAPIVersion   = ProjectDatabaseOpensearchUser_Kind + "." + CRDGroupVersion.String()
	ProjectDatabaseOpensearchUser_GroupVersionKind = CRDGroupVersion.WithKind(ProjectDatabaseOpensearchUser_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type AclsInitParameters

type AclsInitParameters struct {

	// Pattern of the ACL
	Pattern *string `json:"pattern,omitempty" tf:"pattern,omitempty"`

	// Permission of the ACL
	Permission *string `json:"permission,omitempty" tf:"permission,omitempty"`
}

func (*AclsInitParameters) DeepCopy

func (in *AclsInitParameters) DeepCopy() *AclsInitParameters

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

func (*AclsInitParameters) DeepCopyInto

func (in *AclsInitParameters) DeepCopyInto(out *AclsInitParameters)

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

type AclsObservation

type AclsObservation struct {

	// Pattern of the ACL
	Pattern *string `json:"pattern,omitempty" tf:"pattern,omitempty"`

	// Permission of the ACL
	Permission *string `json:"permission,omitempty" tf:"permission,omitempty"`
}

func (*AclsObservation) DeepCopy

func (in *AclsObservation) DeepCopy() *AclsObservation

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

func (*AclsObservation) DeepCopyInto

func (in *AclsObservation) DeepCopyInto(out *AclsObservation)

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

type AclsParameters

type AclsParameters struct {

	// Pattern of the ACL
	// +kubebuilder:validation:Optional
	Pattern *string `json:"pattern" tf:"pattern,omitempty"`

	// Permission of the ACL
	// +kubebuilder:validation:Optional
	Permission *string `json:"permission" tf:"permission,omitempty"`
}

func (*AclsParameters) DeepCopy

func (in *AclsParameters) DeepCopy() *AclsParameters

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

func (*AclsParameters) DeepCopyInto

func (in *AclsParameters) DeepCopyInto(out *AclsParameters)

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

type ProjectDatabaseOpensearchUser

type ProjectDatabaseOpensearchUser 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   ProjectDatabaseOpensearchUserSpec   `json:"spec"`
	Status ProjectDatabaseOpensearchUserStatus `json:"status,omitempty"`
}

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

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

func (*ProjectDatabaseOpensearchUser) DeepCopyInto

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

func (*ProjectDatabaseOpensearchUser) DeepCopyObject

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

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

func (*ProjectDatabaseOpensearchUser) GetCondition

GetCondition of this ProjectDatabaseOpensearchUser.

func (*ProjectDatabaseOpensearchUser) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this ProjectDatabaseOpensearchUser

func (*ProjectDatabaseOpensearchUser) GetDeletionPolicy

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

GetDeletionPolicy of this ProjectDatabaseOpensearchUser.

func (*ProjectDatabaseOpensearchUser) GetID

GetID returns ID of underlying Terraform resource of this ProjectDatabaseOpensearchUser

func (*ProjectDatabaseOpensearchUser) GetInitParameters

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

GetInitParameters of this ProjectDatabaseOpensearchUser

func (*ProjectDatabaseOpensearchUser) GetManagementPolicies

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

GetManagementPolicies of this ProjectDatabaseOpensearchUser.

func (*ProjectDatabaseOpensearchUser) GetObservation

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

GetObservation of this ProjectDatabaseOpensearchUser

func (*ProjectDatabaseOpensearchUser) GetParameters

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

GetParameters of this ProjectDatabaseOpensearchUser

func (*ProjectDatabaseOpensearchUser) GetProviderConfigReference

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

GetProviderConfigReference of this ProjectDatabaseOpensearchUser.

func (*ProjectDatabaseOpensearchUser) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this ProjectDatabaseOpensearchUser.

func (*ProjectDatabaseOpensearchUser) GetTerraformResourceType

func (mg *ProjectDatabaseOpensearchUser) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ProjectDatabaseOpensearchUser

func (*ProjectDatabaseOpensearchUser) GetTerraformSchemaVersion

func (tr *ProjectDatabaseOpensearchUser) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ProjectDatabaseOpensearchUser) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ProjectDatabaseOpensearchUser.

func (*ProjectDatabaseOpensearchUser) LateInitialize

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

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

func (*ProjectDatabaseOpensearchUser) SetConditions

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

SetConditions of this ProjectDatabaseOpensearchUser.

func (*ProjectDatabaseOpensearchUser) SetDeletionPolicy

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

SetDeletionPolicy of this ProjectDatabaseOpensearchUser.

func (*ProjectDatabaseOpensearchUser) SetManagementPolicies

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

SetManagementPolicies of this ProjectDatabaseOpensearchUser.

func (*ProjectDatabaseOpensearchUser) SetObservation

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

SetObservation for this ProjectDatabaseOpensearchUser

func (*ProjectDatabaseOpensearchUser) SetParameters

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

SetParameters for this ProjectDatabaseOpensearchUser

func (*ProjectDatabaseOpensearchUser) SetProviderConfigReference

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

SetProviderConfigReference of this ProjectDatabaseOpensearchUser.

func (*ProjectDatabaseOpensearchUser) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this ProjectDatabaseOpensearchUser.

func (*ProjectDatabaseOpensearchUser) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this ProjectDatabaseOpensearchUser.

type ProjectDatabaseOpensearchUserInitParameters

type ProjectDatabaseOpensearchUserInitParameters struct {

	// Acls of the user
	Acls []AclsInitParameters `json:"acls,omitempty" tf:"acls,omitempty"`

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

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

func (*ProjectDatabaseOpensearchUserInitParameters) DeepCopy

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

func (*ProjectDatabaseOpensearchUserInitParameters) DeepCopyInto

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

type ProjectDatabaseOpensearchUserList

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

ProjectDatabaseOpensearchUserList contains a list of ProjectDatabaseOpensearchUsers

func (*ProjectDatabaseOpensearchUserList) DeepCopy

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

func (*ProjectDatabaseOpensearchUserList) DeepCopyInto

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

func (*ProjectDatabaseOpensearchUserList) DeepCopyObject

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

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

func (*ProjectDatabaseOpensearchUserList) GetItems

GetItems of this ProjectDatabaseOpensearchUserList.

type ProjectDatabaseOpensearchUserObservation

type ProjectDatabaseOpensearchUserObservation struct {

	// Acls of the user
	Acls []AclsObservation `json:"acls,omitempty" tf:"acls,omitempty"`

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

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

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

func (*ProjectDatabaseOpensearchUserObservation) DeepCopy

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

func (*ProjectDatabaseOpensearchUserObservation) DeepCopyInto

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

type ProjectDatabaseOpensearchUserParameters

type ProjectDatabaseOpensearchUserParameters struct {

	// Acls of the user
	// +kubebuilder:validation:Optional
	Acls []AclsParameters `json:"acls,omitempty" tf:"acls,omitempty"`

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

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

func (*ProjectDatabaseOpensearchUserParameters) DeepCopy

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

func (*ProjectDatabaseOpensearchUserParameters) DeepCopyInto

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

type ProjectDatabaseOpensearchUserSpec

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

ProjectDatabaseOpensearchUserSpec defines the desired state of ProjectDatabaseOpensearchUser

func (*ProjectDatabaseOpensearchUserSpec) DeepCopy

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

func (*ProjectDatabaseOpensearchUserSpec) DeepCopyInto

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

type ProjectDatabaseOpensearchUserStatus

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

ProjectDatabaseOpensearchUserStatus defines the observed state of ProjectDatabaseOpensearchUser.

func (*ProjectDatabaseOpensearchUserStatus) DeepCopy

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

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