Documentation ¶
Overview ¶
+groupName=alert.mongodbatlas.kubeform.com
Index ¶
- Variables
- func GetDecoder() map[string]jsoniter.ValDecoder
- func GetEncoder() map[string]jsoniter.ValEncoder
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type Configuration
- func (in *Configuration) DeepCopy() *Configuration
- func (in *Configuration) DeepCopyInto(out *Configuration)
- func (in *Configuration) DeepCopyObject() runtime.Object
- func (r *Configuration) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Configuration) ValidateCreate() error
- func (r *Configuration) ValidateDelete() error
- func (r *Configuration) ValidateUpdate(old runtime.Object) error
- type ConfigurationList
- type ConfigurationSpec
- type ConfigurationSpecMatcher
- type ConfigurationSpecMetricThresholdConfig
- type ConfigurationSpecMetricThresholdConfigCodec
- type ConfigurationSpecNotification
- type ConfigurationSpecResource
- type ConfigurationSpecThresholdConfig
- type ConfigurationSpecThresholdConfigCodec
- type ConfigurationStatus
Constants ¶
This section is empty.
Variables ¶
var ( // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api. // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder runtime.SchemeBuilder AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: alert.GroupName, Version: "v1alpha1"}
Functions ¶
func GetDecoder ¶
func GetDecoder() map[string]jsoniter.ValDecoder
func GetEncoder ¶
func GetEncoder() map[string]jsoniter.ValEncoder
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type Configuration ¶
type Configuration struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ConfigurationSpec `json:"spec,omitempty"` Status ConfigurationStatus `json:"status,omitempty"` }
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) SetupWebhookWithManager ¶
func (r *Configuration) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*Configuration) ValidateCreate ¶
func (r *Configuration) ValidateCreate() error
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Configuration) ValidateDelete ¶
func (r *Configuration) ValidateDelete() error
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*Configuration) ValidateUpdate ¶
func (r *Configuration) ValidateUpdate(old runtime.Object) error
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type ConfigurationList ¶
type ConfigurationList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of Configuration CRD objects Items []Configuration `json:"items,omitempty"` }
ConfigurationList is 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.
type ConfigurationSpec ¶
type ConfigurationSpec struct { State *ConfigurationSpecResource `json:"state,omitempty" tf:"-"` Resource ConfigurationSpecResource `json:"resource" tf:"resource"` UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"` TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"` ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"` SecretRef *core.LocalObjectReference `json:"secretRef,omitempty" tf:"-"` BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"` }
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 ConfigurationSpecMatcher ¶
type ConfigurationSpecMatcher struct { // +optional FieldName *string `json:"fieldName,omitempty" tf:"field_name"` // +optional Operator *string `json:"operator,omitempty" tf:"operator"` // +optional Value *string `json:"value,omitempty" tf:"value"` }
func (*ConfigurationSpecMatcher) DeepCopy ¶
func (in *ConfigurationSpecMatcher) DeepCopy() *ConfigurationSpecMatcher
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationSpecMatcher.
func (*ConfigurationSpecMatcher) DeepCopyInto ¶
func (in *ConfigurationSpecMatcher) DeepCopyInto(out *ConfigurationSpecMatcher)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigurationSpecMetricThresholdConfig ¶
type ConfigurationSpecMetricThresholdConfig struct { // +optional MetricName *string `json:"metricName,omitempty" tf:"metric_name"` // +optional Mode *string `json:"mode,omitempty" tf:"mode"` // +optional Operator *string `json:"operator,omitempty" tf:"operator"` // +optional Threshold *float64 `json:"threshold,omitempty" tf:"threshold"` // +optional Units *string `json:"units,omitempty" tf:"units"` }
func (*ConfigurationSpecMetricThresholdConfig) DeepCopy ¶
func (in *ConfigurationSpecMetricThresholdConfig) DeepCopy() *ConfigurationSpecMetricThresholdConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationSpecMetricThresholdConfig.
func (*ConfigurationSpecMetricThresholdConfig) DeepCopyInto ¶
func (in *ConfigurationSpecMetricThresholdConfig) DeepCopyInto(out *ConfigurationSpecMetricThresholdConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigurationSpecMetricThresholdConfigCodec ¶
type ConfigurationSpecMetricThresholdConfigCodec struct { }
+k8s:deepcopy-gen=false
func (ConfigurationSpecMetricThresholdConfigCodec) Decode ¶
func (ConfigurationSpecMetricThresholdConfigCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
type ConfigurationSpecNotification ¶
type ConfigurationSpecNotification struct { // +optional ApiToken *string `json:"-" sensitive:"true" tf:"api_token"` // +optional ChannelName *string `json:"channelName,omitempty" tf:"channel_name"` // +optional DatadogAPIKey *string `json:"-" sensitive:"true" tf:"datadog_api_key"` // +optional DatadogRegion *string `json:"datadogRegion,omitempty" tf:"datadog_region"` // +optional DelayMin *int64 `json:"delayMin,omitempty" tf:"delay_min"` // +optional EmailAddress *string `json:"emailAddress,omitempty" tf:"email_address"` // +optional EmailEnabled *bool `json:"emailEnabled,omitempty" tf:"email_enabled"` // +optional FlowName *string `json:"flowName,omitempty" tf:"flow_name"` // +optional FlowdockAPIToken *string `json:"-" sensitive:"true" tf:"flowdock_api_token"` // +optional IntervalMin *int64 `json:"intervalMin,omitempty" tf:"interval_min"` // +optional MobileNumber *string `json:"mobileNumber,omitempty" tf:"mobile_number"` // +optional OpsGenieAPIKey *string `json:"-" sensitive:"true" tf:"ops_genie_api_key"` // +optional OpsGenieRegion *string `json:"opsGenieRegion,omitempty" tf:"ops_genie_region"` // +optional OrgName *string `json:"orgName,omitempty" tf:"org_name"` // +optional Roles []string `json:"roles,omitempty" tf:"roles"` // +optional ServiceKey *string `json:"-" sensitive:"true" tf:"service_key"` // +optional SmsEnabled *bool `json:"smsEnabled,omitempty" tf:"sms_enabled"` // +optional TeamID *string `json:"teamID,omitempty" tf:"team_id"` // +optional TeamName *string `json:"teamName,omitempty" tf:"team_name"` // +optional TypeName *string `json:"typeName,omitempty" tf:"type_name"` // +optional Username *string `json:"username,omitempty" tf:"username"` // +optional VictorOpsAPIKey *string `json:"-" sensitive:"true" tf:"victor_ops_api_key"` // +optional VictorOpsRoutingKey *string `json:"-" sensitive:"true" tf:"victor_ops_routing_key"` }
func (*ConfigurationSpecNotification) DeepCopy ¶
func (in *ConfigurationSpecNotification) DeepCopy() *ConfigurationSpecNotification
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationSpecNotification.
func (*ConfigurationSpecNotification) DeepCopyInto ¶
func (in *ConfigurationSpecNotification) DeepCopyInto(out *ConfigurationSpecNotification)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigurationSpecResource ¶
type ConfigurationSpecResource struct { ID string `json:"id,omitempty" tf:"id,omitempty"` // +optional AlertConfigurationID *string `json:"alertConfigurationID,omitempty" tf:"alert_configuration_id"` // +optional Created *string `json:"created,omitempty" tf:"created"` // +optional Enabled *bool `json:"enabled,omitempty" tf:"enabled"` EventType *string `json:"eventType" tf:"event_type"` // +optional Matcher []ConfigurationSpecMatcher `json:"matcher,omitempty" tf:"matcher"` // +optional // Deprecated MetricThreshold *map[string]string `json:"metricThreshold,omitempty" tf:"metric_threshold"` // +optional MetricThresholdConfig *ConfigurationSpecMetricThresholdConfig `json:"metricThresholdConfig,omitempty" tf:"metric_threshold_config"` Notification []ConfigurationSpecNotification `json:"notification" tf:"notification"` ProjectID *string `json:"projectID" tf:"project_id"` // +optional // Deprecated Threshold *map[string]string `json:"threshold,omitempty" tf:"threshold"` // +optional ThresholdConfig *ConfigurationSpecThresholdConfig `json:"thresholdConfig,omitempty" tf:"threshold_config"` // +optional Updated *string `json:"updated,omitempty" tf:"updated"` }
func (*ConfigurationSpecResource) DeepCopy ¶
func (in *ConfigurationSpecResource) DeepCopy() *ConfigurationSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationSpecResource.
func (*ConfigurationSpecResource) DeepCopyInto ¶
func (in *ConfigurationSpecResource) DeepCopyInto(out *ConfigurationSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigurationSpecThresholdConfig ¶
type ConfigurationSpecThresholdConfig struct { // +optional Operator *string `json:"operator,omitempty" tf:"operator"` // +optional Threshold *float64 `json:"threshold,omitempty" tf:"threshold"` // +optional Units *string `json:"units,omitempty" tf:"units"` }
func (*ConfigurationSpecThresholdConfig) DeepCopy ¶
func (in *ConfigurationSpecThresholdConfig) DeepCopy() *ConfigurationSpecThresholdConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationSpecThresholdConfig.
func (*ConfigurationSpecThresholdConfig) DeepCopyInto ¶
func (in *ConfigurationSpecThresholdConfig) DeepCopyInto(out *ConfigurationSpecThresholdConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigurationSpecThresholdConfigCodec ¶
type ConfigurationSpecThresholdConfigCodec struct { }
+k8s:deepcopy-gen=false
func (ConfigurationSpecThresholdConfigCodec) Decode ¶
func (ConfigurationSpecThresholdConfigCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
type ConfigurationStatus ¶
type ConfigurationStatus struct { // Resource generation, which is updated on mutation by the API Server. // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty"` // +optional Phase status.Status `json:"phase,omitempty"` // +optional Conditions []kmapi.Condition `json:"conditions,omitempty"` }
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.