Documentation ¶
Overview ¶
+groupName=nrql.newrelic.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 AlertCondition
- func (in *AlertCondition) DeepCopy() *AlertCondition
- func (in *AlertCondition) DeepCopyInto(out *AlertCondition)
- func (in *AlertCondition) DeepCopyObject() runtime.Object
- func (r *AlertCondition) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *AlertCondition) ValidateCreate() error
- func (r *AlertCondition) ValidateDelete() error
- func (r *AlertCondition) ValidateUpdate(old runtime.Object) error
- type AlertConditionList
- type AlertConditionSpec
- type AlertConditionSpecCritical
- type AlertConditionSpecCriticalCodec
- type AlertConditionSpecNrql
- type AlertConditionSpecNrqlCodec
- type AlertConditionSpecResource
- type AlertConditionSpecTerm
- type AlertConditionSpecWarning
- type AlertConditionSpecWarningCodec
- type AlertConditionStatus
- type DropRule
- func (in *DropRule) DeepCopy() *DropRule
- func (in *DropRule) DeepCopyInto(out *DropRule)
- func (in *DropRule) DeepCopyObject() runtime.Object
- func (r *DropRule) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *DropRule) ValidateCreate() error
- func (r *DropRule) ValidateDelete() error
- func (r *DropRule) ValidateUpdate(old runtime.Object) error
- type DropRuleList
- type DropRuleSpec
- type DropRuleSpecResource
- type DropRuleStatus
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: nrql.GroupName, Version: "v1alpha1"}
Functions ¶
func GetDecoder ¶
func GetDecoder() map[string]jsoniter.ValDecoder
func GetEncoder ¶
func GetEncoder() map[string]jsoniter.ValEncoder
func Kind ¶
Kind takes an unqualified kind and returns a Group qualified GroupKind
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type AlertCondition ¶
type AlertCondition struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec AlertConditionSpec `json:"spec,omitempty"` Status AlertConditionStatus `json:"status,omitempty"` }
func (*AlertCondition) DeepCopy ¶
func (in *AlertCondition) DeepCopy() *AlertCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertCondition.
func (*AlertCondition) DeepCopyInto ¶
func (in *AlertCondition) DeepCopyInto(out *AlertCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AlertCondition) DeepCopyObject ¶
func (in *AlertCondition) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*AlertCondition) SetupWebhookWithManager ¶
func (r *AlertCondition) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*AlertCondition) ValidateCreate ¶
func (r *AlertCondition) ValidateCreate() error
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*AlertCondition) ValidateDelete ¶
func (r *AlertCondition) ValidateDelete() error
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*AlertCondition) ValidateUpdate ¶
func (r *AlertCondition) ValidateUpdate(old runtime.Object) error
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type AlertConditionList ¶
type AlertConditionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of AlertCondition CRD objects Items []AlertCondition `json:"items,omitempty"` }
AlertConditionList is a list of AlertConditions
func (*AlertConditionList) DeepCopy ¶
func (in *AlertConditionList) DeepCopy() *AlertConditionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertConditionList.
func (*AlertConditionList) DeepCopyInto ¶
func (in *AlertConditionList) DeepCopyInto(out *AlertConditionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AlertConditionList) DeepCopyObject ¶
func (in *AlertConditionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AlertConditionSpec ¶
type AlertConditionSpec struct { State *AlertConditionSpecResource `json:"state,omitempty" tf:"-"` Resource AlertConditionSpecResource `json:"resource" tf:"resource"` UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"` TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"` ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"` BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"` }
func (*AlertConditionSpec) DeepCopy ¶
func (in *AlertConditionSpec) DeepCopy() *AlertConditionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertConditionSpec.
func (*AlertConditionSpec) DeepCopyInto ¶
func (in *AlertConditionSpec) DeepCopyInto(out *AlertConditionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AlertConditionSpecCritical ¶
type AlertConditionSpecCritical struct { // In minutes, must be in the range of 1 to 120 (inclusive). // +optional // Deprecated Duration *int64 `json:"duration,omitempty" tf:"duration"` // One of (above, below, equals). Defaults to 'equals'. // +optional Operator *string `json:"operator,omitempty" tf:"operator"` // Must be 0 or greater. For baseline conditions must be in range [1, 1000]. Threshold *float64 `json:"threshold" tf:"threshold"` // The duration, in seconds, that the threshold must violate in order to create a violation. Value must be a multiple of the 'aggregation_window' (which has a default of 60 seconds). Value must be within 120-3600 seconds for baseline and outlier conditions, within 120-7200 seconds for static conditions with the sum value function, and within 60-7200 seconds for static conditions with the single_value value function. // +optional ThresholdDuration *int64 `json:"thresholdDuration,omitempty" tf:"threshold_duration"` // The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: 'ALL' or 'AT_LEAST_ONCE' (case insensitive). // +optional ThresholdOccurrences *string `json:"thresholdOccurrences,omitempty" tf:"threshold_occurrences"` // Valid values are: 'all' or 'any' // +optional // Deprecated TimeFunction *string `json:"timeFunction,omitempty" tf:"time_function"` }
func (*AlertConditionSpecCritical) DeepCopy ¶
func (in *AlertConditionSpecCritical) DeepCopy() *AlertConditionSpecCritical
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertConditionSpecCritical.
func (*AlertConditionSpecCritical) DeepCopyInto ¶
func (in *AlertConditionSpecCritical) DeepCopyInto(out *AlertConditionSpecCritical)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AlertConditionSpecCriticalCodec ¶
type AlertConditionSpecCriticalCodec struct { }
+k8s:deepcopy-gen=false
func (AlertConditionSpecCriticalCodec) Decode ¶
func (AlertConditionSpecCriticalCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
func (AlertConditionSpecCriticalCodec) Encode ¶
func (AlertConditionSpecCriticalCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)
func (AlertConditionSpecCriticalCodec) IsEmpty ¶
func (AlertConditionSpecCriticalCodec) IsEmpty(ptr unsafe.Pointer) bool
type AlertConditionSpecNrql ¶
type AlertConditionSpecNrql struct { // NRQL queries are evaluated in one-minute time windows. The start time depends on the value you provide in the NRQL condition's `evaluation_offset`. // +optional // Deprecated EvaluationOffset *int64 `json:"evaluationOffset,omitempty" tf:"evaluation_offset"` Query *string `json:"query" tf:"query"` // NRQL queries are evaluated in one-minute time windows. The start time depends on the value you provide in the NRQL condition's `since_value`. // +optional // Deprecated SinceValue *string `json:"sinceValue,omitempty" tf:"since_value"` }
func (*AlertConditionSpecNrql) DeepCopy ¶
func (in *AlertConditionSpecNrql) DeepCopy() *AlertConditionSpecNrql
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertConditionSpecNrql.
func (*AlertConditionSpecNrql) DeepCopyInto ¶
func (in *AlertConditionSpecNrql) DeepCopyInto(out *AlertConditionSpecNrql)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AlertConditionSpecNrqlCodec ¶
type AlertConditionSpecNrqlCodec struct { }
+k8s:deepcopy-gen=false
func (AlertConditionSpecNrqlCodec) Decode ¶
func (AlertConditionSpecNrqlCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
func (AlertConditionSpecNrqlCodec) Encode ¶
func (AlertConditionSpecNrqlCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)
func (AlertConditionSpecNrqlCodec) IsEmpty ¶
func (AlertConditionSpecNrqlCodec) IsEmpty(ptr unsafe.Pointer) bool
type AlertConditionSpecResource ¶
type AlertConditionSpecResource struct { ID string `json:"id,omitempty" tf:"id,omitempty"` // The New Relic account ID for managing your NRQL alert conditions. // +optional AccountID *int64 `json:"accountID,omitempty" tf:"account_id"` // How long we wait for data that belongs in each aggregation window. Depending on your data, a longer delay may increase accuracy but delay notifications. Use aggregationDelay with the EVENT_FLOW and CADENCE aggregation methods. // +optional AggregationDelay *int64 `json:"aggregationDelay,omitempty" tf:"aggregation_delay"` // The method that determines when we consider an aggregation window to be complete so that we can evaluate the signal for violations. Default is CADENCE. // +optional AggregationMethod *string `json:"aggregationMethod,omitempty" tf:"aggregation_method"` // How long we wait after each data point arrives to make sure we've processed the whole batch. Use aggregationTimer with the EVENT_TIMER aggregation method. // +optional AggregationTimer *int64 `json:"aggregationTimer,omitempty" tf:"aggregation_timer"` // The duration of the time window used to evaluate the NRQL query, in seconds. // +optional AggregationWindow *int64 `json:"aggregationWindow,omitempty" tf:"aggregation_window"` // The baseline direction of a baseline NRQL alert condition. Valid values are: 'LOWER_ONLY', 'UPPER_AND_LOWER', 'UPPER_ONLY' (case insensitive). // +optional BaselineDirection *string `json:"baselineDirection,omitempty" tf:"baseline_direction"` // Whether to close all open violations when the signal expires. // +optional CloseViolationsOnExpiration *bool `json:"closeViolationsOnExpiration,omitempty" tf:"close_violations_on_expiration"` // A condition term with priority set to critical. // +optional Critical *AlertConditionSpecCritical `json:"critical,omitempty" tf:"critical"` // The description of the NRQL alert condition. // +optional Description *string `json:"description,omitempty" tf:"description"` // Whether or not to enable the alert condition. // +optional Enabled *bool `json:"enabled,omitempty" tf:"enabled"` // Number of expected groups when using outlier detection. // +optional ExpectedGroups *int64 `json:"expectedGroups,omitempty" tf:"expected_groups"` // The amount of time (in seconds) to wait before considering the signal expired. Must be in the range of 30 to 172800 (inclusive) // +optional ExpirationDuration *int64 `json:"expirationDuration,omitempty" tf:"expiration_duration"` // Which strategy to use when filling gaps in the signal. If static, the 'fill value' will be used for filling gaps in the signal. Valid values are: 'NONE', 'LAST_VALUE', or 'STATIC' (case insensitive). // +optional FillOption *string `json:"fillOption,omitempty" tf:"fill_option"` // If using the 'static' fill option, this value will be used for filling gaps in the signal. // +optional FillValue *float64 `json:"fillValue,omitempty" tf:"fill_value"` // Whether to look for a convergence of groups when using outlier detection. // +optional // Deprecated IgnoreOverlap *bool `json:"ignoreOverlap,omitempty" tf:"ignore_overlap"` // The title of the condition. Name *string `json:"name" tf:"name"` // A NRQL query. Nrql *AlertConditionSpecNrql `json:"nrql" tf:"nrql"` // Whether to create a new violation to capture that the signal expired. // +optional OpenViolationOnExpiration *bool `json:"openViolationOnExpiration,omitempty" tf:"open_violation_on_expiration"` // Whether overlapping groups should produce a violation. // +optional OpenViolationOnGroupOverlap *bool `json:"openViolationOnGroupOverlap,omitempty" tf:"open_violation_on_group_overlap"` // The ID of the policy where this condition should be used. PolicyID *int64 `json:"policyID" tf:"policy_id"` // Runbook URL to display in notifications. // +optional RunbookURL *string `json:"runbookURL,omitempty" tf:"runbook_url"` // The duration of overlapping timewindows used to smooth the chart line, in seconds. Must be a factor of `aggregation_window` and less than the aggregation window. It should be greater or equal to 30 seconds if `aggregation_window` is less than or equal to 3600 seconds, or greater or eqaul to `aggregation_window / 120` if `aggregation_window` is greater than 3600 seconds. // +optional SlideBy *int64 `json:"slideBy,omitempty" tf:"slide_by"` // A set of terms for this condition. Max 2 terms allowed - at least one 1 critical term and 1 optional warning term. // +optional // +kubebuilder:validation:MaxItems=2 // +kubebuilder:validation:MinItems=1 // Deprecated Term []AlertConditionSpecTerm `json:"term,omitempty" tf:"term"` // The type of NRQL alert condition to create. Valid values are: 'static', 'baseline', 'outlier' (deprecated). // +optional Type *string `json:"type,omitempty" tf:"type"` // Values are: 'single_value' (deprecated) or 'sum' (deprecated) // +optional // Deprecated ValueFunction *string `json:"valueFunction,omitempty" tf:"value_function"` // Sets a time limit, in hours, that will automatically force-close a long-lasting violation after the time limit you select. Possible values are 'ONE_HOUR', 'TWO_HOURS', 'FOUR_HOURS', 'EIGHT_HOURS', 'TWELVE_HOURS', 'TWENTY_FOUR_HOURS', 'THIRTY_DAYS' (case insensitive). // +optional // Deprecated ViolationTimeLimit *string `json:"violationTimeLimit,omitempty" tf:"violation_time_limit"` // Sets a time limit, in seconds, that will automatically force-close a long-lasting violation after the time limit you select. Must be in the range of 300 to 2592000 (inclusive) // +optional ViolationTimeLimitSeconds *int64 `json:"violationTimeLimitSeconds,omitempty" tf:"violation_time_limit_seconds"` // A condition term with priority set to warning. // +optional Warning *AlertConditionSpecWarning `json:"warning,omitempty" tf:"warning"` }
func (*AlertConditionSpecResource) DeepCopy ¶
func (in *AlertConditionSpecResource) DeepCopy() *AlertConditionSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertConditionSpecResource.
func (*AlertConditionSpecResource) DeepCopyInto ¶
func (in *AlertConditionSpecResource) DeepCopyInto(out *AlertConditionSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AlertConditionSpecTerm ¶
type AlertConditionSpecTerm struct { // In minutes, must be in the range of 1 to 120 (inclusive). // +optional // Deprecated Duration *int64 `json:"duration,omitempty" tf:"duration"` // One of (above, below, equals). Defaults to 'equals'. // +optional Operator *string `json:"operator,omitempty" tf:"operator"` // One of (critical, warning). Defaults to 'critical'. At least one condition term must have priority set to 'critical'. // +optional Priority *string `json:"priority,omitempty" tf:"priority"` // Must be 0 or greater. For baseline conditions must be in range [1, 1000]. Threshold *float64 `json:"threshold" tf:"threshold"` // The duration, in seconds, that the threshold must violate in order to create a violation. Value must be a multiple of the 'aggregation_window' (which has a default of 60 seconds). Value must be within 120-3600 seconds for baseline and outlier conditions, within 120-7200 seconds for static conditions with the sum value function, and within 60-7200 seconds for static conditions with the single_value value function. // +optional ThresholdDuration *int64 `json:"thresholdDuration,omitempty" tf:"threshold_duration"` // The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: 'ALL' or 'AT_LEAST_ONCE' (case insensitive). // +optional ThresholdOccurrences *string `json:"thresholdOccurrences,omitempty" tf:"threshold_occurrences"` // Valid values are: 'all' or 'any' // +optional // Deprecated TimeFunction *string `json:"timeFunction,omitempty" tf:"time_function"` }
func (*AlertConditionSpecTerm) DeepCopy ¶
func (in *AlertConditionSpecTerm) DeepCopy() *AlertConditionSpecTerm
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertConditionSpecTerm.
func (*AlertConditionSpecTerm) DeepCopyInto ¶
func (in *AlertConditionSpecTerm) DeepCopyInto(out *AlertConditionSpecTerm)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AlertConditionSpecWarning ¶
type AlertConditionSpecWarning struct { // In minutes, must be in the range of 1 to 120 (inclusive). // +optional // Deprecated Duration *int64 `json:"duration,omitempty" tf:"duration"` // One of (above, below, equals). Defaults to 'equals'. // +optional Operator *string `json:"operator,omitempty" tf:"operator"` // Must be 0 or greater. For baseline conditions must be in range [1, 1000]. Threshold *float64 `json:"threshold" tf:"threshold"` // The duration, in seconds, that the threshold must violate in order to create a violation. Value must be a multiple of the 'aggregation_window' (which has a default of 60 seconds). Value must be within 120-3600 seconds for baseline and outlier conditions, within 120-7200 seconds for static conditions with the sum value function, and within 60-7200 seconds for static conditions with the single_value value function. // +optional ThresholdDuration *int64 `json:"thresholdDuration,omitempty" tf:"threshold_duration"` // The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: 'ALL' or 'AT_LEAST_ONCE' (case insensitive). // +optional ThresholdOccurrences *string `json:"thresholdOccurrences,omitempty" tf:"threshold_occurrences"` // Valid values are: 'all' or 'any' // +optional // Deprecated TimeFunction *string `json:"timeFunction,omitempty" tf:"time_function"` }
func (*AlertConditionSpecWarning) DeepCopy ¶
func (in *AlertConditionSpecWarning) DeepCopy() *AlertConditionSpecWarning
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertConditionSpecWarning.
func (*AlertConditionSpecWarning) DeepCopyInto ¶
func (in *AlertConditionSpecWarning) DeepCopyInto(out *AlertConditionSpecWarning)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AlertConditionSpecWarningCodec ¶
type AlertConditionSpecWarningCodec struct { }
+k8s:deepcopy-gen=false
func (AlertConditionSpecWarningCodec) Decode ¶
func (AlertConditionSpecWarningCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
func (AlertConditionSpecWarningCodec) Encode ¶
func (AlertConditionSpecWarningCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)
func (AlertConditionSpecWarningCodec) IsEmpty ¶
func (AlertConditionSpecWarningCodec) IsEmpty(ptr unsafe.Pointer) bool
type AlertConditionStatus ¶
type AlertConditionStatus 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 (*AlertConditionStatus) DeepCopy ¶
func (in *AlertConditionStatus) DeepCopy() *AlertConditionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertConditionStatus.
func (*AlertConditionStatus) DeepCopyInto ¶
func (in *AlertConditionStatus) DeepCopyInto(out *AlertConditionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DropRule ¶
type DropRule struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DropRuleSpec `json:"spec,omitempty"` Status DropRuleStatus `json:"status,omitempty"` }
func (*DropRule) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DropRule.
func (*DropRule) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DropRule) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*DropRule) SetupWebhookWithManager ¶
func (*DropRule) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*DropRule) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type DropRuleList ¶
type DropRuleList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of DropRule CRD objects Items []DropRule `json:"items,omitempty"` }
DropRuleList is a list of DropRules
func (*DropRuleList) DeepCopy ¶
func (in *DropRuleList) DeepCopy() *DropRuleList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DropRuleList.
func (*DropRuleList) DeepCopyInto ¶
func (in *DropRuleList) DeepCopyInto(out *DropRuleList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DropRuleList) DeepCopyObject ¶
func (in *DropRuleList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DropRuleSpec ¶
type DropRuleSpec struct { State *DropRuleSpecResource `json:"state,omitempty" tf:"-"` Resource DropRuleSpecResource `json:"resource" tf:"resource"` UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"` TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"` ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"` BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"` }
func (*DropRuleSpec) DeepCopy ¶
func (in *DropRuleSpec) DeepCopy() *DropRuleSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DropRuleSpec.
func (*DropRuleSpec) DeepCopyInto ¶
func (in *DropRuleSpec) DeepCopyInto(out *DropRuleSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DropRuleSpecResource ¶
type DropRuleSpecResource struct { ID string `json:"id,omitempty" tf:"id,omitempty"` // Account with the NRQL drop rule will be put. // +optional AccountID *int64 `json:"accountID,omitempty" tf:"account_id"` // The drop rule action (drop_data, drop_attributes, or drop_attributes_from_metric_aggregates). Action *string `json:"action" tf:"action"` // Provides additional information about the rule. // +optional Description *string `json:"description,omitempty" tf:"description"` // Explains which data to apply the drop rule to. Nrql *string `json:"nrql" tf:"nrql"` // The id, uniquely identifying the rule. // +optional RuleID *string `json:"ruleID,omitempty" tf:"rule_id"` }
func (*DropRuleSpecResource) DeepCopy ¶
func (in *DropRuleSpecResource) DeepCopy() *DropRuleSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DropRuleSpecResource.
func (*DropRuleSpecResource) DeepCopyInto ¶
func (in *DropRuleSpecResource) DeepCopyInto(out *DropRuleSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DropRuleStatus ¶
type DropRuleStatus 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 (*DropRuleStatus) DeepCopy ¶
func (in *DropRuleStatus) DeepCopy() *DropRuleStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DropRuleStatus.
func (*DropRuleStatus) DeepCopyInto ¶
func (in *DropRuleStatus) DeepCopyInto(out *DropRuleStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.