Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=composable.opensearch.upbound.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type IndexTemplate
- func (in *IndexTemplate) DeepCopy() *IndexTemplate
- func (in *IndexTemplate) DeepCopyInto(out *IndexTemplate)
- func (in *IndexTemplate) DeepCopyObject() runtime.Object
- func (mg *IndexTemplate) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *IndexTemplate) GetConnectionDetailsMapping() map[string]string
- func (mg *IndexTemplate) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *IndexTemplate) GetID() string
- func (tr *IndexTemplate) GetInitParameters() (map[string]any, error)
- func (mg *IndexTemplate) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *IndexTemplate) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *IndexTemplate) GetObservation() (map[string]any, error)
- func (tr *IndexTemplate) GetParameters() (map[string]any, error)
- func (mg *IndexTemplate) GetProviderConfigReference() *xpv1.Reference
- func (mg *IndexTemplate) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *IndexTemplate) GetTerraformResourceType() string
- func (tr *IndexTemplate) GetTerraformSchemaVersion() int
- func (mg *IndexTemplate) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *IndexTemplate) Hub()
- func (tr *IndexTemplate) LateInitialize(attrs []byte) (bool, error)
- func (mg *IndexTemplate) SetConditions(c ...xpv1.Condition)
- func (mg *IndexTemplate) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *IndexTemplate) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *IndexTemplate) SetObservation(obs map[string]any) error
- func (tr *IndexTemplate) SetParameters(params map[string]any) error
- func (mg *IndexTemplate) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *IndexTemplate) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *IndexTemplate) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type IndexTemplateInitParameters
- type IndexTemplateList
- type IndexTemplateObservation
- type IndexTemplateParameters
- type IndexTemplateSpec
- type IndexTemplateStatus
Constants ¶
const ( CRDGroup = "composable.opensearch.upbound.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
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 )
var ( IndexTemplate_Kind = "IndexTemplate" IndexTemplate_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: IndexTemplate_Kind}.String() IndexTemplate_KindAPIVersion = IndexTemplate_Kind + "." + CRDGroupVersion.String() IndexTemplate_GroupVersionKind = CRDGroupVersion.WithKind(IndexTemplate_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type IndexTemplate ¶
type IndexTemplate 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.body) || (has(self.initProvider) && has(self.initProvider.body))",message="spec.forProvider.body 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" Spec IndexTemplateSpec `json:"spec"` Status IndexTemplateStatus `json:"status,omitempty"` }
IndexTemplate is the Schema for the IndexTemplates API. Provides an Composable index template resource. This resource uses the /_index_template endpoint of the API that is available since version 2.0.0. Use opensearch_index_template if you are using older versions or if you want to keep using legacy Index Templates. +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:resource:scope=Cluster,categories={crossplane,managed,opensearch}
func (*IndexTemplate) DeepCopy ¶
func (in *IndexTemplate) DeepCopy() *IndexTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IndexTemplate.
func (*IndexTemplate) DeepCopyInto ¶
func (in *IndexTemplate) DeepCopyInto(out *IndexTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IndexTemplate) DeepCopyObject ¶
func (in *IndexTemplate) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*IndexTemplate) GetCondition ¶
func (mg *IndexTemplate) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this IndexTemplate.
func (*IndexTemplate) GetConnectionDetailsMapping ¶
func (tr *IndexTemplate) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this IndexTemplate
func (*IndexTemplate) GetDeletionPolicy ¶
func (mg *IndexTemplate) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this IndexTemplate.
func (*IndexTemplate) GetID ¶
func (tr *IndexTemplate) GetID() string
GetID returns ID of underlying Terraform resource of this IndexTemplate
func (*IndexTemplate) GetInitParameters ¶
func (tr *IndexTemplate) GetInitParameters() (map[string]any, error)
GetInitParameters of this IndexTemplate
func (*IndexTemplate) GetManagementPolicies ¶
func (mg *IndexTemplate) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this IndexTemplate.
func (*IndexTemplate) GetMergedParameters ¶
func (tr *IndexTemplate) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
GetInitParameters of this IndexTemplate
func (*IndexTemplate) GetObservation ¶
func (tr *IndexTemplate) GetObservation() (map[string]any, error)
GetObservation of this IndexTemplate
func (*IndexTemplate) GetParameters ¶
func (tr *IndexTemplate) GetParameters() (map[string]any, error)
GetParameters of this IndexTemplate
func (*IndexTemplate) GetProviderConfigReference ¶
func (mg *IndexTemplate) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this IndexTemplate.
func (*IndexTemplate) GetPublishConnectionDetailsTo ¶
func (mg *IndexTemplate) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this IndexTemplate.
func (*IndexTemplate) GetTerraformResourceType ¶
func (mg *IndexTemplate) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this IndexTemplate
func (*IndexTemplate) GetTerraformSchemaVersion ¶
func (tr *IndexTemplate) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*IndexTemplate) GetWriteConnectionSecretToReference ¶
func (mg *IndexTemplate) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this IndexTemplate.
func (*IndexTemplate) LateInitialize ¶
func (tr *IndexTemplate) LateInitialize(attrs []byte) (bool, error)
LateInitialize this IndexTemplate using its observed tfState. returns True if there are any spec changes for the resource.
func (*IndexTemplate) SetConditions ¶
func (mg *IndexTemplate) SetConditions(c ...xpv1.Condition)
SetConditions of this IndexTemplate.
func (*IndexTemplate) SetDeletionPolicy ¶
func (mg *IndexTemplate) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this IndexTemplate.
func (*IndexTemplate) SetManagementPolicies ¶
func (mg *IndexTemplate) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this IndexTemplate.
func (*IndexTemplate) SetObservation ¶
func (tr *IndexTemplate) SetObservation(obs map[string]any) error
SetObservation for this IndexTemplate
func (*IndexTemplate) SetParameters ¶
func (tr *IndexTemplate) SetParameters(params map[string]any) error
SetParameters for this IndexTemplate
func (*IndexTemplate) SetProviderConfigReference ¶
func (mg *IndexTemplate) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this IndexTemplate.
func (*IndexTemplate) SetPublishConnectionDetailsTo ¶
func (mg *IndexTemplate) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this IndexTemplate.
func (*IndexTemplate) SetWriteConnectionSecretToReference ¶
func (mg *IndexTemplate) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this IndexTemplate.
type IndexTemplateInitParameters ¶
type IndexTemplateInitParameters struct { // (String) The JSON body of the index template. // The JSON body of the index template. Body *string `json:"body,omitempty" tf:"body,omitempty"` // (String) The name of the index template. // The name of the index template. Name *string `json:"name,omitempty" tf:"name,omitempty"` }
func (*IndexTemplateInitParameters) DeepCopy ¶
func (in *IndexTemplateInitParameters) DeepCopy() *IndexTemplateInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IndexTemplateInitParameters.
func (*IndexTemplateInitParameters) DeepCopyInto ¶
func (in *IndexTemplateInitParameters) DeepCopyInto(out *IndexTemplateInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IndexTemplateList ¶
type IndexTemplateList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []IndexTemplate `json:"items"` }
IndexTemplateList contains a list of IndexTemplates
func (*IndexTemplateList) DeepCopy ¶
func (in *IndexTemplateList) DeepCopy() *IndexTemplateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IndexTemplateList.
func (*IndexTemplateList) DeepCopyInto ¶
func (in *IndexTemplateList) DeepCopyInto(out *IndexTemplateList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IndexTemplateList) DeepCopyObject ¶
func (in *IndexTemplateList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*IndexTemplateList) GetItems ¶
func (l *IndexTemplateList) GetItems() []resource.Managed
GetItems of this IndexTemplateList.
type IndexTemplateObservation ¶
type IndexTemplateObservation struct { // (String) The JSON body of the index template. // The JSON body of the index template. Body *string `json:"body,omitempty" tf:"body,omitempty"` // (String) The ID of this resource. ID *string `json:"id,omitempty" tf:"id,omitempty"` // (String) The name of the index template. // The name of the index template. Name *string `json:"name,omitempty" tf:"name,omitempty"` }
func (*IndexTemplateObservation) DeepCopy ¶
func (in *IndexTemplateObservation) DeepCopy() *IndexTemplateObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IndexTemplateObservation.
func (*IndexTemplateObservation) DeepCopyInto ¶
func (in *IndexTemplateObservation) DeepCopyInto(out *IndexTemplateObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IndexTemplateParameters ¶
type IndexTemplateParameters struct { // (String) The JSON body of the index template. // The JSON body of the index template. // +kubebuilder:validation:Optional Body *string `json:"body,omitempty" tf:"body,omitempty"` // (String) The name of the index template. // The name of the index template. // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` }
func (*IndexTemplateParameters) DeepCopy ¶
func (in *IndexTemplateParameters) DeepCopy() *IndexTemplateParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IndexTemplateParameters.
func (*IndexTemplateParameters) DeepCopyInto ¶
func (in *IndexTemplateParameters) DeepCopyInto(out *IndexTemplateParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IndexTemplateSpec ¶
type IndexTemplateSpec struct { v1.ResourceSpec `json:",inline"` ForProvider IndexTemplateParameters `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 IndexTemplateInitParameters `json:"initProvider,omitempty"` }
IndexTemplateSpec defines the desired state of IndexTemplate
func (*IndexTemplateSpec) DeepCopy ¶
func (in *IndexTemplateSpec) DeepCopy() *IndexTemplateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IndexTemplateSpec.
func (*IndexTemplateSpec) DeepCopyInto ¶
func (in *IndexTemplateSpec) DeepCopyInto(out *IndexTemplateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IndexTemplateStatus ¶
type IndexTemplateStatus struct { v1.ResourceStatus `json:",inline"` AtProvider IndexTemplateObservation `json:"atProvider,omitempty"` }
IndexTemplateStatus defines the observed state of IndexTemplate.
func (*IndexTemplateStatus) DeepCopy ¶
func (in *IndexTemplateStatus) DeepCopy() *IndexTemplateStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IndexTemplateStatus.
func (*IndexTemplateStatus) DeepCopyInto ¶
func (in *IndexTemplateStatus) DeepCopyInto(out *IndexTemplateStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.