Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=serverless.mongodbatlas.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type Instance
- func (in *Instance) DeepCopy() *Instance
- func (in *Instance) DeepCopyInto(out *Instance)
- func (in *Instance) DeepCopyObject() runtime.Object
- func (tr *Instance) GetConnectionDetailsMapping() map[string]string
- func (tr *Instance) GetID() string
- func (tr *Instance) GetObservation() (map[string]any, error)
- func (tr *Instance) GetParameters() (map[string]any, error)
- func (mg *Instance) GetTerraformResourceType() string
- func (tr *Instance) GetTerraformSchemaVersion() int
- func (tr *Instance) LateInitialize(attrs []byte) (bool, error)
- func (tr *Instance) SetObservation(obs map[string]any) error
- func (tr *Instance) SetParameters(params map[string]any) error
- type InstanceList
- type InstanceObservation
- type InstanceParameters
- type InstanceSpec
- type InstanceStatus
- type LinksObservation
- type LinksParameters
Constants ¶
const ( CRDGroup = "serverless.mongodbatlas.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 ( Instance_Kind = "Instance" Instance_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Instance_Kind}.String() Instance_KindAPIVersion = Instance_Kind + "." + CRDGroupVersion.String() Instance_GroupVersionKind = CRDGroupVersion.WithKind(Instance_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type Instance ¶
type Instance struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.projectId)",message="projectId is a required parameter" // +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.providerSettingsBackingProviderName)",message="providerSettingsBackingProviderName is a required parameter" // +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.providerSettingsProviderName)",message="providerSettingsProviderName is a required parameter" // +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.providerSettingsRegionName)",message="providerSettingsRegionName is a required parameter" Spec InstanceSpec `json:"spec"` Status InstanceStatus `json:"status,omitempty"` }
Instance is the Schema for the Instances 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,mongodbatlas}
func (*Instance) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Instance.
func (*Instance) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Instance) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Instance) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Instance
func (*Instance) GetObservation ¶
GetObservation of this Instance
func (*Instance) GetParameters ¶
GetParameters of this Instance
func (*Instance) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Instance
func (*Instance) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Instance) LateInitialize ¶
LateInitialize this Instance using its observed tfState. returns True if there are any spec changes for the resource.
func (*Instance) SetObservation ¶
SetObservation for this Instance
type InstanceList ¶
type InstanceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Instance `json:"items"` }
InstanceList contains a list of Instances
func (*InstanceList) DeepCopy ¶
func (in *InstanceList) DeepCopy() *InstanceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceList.
func (*InstanceList) DeepCopyInto ¶
func (in *InstanceList) DeepCopyInto(out *InstanceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InstanceList) DeepCopyObject ¶
func (in *InstanceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type InstanceObservation ¶
type InstanceObservation struct { ConnectionStringsPrivateEndpointSrv []*string `json:"connectionStringsPrivateEndpointSrv,omitempty" tf:"connection_strings_private_endpoint_srv,omitempty"` ConnectionStringsStandardSrv *string `json:"connectionStringsStandardSrv,omitempty" tf:"connection_strings_standard_srv,omitempty"` ContinuousBackupEnabled *bool `json:"continuousBackupEnabled,omitempty" tf:"continuous_backup_enabled,omitempty"` CreateDate *string `json:"createDate,omitempty" tf:"create_date,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` Links []LinksObservation `json:"links,omitempty" tf:"links,omitempty"` MongoDBVersion *string `json:"mongoDbVersion,omitempty" tf:"mongo_db_version,omitempty"` ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"` ProviderSettingsBackingProviderName *string `json:"providerSettingsBackingProviderName,omitempty" tf:"provider_settings_backing_provider_name,omitempty"` ProviderSettingsProviderName *string `json:"providerSettingsProviderName,omitempty" tf:"provider_settings_provider_name,omitempty"` ProviderSettingsRegionName *string `json:"providerSettingsRegionName,omitempty" tf:"provider_settings_region_name,omitempty"` StateName *string `json:"stateName,omitempty" tf:"state_name,omitempty"` TerminationProtectionEnabled *bool `json:"terminationProtectionEnabled,omitempty" tf:"termination_protection_enabled,omitempty"` }
func (*InstanceObservation) DeepCopy ¶
func (in *InstanceObservation) DeepCopy() *InstanceObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceObservation.
func (*InstanceObservation) DeepCopyInto ¶
func (in *InstanceObservation) DeepCopyInto(out *InstanceObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceParameters ¶
type InstanceParameters struct { // +kubebuilder:validation:Optional ContinuousBackupEnabled *bool `json:"continuousBackupEnabled,omitempty" tf:"continuous_backup_enabled,omitempty"` // +kubebuilder:validation:Optional Links []LinksParameters `json:"links,omitempty" tf:"links,omitempty"` // +kubebuilder:validation:Optional ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"` // +kubebuilder:validation:Optional ProviderSettingsBackingProviderName *string `json:"providerSettingsBackingProviderName,omitempty" tf:"provider_settings_backing_provider_name,omitempty"` // +kubebuilder:validation:Optional ProviderSettingsProviderName *string `json:"providerSettingsProviderName,omitempty" tf:"provider_settings_provider_name,omitempty"` // +kubebuilder:validation:Optional ProviderSettingsRegionName *string `json:"providerSettingsRegionName,omitempty" tf:"provider_settings_region_name,omitempty"` // +kubebuilder:validation:Optional StateName *string `json:"stateName,omitempty" tf:"state_name,omitempty"` // +kubebuilder:validation:Optional TerminationProtectionEnabled *bool `json:"terminationProtectionEnabled,omitempty" tf:"termination_protection_enabled,omitempty"` }
func (*InstanceParameters) DeepCopy ¶
func (in *InstanceParameters) DeepCopy() *InstanceParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceParameters.
func (*InstanceParameters) DeepCopyInto ¶
func (in *InstanceParameters) DeepCopyInto(out *InstanceParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceSpec ¶
type InstanceSpec struct { v1.ResourceSpec `json:",inline"` ForProvider InstanceParameters `json:"forProvider"` }
InstanceSpec defines the desired state of Instance
func (*InstanceSpec) DeepCopy ¶
func (in *InstanceSpec) DeepCopy() *InstanceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceSpec.
func (*InstanceSpec) DeepCopyInto ¶
func (in *InstanceSpec) DeepCopyInto(out *InstanceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceStatus ¶
type InstanceStatus struct { v1.ResourceStatus `json:",inline"` AtProvider InstanceObservation `json:"atProvider,omitempty"` }
InstanceStatus defines the observed state of Instance.
func (*InstanceStatus) DeepCopy ¶
func (in *InstanceStatus) DeepCopy() *InstanceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceStatus.
func (*InstanceStatus) DeepCopyInto ¶
func (in *InstanceStatus) DeepCopyInto(out *InstanceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LinksObservation ¶
type LinksObservation struct { Href *string `json:"href,omitempty" tf:"href,omitempty"` Rel *string `json:"rel,omitempty" tf:"rel,omitempty"` }
func (*LinksObservation) DeepCopy ¶
func (in *LinksObservation) DeepCopy() *LinksObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinksObservation.
func (*LinksObservation) DeepCopyInto ¶
func (in *LinksObservation) DeepCopyInto(out *LinksObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LinksParameters ¶
type LinksParameters struct { }
func (*LinksParameters) DeepCopy ¶
func (in *LinksParameters) DeepCopy() *LinksParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinksParameters.
func (*LinksParameters) DeepCopyInto ¶
func (in *LinksParameters) DeepCopyInto(out *LinksParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.