Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=online.mongodbatlas.jet.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type Archive
- func (in *Archive) DeepCopy() *Archive
- func (in *Archive) DeepCopyInto(out *Archive)
- func (in *Archive) DeepCopyObject() runtime.Object
- func (mg *Archive) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Archive) GetConnectionDetailsMapping() map[string]string
- func (mg *Archive) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Archive) GetID() string
- func (tr *Archive) GetObservation() (map[string]interface{}, error)
- func (tr *Archive) GetParameters() (map[string]interface{}, error)
- func (mg *Archive) GetProviderConfigReference() *xpv1.Reference
- func (mg *Archive) GetProviderReference() *xpv1.Reference
- func (mg *Archive) GetTerraformResourceType() string
- func (tr *Archive) GetTerraformSchemaVersion() int
- func (mg *Archive) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Archive) LateInitialize(attrs []byte) (bool, error)
- func (mg *Archive) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Archive) SetConditions(c ...xpv1.Condition)
- func (mg *Archive) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *Archive) SetObservation(obs map[string]interface{}) error
- func (tr *Archive) SetParameters(params map[string]interface{}) error
- func (mg *Archive) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Archive) SetProviderReference(r *xpv1.Reference)
- func (mg *Archive) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type ArchiveList
- type ArchiveObservation
- type ArchiveParameters
- type ArchiveSpec
- type ArchiveStatus
- type CriteriaObservation
- type CriteriaParameters
- type PartitionFieldsObservation
- type PartitionFieldsParameters
Constants ¶
const ( CRDGroup = "online.mongodbatlas.jet.crossplane.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
var ( Archive_Kind = "Archive" Archive_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Archive_Kind}.String() Archive_KindAPIVersion = Archive_Kind + "." + CRDGroupVersion.String() Archive_GroupVersionKind = CRDGroupVersion.WithKind(Archive_Kind) )
Repository type metadata.
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 )
Functions ¶
This section is empty.
Types ¶
type Archive ¶
type Archive struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ArchiveSpec `json:"spec"` Status ArchiveStatus `json:"status,omitempty"` }
Archive is the Schema for the Archives 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 (*Archive) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Archive.
func (*Archive) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Archive) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Archive) GetCondition ¶
func (mg *Archive) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Archive.
func (*Archive) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Archive
func (*Archive) GetDeletionPolicy ¶
func (mg *Archive) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Archive.
func (*Archive) GetObservation ¶
GetObservation of this Archive
func (*Archive) GetParameters ¶
GetParameters of this Archive
func (*Archive) GetProviderConfigReference ¶
GetProviderConfigReference of this Archive.
func (*Archive) GetProviderReference ¶
GetProviderReference of this Archive. Deprecated: Use GetProviderConfigReference.
func (*Archive) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Archive
func (*Archive) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Archive) GetWriteConnectionSecretToReference ¶
func (mg *Archive) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Archive.
func (*Archive) LateInitialize ¶
LateInitialize this Archive using its observed tfState. returns True if there are any spec changes for the resource.
func (*Archive) ResolveReferences ¶
ResolveReferences of this Archive.
func (*Archive) SetConditions ¶
SetConditions of this Archive.
func (*Archive) SetDeletionPolicy ¶
func (mg *Archive) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Archive.
func (*Archive) SetObservation ¶
SetObservation for this Archive
func (*Archive) SetParameters ¶
SetParameters for this Archive
func (*Archive) SetProviderConfigReference ¶
SetProviderConfigReference of this Archive.
func (*Archive) SetProviderReference ¶
SetProviderReference of this Archive. Deprecated: Use SetProviderConfigReference.
func (*Archive) SetWriteConnectionSecretToReference ¶
func (mg *Archive) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Archive.
type ArchiveList ¶
type ArchiveList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Archive `json:"items"` }
ArchiveList contains a list of Archives
func (*ArchiveList) DeepCopy ¶
func (in *ArchiveList) DeepCopy() *ArchiveList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArchiveList.
func (*ArchiveList) DeepCopyInto ¶
func (in *ArchiveList) DeepCopyInto(out *ArchiveList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ArchiveList) DeepCopyObject ¶
func (in *ArchiveList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ArchiveList) GetItems ¶
func (l *ArchiveList) GetItems() []resource.Managed
GetItems of this ArchiveList.
type ArchiveObservation ¶
type ArchiveObservation struct { ArchiveID *string `json:"archiveId,omitempty" tf:"archive_id,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` State *string `json:"state,omitempty" tf:"state,omitempty"` }
func (*ArchiveObservation) DeepCopy ¶
func (in *ArchiveObservation) DeepCopy() *ArchiveObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArchiveObservation.
func (*ArchiveObservation) DeepCopyInto ¶
func (in *ArchiveObservation) DeepCopyInto(out *ArchiveObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ArchiveParameters ¶
type ArchiveParameters struct { // +kubebuilder:validation:Required ClusterName *string `json:"clusterName" tf:"cluster_name,omitempty"` // +kubebuilder:validation:Required CollName *string `json:"collName" tf:"coll_name,omitempty"` // +kubebuilder:validation:Required Criteria []CriteriaParameters `json:"criteria" tf:"criteria,omitempty"` // +kubebuilder:validation:Required DBName *string `json:"dbName" tf:"db_name,omitempty"` // +kubebuilder:validation:Optional PartitionFields []PartitionFieldsParameters `json:"partitionFields,omitempty" tf:"partition_fields,omitempty"` // +kubebuilder:validation:Optional Paused *bool `json:"paused,omitempty" tf:"paused,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 SyncCreation *bool `json:"syncCreation,omitempty" tf:"sync_creation,omitempty"` }
func (*ArchiveParameters) DeepCopy ¶
func (in *ArchiveParameters) DeepCopy() *ArchiveParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArchiveParameters.
func (*ArchiveParameters) DeepCopyInto ¶
func (in *ArchiveParameters) DeepCopyInto(out *ArchiveParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ArchiveSpec ¶
type ArchiveSpec struct { v1.ResourceSpec `json:",inline"` ForProvider ArchiveParameters `json:"forProvider"` }
ArchiveSpec defines the desired state of Archive
func (*ArchiveSpec) DeepCopy ¶
func (in *ArchiveSpec) DeepCopy() *ArchiveSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArchiveSpec.
func (*ArchiveSpec) DeepCopyInto ¶
func (in *ArchiveSpec) DeepCopyInto(out *ArchiveSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ArchiveStatus ¶
type ArchiveStatus struct { v1.ResourceStatus `json:",inline"` AtProvider ArchiveObservation `json:"atProvider,omitempty"` }
ArchiveStatus defines the observed state of Archive.
func (*ArchiveStatus) DeepCopy ¶
func (in *ArchiveStatus) DeepCopy() *ArchiveStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArchiveStatus.
func (*ArchiveStatus) DeepCopyInto ¶
func (in *ArchiveStatus) DeepCopyInto(out *ArchiveStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CriteriaObservation ¶
type CriteriaObservation struct { }
func (*CriteriaObservation) DeepCopy ¶
func (in *CriteriaObservation) DeepCopy() *CriteriaObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CriteriaObservation.
func (*CriteriaObservation) DeepCopyInto ¶
func (in *CriteriaObservation) DeepCopyInto(out *CriteriaObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CriteriaParameters ¶
type CriteriaParameters struct { // +kubebuilder:validation:Optional DateField *string `json:"dateField,omitempty" tf:"date_field,omitempty"` // +kubebuilder:validation:Optional DateFormat *string `json:"dateFormat,omitempty" tf:"date_format,omitempty"` // +kubebuilder:validation:Optional ExpireAfterDays *int64 `json:"expireAfterDays,omitempty" tf:"expire_after_days,omitempty"` // +kubebuilder:validation:Optional Query *string `json:"query,omitempty" tf:"query,omitempty"` // +kubebuilder:validation:Required Type *string `json:"type" tf:"type,omitempty"` }
func (*CriteriaParameters) DeepCopy ¶
func (in *CriteriaParameters) DeepCopy() *CriteriaParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CriteriaParameters.
func (*CriteriaParameters) DeepCopyInto ¶
func (in *CriteriaParameters) DeepCopyInto(out *CriteriaParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PartitionFieldsObservation ¶
type PartitionFieldsObservation struct {
FieldType *string `json:"fieldType,omitempty" tf:"field_type,omitempty"`
}
func (*PartitionFieldsObservation) DeepCopy ¶
func (in *PartitionFieldsObservation) DeepCopy() *PartitionFieldsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PartitionFieldsObservation.
func (*PartitionFieldsObservation) DeepCopyInto ¶
func (in *PartitionFieldsObservation) DeepCopyInto(out *PartitionFieldsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PartitionFieldsParameters ¶
type PartitionFieldsParameters struct { // +kubebuilder:validation:Required FieldName *string `json:"fieldName" tf:"field_name,omitempty"` // +kubebuilder:validation:Required Order *int64 `json:"order" tf:"order,omitempty"` }
func (*PartitionFieldsParameters) DeepCopy ¶
func (in *PartitionFieldsParameters) DeepCopy() *PartitionFieldsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PartitionFieldsParameters.
func (*PartitionFieldsParameters) DeepCopyInto ¶
func (in *PartitionFieldsParameters) DeepCopyInto(out *PartitionFieldsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.