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

Index

Constants

View Source
const (
	CRDGroup   = "cloudprojectdatabaseopensearchpattern.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 (
	ProjectDatabaseOpensearchPattern_Kind             = "ProjectDatabaseOpensearchPattern"
	ProjectDatabaseOpensearchPattern_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ProjectDatabaseOpensearchPattern_Kind}.String()
	ProjectDatabaseOpensearchPattern_KindAPIVersion   = ProjectDatabaseOpensearchPattern_Kind + "." + CRDGroupVersion.String()
	ProjectDatabaseOpensearchPattern_GroupVersionKind = CRDGroupVersion.WithKind(ProjectDatabaseOpensearchPattern_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type ProjectDatabaseOpensearchPattern

type ProjectDatabaseOpensearchPattern 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.pattern) || (has(self.initProvider) && has(self.initProvider.pattern))",message="spec.forProvider.pattern 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   ProjectDatabaseOpensearchPatternSpec   `json:"spec"`
	Status ProjectDatabaseOpensearchPatternStatus `json:"status,omitempty"`
}

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

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

func (*ProjectDatabaseOpensearchPattern) DeepCopyInto

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

func (*ProjectDatabaseOpensearchPattern) DeepCopyObject

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

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

func (*ProjectDatabaseOpensearchPattern) GetCondition

GetCondition of this ProjectDatabaseOpensearchPattern.

func (*ProjectDatabaseOpensearchPattern) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this ProjectDatabaseOpensearchPattern

func (*ProjectDatabaseOpensearchPattern) GetDeletionPolicy

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

GetDeletionPolicy of this ProjectDatabaseOpensearchPattern.

func (*ProjectDatabaseOpensearchPattern) GetID

GetID returns ID of underlying Terraform resource of this ProjectDatabaseOpensearchPattern

func (*ProjectDatabaseOpensearchPattern) GetInitParameters

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

GetInitParameters of this ProjectDatabaseOpensearchPattern

func (*ProjectDatabaseOpensearchPattern) GetManagementPolicies

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

GetManagementPolicies of this ProjectDatabaseOpensearchPattern.

func (*ProjectDatabaseOpensearchPattern) GetObservation

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

GetObservation of this ProjectDatabaseOpensearchPattern

func (*ProjectDatabaseOpensearchPattern) GetParameters

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

GetParameters of this ProjectDatabaseOpensearchPattern

func (*ProjectDatabaseOpensearchPattern) GetProviderConfigReference

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

GetProviderConfigReference of this ProjectDatabaseOpensearchPattern.

func (*ProjectDatabaseOpensearchPattern) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this ProjectDatabaseOpensearchPattern.

func (*ProjectDatabaseOpensearchPattern) GetTerraformResourceType

func (mg *ProjectDatabaseOpensearchPattern) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ProjectDatabaseOpensearchPattern

func (*ProjectDatabaseOpensearchPattern) GetTerraformSchemaVersion

func (tr *ProjectDatabaseOpensearchPattern) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ProjectDatabaseOpensearchPattern) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ProjectDatabaseOpensearchPattern.

func (*ProjectDatabaseOpensearchPattern) LateInitialize

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

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

func (*ProjectDatabaseOpensearchPattern) SetConditions

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

SetConditions of this ProjectDatabaseOpensearchPattern.

func (*ProjectDatabaseOpensearchPattern) SetDeletionPolicy

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

SetDeletionPolicy of this ProjectDatabaseOpensearchPattern.

func (*ProjectDatabaseOpensearchPattern) SetManagementPolicies

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

SetManagementPolicies of this ProjectDatabaseOpensearchPattern.

func (*ProjectDatabaseOpensearchPattern) SetObservation

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

SetObservation for this ProjectDatabaseOpensearchPattern

func (*ProjectDatabaseOpensearchPattern) SetParameters

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

SetParameters for this ProjectDatabaseOpensearchPattern

func (*ProjectDatabaseOpensearchPattern) SetProviderConfigReference

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

SetProviderConfigReference of this ProjectDatabaseOpensearchPattern.

func (*ProjectDatabaseOpensearchPattern) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this ProjectDatabaseOpensearchPattern.

func (*ProjectDatabaseOpensearchPattern) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this ProjectDatabaseOpensearchPattern.

type ProjectDatabaseOpensearchPatternInitParameters

type ProjectDatabaseOpensearchPatternInitParameters struct {

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

	// Maximum number of index for this pattern
	MaxIndexCount *float64 `json:"maxIndexCount,omitempty" tf:"max_index_count,omitempty"`

	// Pattern format
	Pattern *string `json:"pattern,omitempty" tf:"pattern,omitempty"`

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

func (*ProjectDatabaseOpensearchPatternInitParameters) DeepCopy

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

func (*ProjectDatabaseOpensearchPatternInitParameters) DeepCopyInto

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

type ProjectDatabaseOpensearchPatternList

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

ProjectDatabaseOpensearchPatternList contains a list of ProjectDatabaseOpensearchPatterns

func (*ProjectDatabaseOpensearchPatternList) DeepCopy

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

func (*ProjectDatabaseOpensearchPatternList) DeepCopyInto

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

func (*ProjectDatabaseOpensearchPatternList) DeepCopyObject

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

func (*ProjectDatabaseOpensearchPatternList) GetItems

GetItems of this ProjectDatabaseOpensearchPatternList.

type ProjectDatabaseOpensearchPatternObservation

type ProjectDatabaseOpensearchPatternObservation struct {

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

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

	// Maximum number of index for this pattern
	MaxIndexCount *float64 `json:"maxIndexCount,omitempty" tf:"max_index_count,omitempty"`

	// Pattern format
	Pattern *string `json:"pattern,omitempty" tf:"pattern,omitempty"`

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

func (*ProjectDatabaseOpensearchPatternObservation) DeepCopy

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

func (*ProjectDatabaseOpensearchPatternObservation) DeepCopyInto

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

type ProjectDatabaseOpensearchPatternParameters

type ProjectDatabaseOpensearchPatternParameters struct {

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

	// Maximum number of index for this pattern
	// +kubebuilder:validation:Optional
	MaxIndexCount *float64 `json:"maxIndexCount,omitempty" tf:"max_index_count,omitempty"`

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

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

func (*ProjectDatabaseOpensearchPatternParameters) DeepCopy

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

func (*ProjectDatabaseOpensearchPatternParameters) DeepCopyInto

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

type ProjectDatabaseOpensearchPatternSpec

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

ProjectDatabaseOpensearchPatternSpec defines the desired state of ProjectDatabaseOpensearchPattern

func (*ProjectDatabaseOpensearchPatternSpec) DeepCopy

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

func (*ProjectDatabaseOpensearchPatternSpec) DeepCopyInto

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

type ProjectDatabaseOpensearchPatternStatus

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

ProjectDatabaseOpensearchPatternStatus defines the observed state of ProjectDatabaseOpensearchPattern.

func (*ProjectDatabaseOpensearchPatternStatus) DeepCopy

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

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