Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=alert.mongodbatlas.jet.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type Configuration
- func (in *Configuration) DeepCopy() *Configuration
- func (in *Configuration) DeepCopyInto(out *Configuration)
- func (in *Configuration) DeepCopyObject() runtime.Object
- func (mg *Configuration) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Configuration) GetConnectionDetailsMapping() map[string]string
- func (mg *Configuration) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Configuration) GetID() string
- func (tr *Configuration) GetObservation() (map[string]interface{}, error)
- func (tr *Configuration) GetParameters() (map[string]interface{}, error)
- func (mg *Configuration) GetProviderConfigReference() *xpv1.Reference
- func (mg *Configuration) GetProviderReference() *xpv1.Reference
- func (mg *Configuration) GetTerraformResourceType() string
- func (tr *Configuration) GetTerraformSchemaVersion() int
- func (mg *Configuration) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Configuration) LateInitialize(attrs []byte) (bool, error)
- func (mg *Configuration) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Configuration) SetConditions(c ...xpv1.Condition)
- func (mg *Configuration) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *Configuration) SetObservation(obs map[string]interface{}) error
- func (tr *Configuration) SetParameters(params map[string]interface{}) error
- func (mg *Configuration) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Configuration) SetProviderReference(r *xpv1.Reference)
- func (mg *Configuration) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type ConfigurationList
- type ConfigurationObservation
- type ConfigurationParameters
- type ConfigurationSpec
- type ConfigurationStatus
- type MatcherObservation
- type MatcherParameters
- type MetricThresholdConfigObservation
- type MetricThresholdConfigParameters
- type NotificationObservation
- type NotificationParameters
- type ThresholdConfigObservation
- type ThresholdConfigParameters
Constants ¶
const ( CRDGroup = "alert.mongodbatlas.jet.crossplane.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
var ( Configuration_Kind = "Configuration" Configuration_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Configuration_Kind}.String() Configuration_KindAPIVersion = Configuration_Kind + "." + CRDGroupVersion.String() Configuration_GroupVersionKind = CRDGroupVersion.WithKind(Configuration_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 Configuration ¶
type Configuration struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ConfigurationSpec `json:"spec"` Status ConfigurationStatus `json:"status,omitempty"` }
Configuration is the Schema for the Configurations 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 (*Configuration) DeepCopy ¶
func (in *Configuration) DeepCopy() *Configuration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Configuration.
func (*Configuration) DeepCopyInto ¶
func (in *Configuration) DeepCopyInto(out *Configuration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Configuration) DeepCopyObject ¶
func (in *Configuration) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Configuration) GetCondition ¶
func (mg *Configuration) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Configuration.
func (*Configuration) GetConnectionDetailsMapping ¶
func (tr *Configuration) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this Configuration
func (*Configuration) GetDeletionPolicy ¶
func (mg *Configuration) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Configuration.
func (*Configuration) GetID ¶
func (tr *Configuration) GetID() string
GetID returns ID of underlying Terraform resource of this Configuration
func (*Configuration) GetObservation ¶
func (tr *Configuration) GetObservation() (map[string]interface{}, error)
GetObservation of this Configuration
func (*Configuration) GetParameters ¶
func (tr *Configuration) GetParameters() (map[string]interface{}, error)
GetParameters of this Configuration
func (*Configuration) GetProviderConfigReference ¶
func (mg *Configuration) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this Configuration.
func (*Configuration) GetProviderReference ¶
func (mg *Configuration) GetProviderReference() *xpv1.Reference
GetProviderReference of this Configuration. Deprecated: Use GetProviderConfigReference.
func (*Configuration) GetTerraformResourceType ¶
func (mg *Configuration) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this Configuration
func (*Configuration) GetTerraformSchemaVersion ¶
func (tr *Configuration) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Configuration) GetWriteConnectionSecretToReference ¶
func (mg *Configuration) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Configuration.
func (*Configuration) LateInitialize ¶
func (tr *Configuration) LateInitialize(attrs []byte) (bool, error)
LateInitialize this Configuration using its observed tfState. returns True if there are any spec changes for the resource.
func (*Configuration) ResolveReferences ¶
ResolveReferences of this Configuration.
func (*Configuration) SetConditions ¶
func (mg *Configuration) SetConditions(c ...xpv1.Condition)
SetConditions of this Configuration.
func (*Configuration) SetDeletionPolicy ¶
func (mg *Configuration) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Configuration.
func (*Configuration) SetObservation ¶
func (tr *Configuration) SetObservation(obs map[string]interface{}) error
SetObservation for this Configuration
func (*Configuration) SetParameters ¶
func (tr *Configuration) SetParameters(params map[string]interface{}) error
SetParameters for this Configuration
func (*Configuration) SetProviderConfigReference ¶
func (mg *Configuration) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this Configuration.
func (*Configuration) SetProviderReference ¶
func (mg *Configuration) SetProviderReference(r *xpv1.Reference)
SetProviderReference of this Configuration. Deprecated: Use SetProviderConfigReference.
func (*Configuration) SetWriteConnectionSecretToReference ¶
func (mg *Configuration) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Configuration.
type ConfigurationList ¶
type ConfigurationList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Configuration `json:"items"` }
ConfigurationList contains a list of Configurations
func (*ConfigurationList) DeepCopy ¶
func (in *ConfigurationList) DeepCopy() *ConfigurationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationList.
func (*ConfigurationList) DeepCopyInto ¶
func (in *ConfigurationList) DeepCopyInto(out *ConfigurationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ConfigurationList) DeepCopyObject ¶
func (in *ConfigurationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ConfigurationList) GetItems ¶
func (l *ConfigurationList) GetItems() []resource.Managed
GetItems of this ConfigurationList.
type ConfigurationObservation ¶
type ConfigurationObservation struct { AlertConfigurationID *string `json:"alertConfigurationId,omitempty" tf:"alert_configuration_id,omitempty"` Created *string `json:"created,omitempty" tf:"created,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` Updated *string `json:"updated,omitempty" tf:"updated,omitempty"` }
func (*ConfigurationObservation) DeepCopy ¶
func (in *ConfigurationObservation) DeepCopy() *ConfigurationObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationObservation.
func (*ConfigurationObservation) DeepCopyInto ¶
func (in *ConfigurationObservation) DeepCopyInto(out *ConfigurationObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigurationParameters ¶
type ConfigurationParameters struct { // +kubebuilder:validation:Optional Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` // +kubebuilder:validation:Required EventType *string `json:"eventType" tf:"event_type,omitempty"` // +kubebuilder:validation:Optional Matcher []MatcherParameters `json:"matcher,omitempty" tf:"matcher,omitempty"` // +kubebuilder:validation:Optional MetricThreshold map[string]*string `json:"metricThreshold,omitempty" tf:"metric_threshold,omitempty"` // +kubebuilder:validation:Optional MetricThresholdConfig []MetricThresholdConfigParameters `json:"metricThresholdConfig,omitempty" tf:"metric_threshold_config,omitempty"` // +kubebuilder:validation:Required Notification []NotificationParameters `json:"notification" tf:"notification,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 Threshold map[string]*string `json:"threshold,omitempty" tf:"threshold,omitempty"` // +kubebuilder:validation:Optional ThresholdConfig []ThresholdConfigParameters `json:"thresholdConfig,omitempty" tf:"threshold_config,omitempty"` }
func (*ConfigurationParameters) DeepCopy ¶
func (in *ConfigurationParameters) DeepCopy() *ConfigurationParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationParameters.
func (*ConfigurationParameters) DeepCopyInto ¶
func (in *ConfigurationParameters) DeepCopyInto(out *ConfigurationParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigurationSpec ¶
type ConfigurationSpec struct { v1.ResourceSpec `json:",inline"` ForProvider ConfigurationParameters `json:"forProvider"` }
ConfigurationSpec defines the desired state of Configuration
func (*ConfigurationSpec) DeepCopy ¶
func (in *ConfigurationSpec) DeepCopy() *ConfigurationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationSpec.
func (*ConfigurationSpec) DeepCopyInto ¶
func (in *ConfigurationSpec) DeepCopyInto(out *ConfigurationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigurationStatus ¶
type ConfigurationStatus struct { v1.ResourceStatus `json:",inline"` AtProvider ConfigurationObservation `json:"atProvider,omitempty"` }
ConfigurationStatus defines the observed state of Configuration.
func (*ConfigurationStatus) DeepCopy ¶
func (in *ConfigurationStatus) DeepCopy() *ConfigurationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationStatus.
func (*ConfigurationStatus) DeepCopyInto ¶
func (in *ConfigurationStatus) DeepCopyInto(out *ConfigurationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MatcherObservation ¶
type MatcherObservation struct { }
func (*MatcherObservation) DeepCopy ¶
func (in *MatcherObservation) DeepCopy() *MatcherObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MatcherObservation.
func (*MatcherObservation) DeepCopyInto ¶
func (in *MatcherObservation) DeepCopyInto(out *MatcherObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MatcherParameters ¶
type MatcherParameters struct { // +kubebuilder:validation:Optional FieldName *string `json:"fieldName,omitempty" tf:"field_name,omitempty"` // +kubebuilder:validation:Optional Operator *string `json:"operator,omitempty" tf:"operator,omitempty"` // +kubebuilder:validation:Optional Value *string `json:"value,omitempty" tf:"value,omitempty"` }
func (*MatcherParameters) DeepCopy ¶
func (in *MatcherParameters) DeepCopy() *MatcherParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MatcherParameters.
func (*MatcherParameters) DeepCopyInto ¶
func (in *MatcherParameters) DeepCopyInto(out *MatcherParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MetricThresholdConfigObservation ¶
type MetricThresholdConfigObservation struct { }
func (*MetricThresholdConfigObservation) DeepCopy ¶
func (in *MetricThresholdConfigObservation) DeepCopy() *MetricThresholdConfigObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricThresholdConfigObservation.
func (*MetricThresholdConfigObservation) DeepCopyInto ¶
func (in *MetricThresholdConfigObservation) DeepCopyInto(out *MetricThresholdConfigObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MetricThresholdConfigParameters ¶
type MetricThresholdConfigParameters struct { // +kubebuilder:validation:Optional MetricName *string `json:"metricName,omitempty" tf:"metric_name,omitempty"` // +kubebuilder:validation:Optional Mode *string `json:"mode,omitempty" tf:"mode,omitempty"` // +kubebuilder:validation:Optional Operator *string `json:"operator,omitempty" tf:"operator,omitempty"` // +kubebuilder:validation:Optional Threshold *float64 `json:"threshold,omitempty" tf:"threshold,omitempty"` // +kubebuilder:validation:Optional Units *string `json:"units,omitempty" tf:"units,omitempty"` }
func (*MetricThresholdConfigParameters) DeepCopy ¶
func (in *MetricThresholdConfigParameters) DeepCopy() *MetricThresholdConfigParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricThresholdConfigParameters.
func (*MetricThresholdConfigParameters) DeepCopyInto ¶
func (in *MetricThresholdConfigParameters) DeepCopyInto(out *MetricThresholdConfigParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NotificationObservation ¶
type NotificationObservation struct {
TeamName *string `json:"teamName,omitempty" tf:"team_name,omitempty"`
}
func (*NotificationObservation) DeepCopy ¶
func (in *NotificationObservation) DeepCopy() *NotificationObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationObservation.
func (*NotificationObservation) DeepCopyInto ¶
func (in *NotificationObservation) DeepCopyInto(out *NotificationObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NotificationParameters ¶
type NotificationParameters struct { // +kubebuilder:validation:Optional APITokenSecretRef *v1.SecretKeySelector `json:"apiTokenSecretRef,omitempty" tf:"-"` // +kubebuilder:validation:Optional ChannelName *string `json:"channelName,omitempty" tf:"channel_name,omitempty"` // +kubebuilder:validation:Optional DatadogAPIKeySecretRef *v1.SecretKeySelector `json:"datadogApiKeySecretRef,omitempty" tf:"-"` // +kubebuilder:validation:Optional DatadogRegion *string `json:"datadogRegion,omitempty" tf:"datadog_region,omitempty"` // +kubebuilder:validation:Optional DelayMin *int64 `json:"delayMin,omitempty" tf:"delay_min,omitempty"` // +kubebuilder:validation:Optional EmailAddress *string `json:"emailAddress,omitempty" tf:"email_address,omitempty"` // +kubebuilder:validation:Optional EmailEnabled *bool `json:"emailEnabled,omitempty" tf:"email_enabled,omitempty"` // +kubebuilder:validation:Optional FlowName *string `json:"flowName,omitempty" tf:"flow_name,omitempty"` // +kubebuilder:validation:Optional FlowdockAPITokenSecretRef *v1.SecretKeySelector `json:"flowdockApiTokenSecretRef,omitempty" tf:"-"` // +kubebuilder:validation:Optional IntervalMin *int64 `json:"intervalMin,omitempty" tf:"interval_min,omitempty"` // +kubebuilder:validation:Optional MobileNumber *string `json:"mobileNumber,omitempty" tf:"mobile_number,omitempty"` // +kubebuilder:validation:Optional OpsGenieAPIKeySecretRef *v1.SecretKeySelector `json:"opsGenieApiKeySecretRef,omitempty" tf:"-"` // +kubebuilder:validation:Optional OpsGenieRegion *string `json:"opsGenieRegion,omitempty" tf:"ops_genie_region,omitempty"` // +kubebuilder:validation:Optional OrgName *string `json:"orgName,omitempty" tf:"org_name,omitempty"` // +kubebuilder:validation:Optional Roles []*string `json:"roles,omitempty" tf:"roles,omitempty"` // +kubebuilder:validation:Optional SMSEnabled *bool `json:"smsEnabled,omitempty" tf:"sms_enabled,omitempty"` // +kubebuilder:validation:Optional ServiceKeySecretRef *v1.SecretKeySelector `json:"serviceKeySecretRef,omitempty" tf:"-"` // +kubebuilder:validation:Optional TeamID *string `json:"teamId,omitempty" tf:"team_id,omitempty"` // +kubebuilder:validation:Optional TypeName *string `json:"typeName,omitempty" tf:"type_name,omitempty"` // +kubebuilder:validation:Optional Username *string `json:"username,omitempty" tf:"username,omitempty"` // +kubebuilder:validation:Optional VictorOpsAPIKeySecretRef *v1.SecretKeySelector `json:"victorOpsApiKeySecretRef,omitempty" tf:"-"` // +kubebuilder:validation:Optional VictorOpsRoutingKeySecretRef *v1.SecretKeySelector `json:"victorOpsRoutingKeySecretRef,omitempty" tf:"-"` }
func (*NotificationParameters) DeepCopy ¶
func (in *NotificationParameters) DeepCopy() *NotificationParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationParameters.
func (*NotificationParameters) DeepCopyInto ¶
func (in *NotificationParameters) DeepCopyInto(out *NotificationParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ThresholdConfigObservation ¶
type ThresholdConfigObservation struct { }
func (*ThresholdConfigObservation) DeepCopy ¶
func (in *ThresholdConfigObservation) DeepCopy() *ThresholdConfigObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ThresholdConfigObservation.
func (*ThresholdConfigObservation) DeepCopyInto ¶
func (in *ThresholdConfigObservation) DeepCopyInto(out *ThresholdConfigObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ThresholdConfigParameters ¶
type ThresholdConfigParameters struct { // +kubebuilder:validation:Optional Operator *string `json:"operator,omitempty" tf:"operator,omitempty"` // +kubebuilder:validation:Optional Threshold *float64 `json:"threshold,omitempty" tf:"threshold,omitempty"` // +kubebuilder:validation:Optional Units *string `json:"units,omitempty" tf:"units,omitempty"` }
func (*ThresholdConfigParameters) DeepCopy ¶
func (in *ThresholdConfigParameters) DeepCopy() *ThresholdConfigParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ThresholdConfigParameters.
func (*ThresholdConfigParameters) DeepCopyInto ¶
func (in *ThresholdConfigParameters) DeepCopyInto(out *ThresholdConfigParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.