Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=search.mongodbatlas.jet.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type Index
- func (in *Index) DeepCopy() *Index
- func (in *Index) DeepCopyInto(out *Index)
- func (in *Index) DeepCopyObject() runtime.Object
- func (mg *Index) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Index) GetConnectionDetailsMapping() map[string]string
- func (mg *Index) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Index) GetID() string
- func (tr *Index) GetObservation() (map[string]interface{}, error)
- func (tr *Index) GetParameters() (map[string]interface{}, error)
- func (mg *Index) GetProviderConfigReference() *xpv1.Reference
- func (mg *Index) GetProviderReference() *xpv1.Reference
- func (mg *Index) GetTerraformResourceType() string
- func (tr *Index) GetTerraformSchemaVersion() int
- func (mg *Index) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Index) LateInitialize(attrs []byte) (bool, error)
- func (mg *Index) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Index) SetConditions(c ...xpv1.Condition)
- func (mg *Index) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *Index) SetObservation(obs map[string]interface{}) error
- func (tr *Index) SetParameters(params map[string]interface{}) error
- func (mg *Index) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Index) SetProviderReference(r *xpv1.Reference)
- func (mg *Index) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type IndexList
- type IndexObservation
- type IndexParameters
- type IndexSpec
- type IndexStatus
- type SynonymsObservation
- type SynonymsParameters
Constants ¶
const ( CRDGroup = "search.mongodbatlas.jet.crossplane.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 ( Index_Kind = "Index" Index_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Index_Kind}.String() Index_KindAPIVersion = Index_Kind + "." + CRDGroupVersion.String() Index_GroupVersionKind = CRDGroupVersion.WithKind(Index_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type Index ¶
type Index struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec IndexSpec `json:"spec"` Status IndexStatus `json:"status,omitempty"` }
Index is the Schema for the Indexs API +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,mongodbatlasjet}
func (*Index) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Index.
func (*Index) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Index) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Index) GetCondition ¶
func (mg *Index) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Index.
func (*Index) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Index
func (*Index) GetDeletionPolicy ¶
func (mg *Index) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Index.
func (*Index) GetObservation ¶
GetObservation of this Index
func (*Index) GetParameters ¶
GetParameters of this Index
func (*Index) GetProviderConfigReference ¶
GetProviderConfigReference of this Index.
func (*Index) GetProviderReference ¶
GetProviderReference of this Index. Deprecated: Use GetProviderConfigReference.
func (*Index) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Index
func (*Index) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Index) GetWriteConnectionSecretToReference ¶
func (mg *Index) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Index.
func (*Index) LateInitialize ¶
LateInitialize this Index using its observed tfState. returns True if there are any spec changes for the resource.
func (*Index) ResolveReferences ¶
ResolveReferences of this Index.
func (*Index) SetConditions ¶
SetConditions of this Index.
func (*Index) SetDeletionPolicy ¶
func (mg *Index) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Index.
func (*Index) SetObservation ¶
SetObservation for this Index
func (*Index) SetParameters ¶
SetParameters for this Index
func (*Index) SetProviderConfigReference ¶
SetProviderConfigReference of this Index.
func (*Index) SetProviderReference ¶
SetProviderReference of this Index. Deprecated: Use SetProviderConfigReference.
func (*Index) SetWriteConnectionSecretToReference ¶
func (mg *Index) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Index.
type IndexList ¶
type IndexList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Index `json:"items"` }
IndexList contains a list of Indexs
func (*IndexList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IndexList.
func (*IndexList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IndexList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IndexObservation ¶
type IndexObservation struct { ID *string `json:"id,omitempty" tf:"id,omitempty"` IndexID *string `json:"indexId,omitempty" tf:"index_id,omitempty"` }
func (*IndexObservation) DeepCopy ¶
func (in *IndexObservation) DeepCopy() *IndexObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IndexObservation.
func (*IndexObservation) DeepCopyInto ¶
func (in *IndexObservation) DeepCopyInto(out *IndexObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IndexParameters ¶
type IndexParameters struct { // +kubebuilder:validation:Required Analyzer *string `json:"analyzer" tf:"analyzer,omitempty"` // +kubebuilder:validation:Optional Analyzers *string `json:"analyzers,omitempty" tf:"analyzers,omitempty"` // +kubebuilder:validation:Required ClusterName *string `json:"clusterName" tf:"cluster_name,omitempty"` // +kubebuilder:validation:Required CollectionName *string `json:"collectionName" tf:"collection_name,omitempty"` // +kubebuilder:validation:Required Database *string `json:"database" tf:"database,omitempty"` // +kubebuilder:validation:Optional MappingsDynamic *bool `json:"mappingsDynamic,omitempty" tf:"mappings_dynamic,omitempty"` // +kubebuilder:validation:Optional MappingsFields *string `json:"mappingsFields,omitempty" tf:"mappings_fields,omitempty"` // +kubebuilder:validation:Required Name *string `json:"name" tf:"name,omitempty"` // +crossplane:generate:reference:type=github.com/Teja446/mongodbatlasprov/apis/mongodbatlas/v1alpha1.Project // +crossplane:generate:reference:extractor=github.com/Teja446/mongodbatlasprov/config/common.ExtractResourceID() // +kubebuilder:validation:Optional ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"` // +kubebuilder:validation:Optional ProjectIDRef *v1.Reference `json:"projectIdRef,omitempty" tf:"-"` // +kubebuilder:validation:Optional ProjectIDSelector *v1.Selector `json:"projectIdSelector,omitempty" tf:"-"` // +kubebuilder:validation:Optional SearchAnalyzer *string `json:"searchAnalyzer,omitempty" tf:"search_analyzer,omitempty"` // +kubebuilder:validation:Optional Status *string `json:"status,omitempty" tf:"status,omitempty"` // +kubebuilder:validation:Optional Synonyms []SynonymsParameters `json:"synonyms,omitempty" tf:"synonyms,omitempty"` }
func (*IndexParameters) DeepCopy ¶
func (in *IndexParameters) DeepCopy() *IndexParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IndexParameters.
func (*IndexParameters) DeepCopyInto ¶
func (in *IndexParameters) DeepCopyInto(out *IndexParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IndexSpec ¶
type IndexSpec struct { v1.ResourceSpec `json:",inline"` ForProvider IndexParameters `json:"forProvider"` }
IndexSpec defines the desired state of Index
func (*IndexSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IndexSpec.
func (*IndexSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IndexStatus ¶
type IndexStatus struct { v1.ResourceStatus `json:",inline"` AtProvider IndexObservation `json:"atProvider,omitempty"` }
IndexStatus defines the observed state of Index.
func (*IndexStatus) DeepCopy ¶
func (in *IndexStatus) DeepCopy() *IndexStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IndexStatus.
func (*IndexStatus) DeepCopyInto ¶
func (in *IndexStatus) DeepCopyInto(out *IndexStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SynonymsObservation ¶
type SynonymsObservation struct { }
func (*SynonymsObservation) DeepCopy ¶
func (in *SynonymsObservation) DeepCopy() *SynonymsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SynonymsObservation.
func (*SynonymsObservation) DeepCopyInto ¶
func (in *SynonymsObservation) DeepCopyInto(out *SynonymsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SynonymsParameters ¶
type SynonymsParameters struct { // +kubebuilder:validation:Required Analyzer *string `json:"analyzer" tf:"analyzer,omitempty"` // +kubebuilder:validation:Required Name *string `json:"name" tf:"name,omitempty"` // +kubebuilder:validation:Required SourceCollection *string `json:"sourceCollection" tf:"source_collection,omitempty"` }
func (*SynonymsParameters) DeepCopy ¶
func (in *SynonymsParameters) DeepCopy() *SynonymsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SynonymsParameters.
func (*SynonymsParameters) DeepCopyInto ¶
func (in *SynonymsParameters) DeepCopyInto(out *SynonymsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.