Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the coralogix v1alpha1 API group +kubebuilder:object:generate=true +groupName=coralogix.coralogix
Index ¶
- Constants
- Variables
- func DeepEqualNotificationGroups(notificationGroups []NotificationGroup, ...) (bool, utils.Diff)
- func DeepEqualRecordingRules(desiredRules, actualRule []RecordingRule) (bool, utils.Diff)
- func DeepEqualTimeFrames(timeframe, actualTimeframe *alerts.AlertActiveTimeframe) (bool, utils.Diff)
- func DeepEqualTimeRanges(timeRange, actualTimeRange *alerts.TimeRange) (bool, utils.Diff)
- func DeepEqualTimes(time, actualTime *alerts.Time) (bool, utils.Diff)
- func ExtractUTC(timeZone TimeZone) int32
- type Alert
- type AlertList
- type AlertSeverity
- type AlertSpec
- func (in *AlertSpec) DeepCopy() *AlertSpec
- func (in *AlertSpec) DeepCopyInto(out *AlertSpec)
- func (in *AlertSpec) DeepEqual(actualAlert *AlertStatus) (bool, utils.Diff)
- func (in *AlertSpec) ExtractCreateAlertRequest() (*alerts.CreateAlertRequest, error)
- func (in *AlertSpec) ExtractUpdateAlertRequest(id string) (*alerts.UpdateAlertByUniqueIdRequest, error)
- type AlertStatus
- type AlertType
- type AlertWhen
- type ArithmeticOperator
- type AutoRetireRatio
- type Block
- type Day
- type DestinationField
- type ExpirationDate
- type Extract
- type ExtractTimestamp
- type FieldFilterType
- type FieldFormatStandard
- type FilterOperator
- type Filters
- type FiltersLogSeverity
- type Flow
- type FlowOperator
- type FlowStage
- type FlowStageGroup
- type FlowStageTimeFrame
- type GroupByFor
- type InnerFlowAlert
- type InnerFlowAlerts
- type JsonExtract
- type JsonStringify
- type Lucene
- type LuceneConditions
- type ManageUndetectedValues
- type Metric
- type MetricTimeWindow
- type NewValue
- type NewValueConditions
- type NewValueTimeWindow
- type Notification
- type NotificationGroup
- type NotifyOn
- type Parse
- type ParseJsonField
- type Promql
- type PromqlConditions
- type ProtoTimeFrameAndRelativeTimeFrame
- type Ratio
- type RatioConditions
- type RatioQ2Filters
- type Recipients
- type RecordingRule
- type RecordingRuleGroup
- type RecordingRuleGroupSet
- type RecordingRuleGroupSetList
- type RecordingRuleGroupSetSpec
- func (in *RecordingRuleGroupSetSpec) DeepCopy() *RecordingRuleGroupSetSpec
- func (in *RecordingRuleGroupSetSpec) DeepCopyInto(out *RecordingRuleGroupSetSpec)
- func (in *RecordingRuleGroupSetSpec) DeepEqual(status RecordingRuleGroupSetStatus) (bool, utils.Diff)
- func (in *RecordingRuleGroupSetSpec) ExtractRecordingRuleGroups() []*rrg.InRuleGroup
- type RecordingRuleGroupSetStatus
- type RelativeTimeWindow
- type RemoveFields
- type Replace
- type Rule
- type RuleGroup
- type RuleGroupList
- type RuleGroupSpec
- func (in *RuleGroupSpec) DeepCopy() *RuleGroupSpec
- func (in *RuleGroupSpec) DeepCopyInto(out *RuleGroupSpec)
- func (in *RuleGroupSpec) DeepEqual(actualRuleGroup RuleGroupStatus) (bool, utils.Diff)
- func (in *RuleGroupSpec) ExtractCreateRuleGroupRequest() *rulesgroups.CreateRuleGroupRequest
- func (in *RuleGroupSpec) ExtractUpdateRuleGroupRequest(id string) *rulesgroups.UpdateRuleGroupRequest
- func (in *RuleGroupSpec) ToString() string
- type RuleGroupStatus
- type RuleSeverity
- type RuleSubGroup
- type Scheduling
- type ShowInInsight
- type Standard
- type StandardAlertWhen
- type StandardConditions
- type TagFilter
- type Time
- type TimeRelative
- type TimeRelativeConditions
- type TimeWindow
- type TimeZone
- type Tracing
- type TracingAlertWhen
- type TracingCondition
- type TracingFilters
- type UniqueCount
- type UniqueCountConditions
- type UniqueValueTimeWindow
Constants ¶
const ( NotifyOnTriggeredOnly = "TriggeredOnly" NotifyOnTriggeredAndResolved = "TriggeredAndResolved" )
const ( FilterOperatorEquals = "Equals" FilterOperatorContains = "Contains" FilterOperatorStartWith = "StartWith" FilterOperatorEndWith = "EndWith" )
const ( FieldFilterTypeApplication = "Application" FieldFilterTypeSubsystem = "Subsystem" FieldFilterTypeService = "Service" )
Variables ¶
var ( AlertSchemaSeverityToProtoSeverity = map[AlertSeverity]alerts.AlertSeverity{ AlertSeverityInfo: alerts.AlertSeverity_ALERT_SEVERITY_INFO_OR_UNSPECIFIED, AlertSeverityWarning: alerts.AlertSeverity_ALERT_SEVERITY_WARNING, AlertSeverityCritical: alerts.AlertSeverity_ALERT_SEVERITY_CRITICAL, AlertSeverityError: alerts.AlertSeverity_ALERT_SEVERITY_ERROR, } AlertSchemaDayToProtoDay = map[Day]alerts.DayOfWeek{ Sunday: alerts.DayOfWeek_DAY_OF_WEEK_SUNDAY, Monday: alerts.DayOfWeek_DAY_OF_WEEK_MONDAY_OR_UNSPECIFIED, Tuesday: alerts.DayOfWeek_DAY_OF_WEEK_TUESDAY, Wednesday: alerts.DayOfWeek_DAY_OF_WEEK_WEDNESDAY, Thursday: alerts.DayOfWeek_DAY_OF_WEEK_THURSDAY, Friday: alerts.DayOfWeek_DAY_OF_WEEK_FRIDAY, Saturday: alerts.DayOfWeek_DAY_OF_WEEK_SATURDAY, } AlertSchemaTimeWindowToProtoTimeWindow = map[string]alerts.Timeframe{ "Minute": alerts.Timeframe_TIMEFRAME_1_MIN, "FiveMinutes": alerts.Timeframe_TIMEFRAME_5_MIN_OR_UNSPECIFIED, "TenMinutes": alerts.Timeframe_TIMEFRAME_10_MIN, "FifteenMinutes": alerts.Timeframe_TIMEFRAME_15_MIN, "TwentyMinutes": alerts.Timeframe_TIMEFRAME_20_MIN, "ThirtyMinutes": alerts.Timeframe_TIMEFRAME_30_MIN, "Hour": alerts.Timeframe_TIMEFRAME_1_H, "TwoHours": alerts.Timeframe_TIMEFRAME_2_H, "FourHours": alerts.Timeframe_TIMEFRAME_4_H, "SixHours": alerts.Timeframe_TIMEFRAME_6_H, "TwelveHours": alerts.Timeframe_TIMEFRAME_12_H, "TwentyFourHours": alerts.Timeframe_TIMEFRAME_24_H, "ThirtySixHours": alerts.Timeframe_TIMEFRAME_36_H, } AlertSchemaAutoRetireRatioToProtoAutoRetireRatio = map[AutoRetireRatio]alerts.CleanupDeadmanDuration{ AutoRetireRatioNever: alerts.CleanupDeadmanDuration_CLEANUP_DEADMAN_DURATION_NEVER_OR_UNSPECIFIED, AutoRetireRatioFiveMinutes: alerts.CleanupDeadmanDuration_CLEANUP_DEADMAN_DURATION_5MIN, AutoRetireRatioTenMinutes: alerts.CleanupDeadmanDuration_CLEANUP_DEADMAN_DURATION_10MIN, AutoRetireRatioHour: alerts.CleanupDeadmanDuration_CLEANUP_DEADMAN_DURATION_1H, AutoRetireRatioTwoHours: alerts.CleanupDeadmanDuration_CLEANUP_DEADMAN_DURATION_2H, AutoRetireRatioSixHours: alerts.CleanupDeadmanDuration_CLEANUP_DEADMAN_DURATION_6H, AutoRetireRatioTwelveHours: alerts.CleanupDeadmanDuration_CLEANUP_DEADMAN_DURATION_12H, AutoRetireRatioTwentyFourHours: alerts.CleanupDeadmanDuration_CLEANUP_DEADMAN_DURATION_24H, } AlertSchemaFiltersLogSeverityToProtoFiltersLogSeverity = map[FiltersLogSeverity]alerts.AlertFilters_LogSeverity{ FiltersLogSeverityDebug: alerts.AlertFilters_LOG_SEVERITY_DEBUG_OR_UNSPECIFIED, FiltersLogSeverityVerbose: alerts.AlertFilters_LOG_SEVERITY_VERBOSE, FiltersLogSeverityInfo: alerts.AlertFilters_LOG_SEVERITY_INFO, FiltersLogSeverityWarning: alerts.AlertFilters_LOG_SEVERITY_WARNING, FiltersLogSeverityCritical: alerts.AlertFilters_LOG_SEVERITY_CRITICAL, FiltersLogSeverityError: alerts.AlertFilters_LOG_SEVERITY_ERROR, } AlertSchemaRelativeTimeFrameToProtoTimeFrameAndRelativeTimeFrame = map[RelativeTimeWindow]ProtoTimeFrameAndRelativeTimeFrame{ RelativeTimeWindowPreviousHour: {TimeFrame: alerts.Timeframe_TIMEFRAME_1_H, RelativeTimeFrame: alerts.RelativeTimeframe_RELATIVE_TIMEFRAME_HOUR_OR_UNSPECIFIED}, RelativeTimeWindowSameHourYesterday: {TimeFrame: alerts.Timeframe_TIMEFRAME_1_H, RelativeTimeFrame: alerts.RelativeTimeframe_RELATIVE_TIMEFRAME_DAY}, RelativeTimeWindowSameHourLastWeek: {TimeFrame: alerts.Timeframe_TIMEFRAME_1_H, RelativeTimeFrame: alerts.RelativeTimeframe_RELATIVE_TIMEFRAME_WEEK}, RelativeTimeWindowYesterday: {TimeFrame: alerts.Timeframe_TIMEFRAME_24_H, RelativeTimeFrame: alerts.RelativeTimeframe_RELATIVE_TIMEFRAME_DAY}, RelativeTimeWindowSameDayLastWeek: {TimeFrame: alerts.Timeframe_TIMEFRAME_24_H, RelativeTimeFrame: alerts.RelativeTimeframe_RELATIVE_TIMEFRAME_WEEK}, RelativeTimeWindowSameDayLastMonth: {TimeFrame: alerts.Timeframe_TIMEFRAME_24_H, RelativeTimeFrame: alerts.RelativeTimeframe_RELATIVE_TIMEFRAME_MONTH}, } AlertSchemaArithmeticOperatorToProtoArithmeticOperator = map[ArithmeticOperator]alerts.MetricAlertConditionParameters_ArithmeticOperator{ ArithmeticOperatorAvg: alerts.MetricAlertConditionParameters_ARITHMETIC_OPERATOR_AVG_OR_UNSPECIFIED, ArithmeticOperatorMin: alerts.MetricAlertConditionParameters_ARITHMETIC_OPERATOR_MIN, ArithmeticOperatorMax: alerts.MetricAlertConditionParameters_ARITHMETIC_OPERATOR_MAX, ArithmeticOperatorSum: alerts.MetricAlertConditionParameters_ARITHMETIC_OPERATOR_SUM, ArithmeticOperatorCount: alerts.MetricAlertConditionParameters_ARITHMETIC_OPERATOR_COUNT, ArithmeticOperatorPercentile: alerts.MetricAlertConditionParameters_ARITHMETIC_OPERATOR_PERCENTILE, } AlertSchemaFlowOperatorToProtoFlowOperator = map[FlowOperator]alerts.FlowOperator{ "And": alerts.FlowOperator_AND, "Or": alerts.FlowOperator_OR, } AlertSchemaNotifyOnToProtoNotifyOn = map[NotifyOn]alerts.NotifyOn{ NotifyOnTriggeredOnly: alerts.NotifyOn_TRIGGERED_ONLY, NotifyOnTriggeredAndResolved: alerts.NotifyOn_TRIGGERED_AND_RESOLVED, } )
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "coralogix.coralogix", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
var ( RulesSchemaSeverityToProtoSeverity = map[RuleSeverity]rulesgroups.SeverityConstraint_Value{ RuleSeverityDebug: rulesgroups.SeverityConstraint_VALUE_DEBUG_OR_UNSPECIFIED, RuleSeverityVerbose: rulesgroups.SeverityConstraint_VALUE_VERBOSE, RuleSeverityInfo: rulesgroups.SeverityConstraint_VALUE_INFO, RuleSeverityWarning: rulesgroups.SeverityConstraint_VALUE_WARNING, RuleSeverityError: rulesgroups.SeverityConstraint_VALUE_ERROR, RuleSeverityCritical: rulesgroups.SeverityConstraint_VALUE_CRITICAL, } RulesProtoSeverityToSchemaSeverity = utils.ReverseMap(RulesSchemaSeverityToProtoSeverity) RulesSchemaDestinationFieldToProtoSeverityDestinationField = map[DestinationField]rulesgroups.JsonExtractParameters_DestinationField{ DestinationFieldCategory: rulesgroups.JsonExtractParameters_DESTINATION_FIELD_CATEGORY_OR_UNSPECIFIED, DestinationFieldClassName: rulesgroups.JsonExtractParameters_DESTINATION_FIELD_CLASSNAME, DestinationFieldMethod: rulesgroups.JsonExtractParameters_DESTINATION_FIELD_METHODNAME, DestinationFieldThreadID: rulesgroups.JsonExtractParameters_DESTINATION_FIELD_THREADID, DestinationFieldRuleSeverity: rulesgroups.JsonExtractParameters_DESTINATION_FIELD_SEVERITY, } RulesProtoSeverityDestinationFieldToSchemaDestinationField = utils.ReverseMap(RulesSchemaDestinationFieldToProtoSeverityDestinationField) RulesSchemaFormatStandardToProtoFormatStandard = map[FieldFormatStandard]rulesgroups.ExtractTimestampParameters_FormatStandard{ FieldFormatStandardStrftime: rulesgroups.ExtractTimestampParameters_FORMAT_STANDARD_STRFTIME_OR_UNSPECIFIED, FieldFormatStandardJavaSDF: rulesgroups.ExtractTimestampParameters_FORMAT_STANDARD_JAVASDF, FieldFormatStandardGolang: rulesgroups.ExtractTimestampParameters_FORMAT_STANDARD_GOLANG, FieldFormatStandardSecondTS: rulesgroups.ExtractTimestampParameters_FORMAT_STANDARD_SECONDSTS, FieldFormatStandardMilliTS: rulesgroups.ExtractTimestampParameters_FORMAT_STANDARD_MILLITS, FieldFormatStandardMicroTS: rulesgroups.ExtractTimestampParameters_FORMAT_STANDARD_MICROTS, FieldFormatStandardNanoTS: rulesgroups.ExtractTimestampParameters_FORMAT_STANDARD_NANOTS, } RulesProtoFormatStandardToSchemaFormatStandard = utils.ReverseMap(RulesSchemaFormatStandardToProtoFormatStandard) )
Functions ¶
func DeepEqualNotificationGroups ¶
func DeepEqualNotificationGroups(notificationGroups []NotificationGroup, actualNotificationGroups []NotificationGroup) (bool, utils.Diff)
func DeepEqualRecordingRules ¶
func DeepEqualRecordingRules(desiredRules, actualRule []RecordingRule) (bool, utils.Diff)
func DeepEqualTimeFrames ¶
func DeepEqualTimeFrames(timeframe, actualTimeframe *alerts.AlertActiveTimeframe) (bool, utils.Diff)
func DeepEqualTimeRanges ¶
func ExtractUTC ¶
Types ¶
type Alert ¶
type Alert struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec AlertSpec `json:"spec,omitempty"` Status AlertStatus `json:"status,omitempty"` }
Alert is the Schema for the alerts API
func (*Alert) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Alert.
func (*Alert) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Alert) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AlertList ¶
type AlertList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Alert `json:"items"` }
AlertList contains a list of Alert
func (*AlertList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertList.
func (*AlertList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AlertList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AlertSeverity ¶
type AlertSeverity string
+kubebuilder:validation:Enum=Info;Warning;Critical;Error
const ( AlertSeverityInfo AlertSeverity = "Info" AlertSeverityWarning AlertSeverity = "Warning" AlertSeverityCritical AlertSeverity = "Critical" AlertSeverityError AlertSeverity = "Error" )
type AlertSpec ¶
type AlertSpec struct { //+kubebuilder:validation:MinLength=0 Name string `json:"name"` // +optional Description string `json:"description,omitempty"` //+kubebuilder:default=true Active bool `json:"active,omitempty"` Severity AlertSeverity `json:"severity"` // +optional Labels map[string]string `json:"labels,omitempty"` // +optional ExpirationDate *ExpirationDate `json:"expirationDate,omitempty"` // +optional NotificationGroups []NotificationGroup `json:"notificationGroups,omitempty"` // +optional ShowInInsight *ShowInInsight `json:"showInInsight,omitempty"` // +optional PayloadFilters []string `json:"payloadFilters,omitempty"` // +optional Scheduling *Scheduling `json:"scheduling,omitempty"` AlertType AlertType `json:"alertType"` }
AlertSpec defines the desired state of Alert
func (*AlertSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertSpec.
func (*AlertSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AlertSpec) DeepEqual ¶
func (in *AlertSpec) DeepEqual(actualAlert *AlertStatus) (bool, utils.Diff)
func (*AlertSpec) ExtractCreateAlertRequest ¶
func (in *AlertSpec) ExtractCreateAlertRequest() (*alerts.CreateAlertRequest, error)
func (*AlertSpec) ExtractUpdateAlertRequest ¶
func (in *AlertSpec) ExtractUpdateAlertRequest(id string) (*alerts.UpdateAlertByUniqueIdRequest, error)
type AlertStatus ¶
type AlertStatus struct { ID *string `json:"id"` Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` Active bool `json:"active,omitempty"` Severity AlertSeverity `json:"severity,omitempty"` Labels map[string]string `json:"labels,omitempty"` ExpirationDate *ExpirationDate `json:"expirationDate,omitempty"` ShowInInsight *ShowInInsight `json:"showInInsight,omitempty"` NotificationGroups []NotificationGroup `json:"notificationGroups,omitempty"` PayloadFilters []string `json:"payloadFilters,omitempty"` Scheduling *Scheduling `json:"scheduling,omitempty"` AlertType AlertType `json:"alertType,omitempty"` }
AlertStatus defines the observed state of Alert
func (*AlertStatus) DeepCopy ¶
func (in *AlertStatus) DeepCopy() *AlertStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertStatus.
func (*AlertStatus) DeepCopyInto ¶
func (in *AlertStatus) DeepCopyInto(out *AlertStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AlertType ¶
type AlertType struct { // +optional Standard *Standard `json:"standard,omitempty"` // +optional Ratio *Ratio `json:"ratio,omitempty"` // +optional NewValue *NewValue `json:"newValue,omitempty"` // +optional UniqueCount *UniqueCount `json:"uniqueCount,omitempty"` // +optional TimeRelative *TimeRelative `json:"timeRelative,omitempty"` // +optional Metric *Metric `json:"metric,omitempty"` // +optional Tracing *Tracing `json:"tracing,omitempty"` // +optional Flow *Flow `json:"flow,omitempty"` }
func (*AlertType) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertType.
func (*AlertType) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ArithmeticOperator ¶
type ArithmeticOperator string
+kubebuilder:validation:Enum=Avg;Min;Max;Sum;Count;Percentile;
const ( ArithmeticOperatorAvg ArithmeticOperator = "Avg" ArithmeticOperatorMin ArithmeticOperator = "Min" ArithmeticOperatorMax ArithmeticOperator = "Max" ArithmeticOperatorSum ArithmeticOperator = "Sum" ArithmeticOperatorCount ArithmeticOperator = "Count" ArithmeticOperatorPercentile ArithmeticOperator = "Percentile" )
type AutoRetireRatio ¶
type AutoRetireRatio string
+kubebuilder:validation:Enum=Never;FiveMinutes;TenMinutes;Hour;TwoHours;SixHours;TwelveHours;TwentyFourHours
const ( AutoRetireRatioNever AutoRetireRatio = "Never" AutoRetireRatioFiveMinutes AutoRetireRatio = "FiveMinutes" AutoRetireRatioTenMinutes AutoRetireRatio = "TenMinutes" AutoRetireRatioHour AutoRetireRatio = "Hour" AutoRetireRatioTwoHours AutoRetireRatio = "TwoHours" AutoRetireRatioSixHours AutoRetireRatio = "SixHours" AutoRetireRatioTwelveHours AutoRetireRatio = "TwelveHours" AutoRetireRatioTwentyFourHours AutoRetireRatio = "TwentyFourHours" )
type Block ¶
type Block struct { SourceField string `json:"sourceField"` Regex string `json:"regex"` //+kubebuilder:default=false KeepBlockedLogs bool `json:"keepBlockedLogs,omitempty"` //+kubebuilder:default=true BlockingAllMatchingBlocks bool `json:"blockingAllMatchingBlocks,omitempty"` }
func (*Block) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Block.
func (*Block) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Day ¶
type Day string
+kubebuilder:validation:Enum=Sunday;Monday;Tuesday;Wednesday;Thursday;Friday;Saturday;
type DestinationField ¶
type DestinationField string
+kubebuilder:validation:Enum=Category;CLASSNAME;METHODNAME;THREADID;SEVERITY
const ( DestinationFieldCategory DestinationField = "Category" DestinationFieldClassName DestinationField = "CLASSNAME" DestinationFieldMethod DestinationField = "METHODNAME" DestinationFieldThreadID DestinationField = "THREADID" DestinationFieldRuleSeverity DestinationField = "SEVERITY" )
type ExpirationDate ¶
type ExpirationDate struct { // +kubebuilder:validation:Minimum:=1 // +kubebuilder:validation:Maximum:=31 Day int32 `json:"day,omitempty"` // +kubebuilder:validation:Minimum:=1 // +kubebuilder:validation:Maximum:=12 Month int32 `json:"month,omitempty"` // +kubebuilder:validation:Minimum:=1 // +kubebuilder:validation:Maximum:=9999 Year int32 `json:"year,omitempty"` }
func (*ExpirationDate) DeepCopy ¶
func (in *ExpirationDate) DeepCopy() *ExpirationDate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExpirationDate.
func (*ExpirationDate) DeepCopyInto ¶
func (in *ExpirationDate) DeepCopyInto(out *ExpirationDate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Extract ¶
func (*Extract) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Extract.
func (*Extract) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExtractTimestamp ¶
type ExtractTimestamp struct { SourceField string `json:"sourceField"` FieldFormatStandard FieldFormatStandard `json:"fieldFormatStandard"` TimeFormat string `json:"timeFormat"` }
func (*ExtractTimestamp) DeepCopy ¶
func (in *ExtractTimestamp) DeepCopy() *ExtractTimestamp
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtractTimestamp.
func (*ExtractTimestamp) DeepCopyInto ¶
func (in *ExtractTimestamp) DeepCopyInto(out *ExtractTimestamp)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ExtractTimestamp) DeepEqual ¶
func (in *ExtractTimestamp) DeepEqual(extractTimestamp ExtractTimestamp) (bool, utils.Diff)
type FieldFilterType ¶
type FieldFilterType string
+kubebuilder:validation:Enum=Application;Subsystem;Service;
type FieldFormatStandard ¶
type FieldFormatStandard string
+kubebuilder:validation:Enum=Strftime;JavaSDF;Golang;SecondTS;MilliTS;MicroTS;NanoTS
const ( FieldFormatStandardStrftime FieldFormatStandard = "Strftime" FieldFormatStandardJavaSDF FieldFormatStandard = "JavaSDF" FieldFormatStandardGolang FieldFormatStandard = "Golang" FieldFormatStandardSecondTS FieldFormatStandard = "SecondTS" FieldFormatStandardMilliTS FieldFormatStandard = "MilliTS" FieldFormatStandardMicroTS FieldFormatStandard = "MicroTS" FieldFormatStandardNanoTS FieldFormatStandard = "NanoTS" )
type FilterOperator ¶
type FilterOperator string
+kubebuilder:validation:Enum=Equals;Contains;StartWith;EndWith;
type Filters ¶
type Filters struct { // +optional SearchQuery *string `json:"searchQuery,omitempty"` // +optional Severities []FiltersLogSeverity `json:"severities,omitempty"` // +optional Applications []string `json:"applications,omitempty"` // +optional Subsystems []string `json:"subsystems,omitempty"` // +optional Categories []string `json:"categories,omitempty"` // +optional Computers []string `json:"computers,omitempty"` // +optional Classes []string `json:"classes,omitempty"` // +optional Methods []string `json:"methods,omitempty"` // +optional IPs []string `json:"ips,omitempty"` // +optional Alias *string `json:"alias,omitempty"` }
func (*Filters) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Filters.
func (*Filters) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FiltersLogSeverity ¶
type FiltersLogSeverity string
+kubebuilder:validation:Enum=Debug;Verbose;Info;Warning;Critical;Error;
const ( FiltersLogSeverityDebug FiltersLogSeverity = "Debug" FiltersLogSeverityVerbose FiltersLogSeverity = "Verbose" FiltersLogSeverityInfo FiltersLogSeverity = "Info" FiltersLogSeverityWarning FiltersLogSeverity = "Warning" FiltersLogSeverityCritical FiltersLogSeverity = "Critical" FiltersLogSeverityError FiltersLogSeverity = "Error" )
type Flow ¶
type Flow struct {
Stages []FlowStage `json:"stages"`
}
func (*Flow) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Flow.
func (*Flow) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FlowStage ¶
type FlowStage struct { // +optional TimeWindow *FlowStageTimeFrame `json:"timeWindow,omitempty"` Groups []FlowStageGroup `json:"groups"` }
func (*FlowStage) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlowStage.
func (*FlowStage) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FlowStageGroup ¶
type FlowStageGroup struct { InnerFlowAlerts InnerFlowAlerts `json:"innerFlowAlerts"` NextOperator FlowOperator `json:"nextOperator"` }
func (*FlowStageGroup) DeepCopy ¶
func (in *FlowStageGroup) DeepCopy() *FlowStageGroup
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlowStageGroup.
func (*FlowStageGroup) DeepCopyInto ¶
func (in *FlowStageGroup) DeepCopyInto(out *FlowStageGroup)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FlowStageGroup) DeepEqual ¶
func (in *FlowStageGroup) DeepEqual(actualGroup FlowStageGroup) (bool, utils.Diff)
type FlowStageTimeFrame ¶
type FlowStageTimeFrame struct { // +optional Hours int `json:"hours,omitempty"` // +optional Minutes int `json:"minutes,omitempty"` // +optional Seconds int `json:"seconds,omitempty"` }
func (*FlowStageTimeFrame) DeepCopy ¶
func (in *FlowStageTimeFrame) DeepCopy() *FlowStageTimeFrame
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlowStageTimeFrame.
func (*FlowStageTimeFrame) DeepCopyInto ¶
func (in *FlowStageTimeFrame) DeepCopyInto(out *FlowStageTimeFrame)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GroupByFor ¶
type GroupByFor string
+kubebuilder:validation:Enum=Q1;Q2;Both
const ( GroupByForQ1 GroupByFor = "Q1" GroupByForQ2 GroupByFor = "Q2" GroupByForBoth GroupByFor = "Both" )
type InnerFlowAlert ¶
type InnerFlowAlert struct { // +kubebuilder:default=false Not bool `json:"not,omitempty"` // +optional UserAlertId string `json:"userAlertId,omitempty"` }
func (*InnerFlowAlert) DeepCopy ¶
func (in *InnerFlowAlert) DeepCopy() *InnerFlowAlert
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InnerFlowAlert.
func (*InnerFlowAlert) DeepCopyInto ¶
func (in *InnerFlowAlert) DeepCopyInto(out *InnerFlowAlert)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InnerFlowAlert) DeepEqual ¶
func (in *InnerFlowAlert) DeepEqual(actualInnerFlowAlert InnerFlowAlert) (bool, utils.Diff)
type InnerFlowAlerts ¶
type InnerFlowAlerts struct { Operator FlowOperator `json:"operator"` Alerts []InnerFlowAlert `json:"alerts"` }
func (*InnerFlowAlerts) DeepCopy ¶
func (in *InnerFlowAlerts) DeepCopy() *InnerFlowAlerts
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InnerFlowAlerts.
func (*InnerFlowAlerts) DeepCopyInto ¶
func (in *InnerFlowAlerts) DeepCopyInto(out *InnerFlowAlerts)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InnerFlowAlerts) DeepEqual ¶
func (in *InnerFlowAlerts) DeepEqual(actualInnerFlowAlerts InnerFlowAlerts) (bool, utils.Diff)
type JsonExtract ¶
type JsonExtract struct { DestinationField DestinationField `json:"destinationField"` JsonKey string `json:"jsonKey"` }
func (*JsonExtract) DeepCopy ¶
func (in *JsonExtract) DeepCopy() *JsonExtract
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JsonExtract.
func (*JsonExtract) DeepCopyInto ¶
func (in *JsonExtract) DeepCopyInto(out *JsonExtract)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*JsonExtract) DeepEqual ¶
func (in *JsonExtract) DeepEqual(jsonExtract JsonExtract) (bool, utils.Diff)
type JsonStringify ¶
type JsonStringify struct { SourceField string `json:"sourceField"` DestinationField string `json:"destinationField"` //+kubebuilder:default=false KeepSourceField bool `json:"keepSourceField,omitempty"` }
func (*JsonStringify) DeepCopy ¶
func (in *JsonStringify) DeepCopy() *JsonStringify
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JsonStringify.
func (*JsonStringify) DeepCopyInto ¶
func (in *JsonStringify) DeepCopyInto(out *JsonStringify)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*JsonStringify) DeepEqual ¶
func (in *JsonStringify) DeepEqual(jsonStringify JsonStringify) (bool, utils.Diff)
type Lucene ¶
type Lucene struct { // +optional SearchQuery *string `json:"searchQuery,omitempty"` Conditions LuceneConditions `json:"conditions"` }
func (*Lucene) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Lucene.
func (*Lucene) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LuceneConditions ¶
type LuceneConditions struct { MetricField string `json:"metricField"` ArithmeticOperator ArithmeticOperator `json:"arithmeticOperator"` // +optional ArithmeticOperatorModifier *int `json:"arithmeticOperatorModifier,omitempty"` AlertWhen AlertWhen `json:"alertWhen"` Threshold resource.Quantity `json:"threshold"` // +kubebuilder:validation:Minimum=0 // +kubebuilder:validation:MultipleOf:=10 SampleThresholdPercentage int `json:"sampleThresholdPercentage,omitempty"` TimeWindow MetricTimeWindow `json:"timeWindow"` // +optional GroupBy []string `json:"groupBy,omitempty"` //+kubebuilder:default=false ReplaceMissingValueWithZero bool `json:"replaceMissingValueWithZero,omitempty"` // +kubebuilder:validation:Minimum:=0 // +kubebuilder:validation:MultipleOf:=10 MinNonNullValuesPercentage int `json:"minNonNullValuesPercentage,omitempty"` // +optional ManageUndetectedValues *ManageUndetectedValues `json:"manageUndetectedValues,omitempty"` }
func (*LuceneConditions) DeepCopy ¶
func (in *LuceneConditions) DeepCopy() *LuceneConditions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LuceneConditions.
func (*LuceneConditions) DeepCopyInto ¶
func (in *LuceneConditions) DeepCopyInto(out *LuceneConditions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LuceneConditions) DeepEqual ¶
func (in *LuceneConditions) DeepEqual(actualCondition LuceneConditions) (bool, utils.Diff)
type ManageUndetectedValues ¶
type ManageUndetectedValues struct { //+kubebuilder:default=true EnableTriggeringOnUndetectedValues bool `json:"enableTriggeringOnUndetectedValues,omitempty"` //+kubebuilder:default=Never AutoRetireRatio *AutoRetireRatio `json:"autoRetireRatio,omitempty"` }
func (*ManageUndetectedValues) DeepCopy ¶
func (in *ManageUndetectedValues) DeepCopy() *ManageUndetectedValues
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManageUndetectedValues.
func (*ManageUndetectedValues) DeepCopyInto ¶
func (in *ManageUndetectedValues) DeepCopyInto(out *ManageUndetectedValues)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ManageUndetectedValues) DeepEqual ¶
func (in *ManageUndetectedValues) DeepEqual(actualManageUndetectedValues *ManageUndetectedValues) (bool, utils.Diff)
type Metric ¶
type Metric struct { // +optional Lucene *Lucene `json:"lucene,omitempty"` // +optional Promql *Promql `json:"promql,omitempty"` }
func (*Metric) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Metric.
func (*Metric) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MetricTimeWindow ¶
type MetricTimeWindow string
+kubebuilder:validation:Enum=Minute;FiveMinutes;TenMinutes;FifteenMinutes;TwentyMinutes;ThirtyMinutes;Hour;TwoHours;FourHours;SixHours;TwelveHours;TwentyFourHours
type NewValue ¶
type NewValue struct { // +optional Filters *Filters `json:"filters,omitempty"` Conditions NewValueConditions `json:"conditions"` }
func (*NewValue) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NewValue.
func (*NewValue) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NewValueConditions ¶
type NewValueConditions struct { Key string `json:"key"` TimeWindow NewValueTimeWindow `json:"timeWindow"` }
func (*NewValueConditions) DeepCopy ¶
func (in *NewValueConditions) DeepCopy() *NewValueConditions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NewValueConditions.
func (*NewValueConditions) DeepCopyInto ¶
func (in *NewValueConditions) DeepCopyInto(out *NewValueConditions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NewValueConditions) DeepEqual ¶
func (in *NewValueConditions) DeepEqual(actualConditions NewValueConditions) (bool, utils.Diff)
type NewValueTimeWindow ¶
type NewValueTimeWindow string
+kubebuilder:validation:Enum=TwelveHours;TwentyFourHours;FortyEightHours;SeventTwoHours;Week;Month;TwoMonths;ThreeMonths;
type Notification ¶
type Notification struct { RetriggeringPeriodMinutes int32 `json:"retriggeringPeriodMinutes,omitempty"` NotifyOn NotifyOn `json:"notifyOn,omitempty"` // +optional IntegrationID *int32 `json:"integrationID,omitempty"` // +optional EmailRecipients []string `json:"emailRecipients,omitempty"` }
func (*Notification) DeepCopy ¶
func (in *Notification) DeepCopy() *Notification
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Notification.
func (*Notification) DeepCopyInto ¶
func (in *Notification) DeepCopyInto(out *Notification)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Notification) DeepEqual ¶
func (in *Notification) DeepEqual(actualNotification Notification) (bool, utils.Diff)
type NotificationGroup ¶
type NotificationGroup struct { // +optional GroupByFields []string `json:"groupByFields,omitempty"` Notifications []Notification `json:"notifications,omitempty"` }
func (*NotificationGroup) DeepCopy ¶
func (in *NotificationGroup) DeepCopy() *NotificationGroup
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationGroup.
func (*NotificationGroup) DeepCopyInto ¶
func (in *NotificationGroup) DeepCopyInto(out *NotificationGroup)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NotificationGroup) DeepEqual ¶
func (in *NotificationGroup) DeepEqual(actualNotificationGroup NotificationGroup) (bool, utils.Diff)
type Parse ¶
type Parse struct { SourceField string `json:"sourceField"` DestinationField string `json:"destinationField"` Regex string `json:"regex"` }
func (*Parse) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Parse.
func (*Parse) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ParseJsonField ¶
type ParseJsonField struct { SourceField string `json:"sourceField"` DestinationField string `json:"destinationField"` KeepSourceField bool `json:"keepSourceField"` KeepDestinationField bool `json:"keepDestinationField"` }
func (*ParseJsonField) DeepCopy ¶
func (in *ParseJsonField) DeepCopy() *ParseJsonField
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ParseJsonField.
func (*ParseJsonField) DeepCopyInto ¶
func (in *ParseJsonField) DeepCopyInto(out *ParseJsonField)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ParseJsonField) DeepEqual ¶
func (in *ParseJsonField) DeepEqual(field ParseJsonField) (bool, utils.Diff)
type Promql ¶
type Promql struct { SearchQuery string `json:"searchQuery,omitempty"` Conditions PromqlConditions `json:"conditions"` }
func (*Promql) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Promql.
func (*Promql) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PromqlConditions ¶
type PromqlConditions struct { AlertWhen AlertWhen `json:"alertWhen"` Threshold resource.Quantity `json:"threshold"` // +kubebuilder:validation:Minimum=0 // +kubebuilder:validation:MultipleOf:=10 SampleThresholdPercentage int `json:"sampleThresholdPercentage,omitempty"` TimeWindow MetricTimeWindow `json:"timeWindow"` // +optional GroupBy []string `json:"groupBy,omitempty"` // +optional ReplaceMissingValueWithZero bool `json:"replaceMissingValueWithZero,omitempty"` // +kubebuilder:validation:Minimum:=0 // +kubebuilder:validation:MultipleOf:=10 MinNonNullValuesPercentage *int `json:"minNonNullValuesPercentage,omitempty"` // +optional ManageUndetectedValues *ManageUndetectedValues `json:"manageUndetectedValues,omitempty"` }
func (*PromqlConditions) DeepCopy ¶
func (in *PromqlConditions) DeepCopy() *PromqlConditions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PromqlConditions.
func (*PromqlConditions) DeepCopyInto ¶
func (in *PromqlConditions) DeepCopyInto(out *PromqlConditions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PromqlConditions) DeepEqual ¶
func (in *PromqlConditions) DeepEqual(actualCondition PromqlConditions) (bool, utils.Diff)
type ProtoTimeFrameAndRelativeTimeFrame ¶
type ProtoTimeFrameAndRelativeTimeFrame struct { TimeFrame alerts.Timeframe RelativeTimeFrame alerts.RelativeTimeframe }
func (*ProtoTimeFrameAndRelativeTimeFrame) DeepCopy ¶
func (in *ProtoTimeFrameAndRelativeTimeFrame) DeepCopy() *ProtoTimeFrameAndRelativeTimeFrame
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtoTimeFrameAndRelativeTimeFrame.
func (*ProtoTimeFrameAndRelativeTimeFrame) DeepCopyInto ¶
func (in *ProtoTimeFrameAndRelativeTimeFrame) DeepCopyInto(out *ProtoTimeFrameAndRelativeTimeFrame)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Ratio ¶
type Ratio struct { Query1Filters Filters `json:"q1Filters,omitempty"` Query2Filters RatioQ2Filters `json:"q2Filters,omitempty"` Conditions RatioConditions `json:"conditions"` }
func (*Ratio) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Ratio.
func (*Ratio) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RatioConditions ¶
type RatioConditions struct { AlertWhen AlertWhen `json:"alertWhen"` Ratio resource.Quantity `json:"ratio"` //+kubebuilder:default=false IgnoreInfinity bool `json:"ignoreInfinity,omitempty"` TimeWindow TimeWindow `json:"timeWindow"` // +optional GroupBy []string `json:"groupBy,omitempty"` // +optional GroupByFor *GroupByFor `json:"groupByFor,omitempty"` // +optional ManageUndetectedValues *ManageUndetectedValues `json:"manageUndetectedValues,omitempty"` }
func (*RatioConditions) DeepCopy ¶
func (in *RatioConditions) DeepCopy() *RatioConditions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RatioConditions.
func (*RatioConditions) DeepCopyInto ¶
func (in *RatioConditions) DeepCopyInto(out *RatioConditions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RatioConditions) DeepEqual ¶
func (in *RatioConditions) DeepEqual(actualCondition RatioConditions) (bool, utils.Diff)
type RatioQ2Filters ¶
type RatioQ2Filters struct { // +optional Alias *string `json:"alias,omitempty"` // +optional SearchQuery *string `json:"searchQuery,omitempty"` // +optional Severities []FiltersLogSeverity `json:"severities,omitempty"` // +optional Applications []string `json:"applications,omitempty"` // +optional Subsystems []string `json:"subsystems,omitempty"` }
func (*RatioQ2Filters) DeepCopy ¶
func (in *RatioQ2Filters) DeepCopy() *RatioQ2Filters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RatioQ2Filters.
func (*RatioQ2Filters) DeepCopyInto ¶
func (in *RatioQ2Filters) DeepCopyInto(out *RatioQ2Filters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RatioQ2Filters) DeepEqual ¶
func (in *RatioQ2Filters) DeepEqual(actualRatioQ2Filters RatioQ2Filters) (bool, utils.Diff)
type Recipients ¶
type Recipients struct { // +optional Emails []string `json:"emails,omitempty"` // +optional Webhooks []string `json:"webhooks,omitempty"` }
func (*Recipients) DeepCopy ¶
func (in *Recipients) DeepCopy() *Recipients
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Recipients.
func (*Recipients) DeepCopyInto ¶
func (in *Recipients) DeepCopyInto(out *Recipients)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Recipients) DeepEqual ¶
func (in *Recipients) DeepEqual(actualRecipients Recipients) (bool, utils.Diff)
type RecordingRule ¶
type RecordingRule struct { Record string `json:"record,omitempty"` Expr string `json:"expr,omitempty"` Labels map[string]string `json:"labels,omitempty"` }
func (*RecordingRule) DeepCopy ¶
func (in *RecordingRule) DeepCopy() *RecordingRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecordingRule.
func (*RecordingRule) DeepCopyInto ¶
func (in *RecordingRule) DeepCopyInto(out *RecordingRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RecordingRule) DeepEqual ¶
func (in *RecordingRule) DeepEqual(rule RecordingRule) (bool, utils.Diff)
type RecordingRuleGroup ¶
type RecordingRuleGroup struct { // INSERT ADDITIONAL SPEC FIELDS - desired state of cluster // Important: Run "make" to regenerate code after modifying this file Name string `json:"name,omitempty"` //+kubebuilder:default=60 // +kubebuilder:validation:Minimum=60 IntervalSeconds int32 `json:"intervalSeconds,omitempty"` // +optional Limit int64 `json:"limit,omitempty"` Rules []RecordingRule `json:"rules,omitempty"` }
func (*RecordingRuleGroup) DeepCopy ¶
func (in *RecordingRuleGroup) DeepCopy() *RecordingRuleGroup
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecordingRuleGroup.
func (*RecordingRuleGroup) DeepCopyInto ¶
func (in *RecordingRuleGroup) DeepCopyInto(out *RecordingRuleGroup)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RecordingRuleGroup) DeepEqual ¶
func (in *RecordingRuleGroup) DeepEqual(actual RecordingRuleGroup) (bool, utils.Diff)
type RecordingRuleGroupSet ¶
type RecordingRuleGroupSet struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec RecordingRuleGroupSetSpec `json:"spec,omitempty"` Status RecordingRuleGroupSetStatus `json:"status,omitempty"` }
RecordingRuleGroupSet is the Schema for the recordingrulegroupsets API
func (*RecordingRuleGroupSet) DeepCopy ¶
func (in *RecordingRuleGroupSet) DeepCopy() *RecordingRuleGroupSet
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecordingRuleGroupSet.
func (*RecordingRuleGroupSet) DeepCopyInto ¶
func (in *RecordingRuleGroupSet) DeepCopyInto(out *RecordingRuleGroupSet)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RecordingRuleGroupSet) DeepCopyObject ¶
func (in *RecordingRuleGroupSet) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RecordingRuleGroupSetList ¶
type RecordingRuleGroupSetList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []RecordingRuleGroupSet `json:"items"` }
RecordingRuleGroupSetList contains a list of RecordingRuleGroupSet
func (*RecordingRuleGroupSetList) DeepCopy ¶
func (in *RecordingRuleGroupSetList) DeepCopy() *RecordingRuleGroupSetList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecordingRuleGroupSetList.
func (*RecordingRuleGroupSetList) DeepCopyInto ¶
func (in *RecordingRuleGroupSetList) DeepCopyInto(out *RecordingRuleGroupSetList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RecordingRuleGroupSetList) DeepCopyObject ¶
func (in *RecordingRuleGroupSetList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RecordingRuleGroupSetSpec ¶
type RecordingRuleGroupSetSpec struct { // +kubebuilder:validation:MinItems=1 Groups []RecordingRuleGroup `json:"groups"` }
RecordingRuleGroupSetSpec defines the desired state of RecordingRuleGroupSet
func (*RecordingRuleGroupSetSpec) DeepCopy ¶
func (in *RecordingRuleGroupSetSpec) DeepCopy() *RecordingRuleGroupSetSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecordingRuleGroupSetSpec.
func (*RecordingRuleGroupSetSpec) DeepCopyInto ¶
func (in *RecordingRuleGroupSetSpec) DeepCopyInto(out *RecordingRuleGroupSetSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RecordingRuleGroupSetSpec) DeepEqual ¶
func (in *RecordingRuleGroupSetSpec) DeepEqual(status RecordingRuleGroupSetStatus) (bool, utils.Diff)
func (*RecordingRuleGroupSetSpec) ExtractRecordingRuleGroups ¶
func (in *RecordingRuleGroupSetSpec) ExtractRecordingRuleGroups() []*rrg.InRuleGroup
type RecordingRuleGroupSetStatus ¶
type RecordingRuleGroupSetStatus struct { ID *string `json:"id"` Groups []RecordingRuleGroup `json:"groups,omitempty"` }
RecordingRuleGroupSetStatus defines the observed state of RecordingRuleGroupSet
func (*RecordingRuleGroupSetStatus) DeepCopy ¶
func (in *RecordingRuleGroupSetStatus) DeepCopy() *RecordingRuleGroupSetStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecordingRuleGroupSetStatus.
func (*RecordingRuleGroupSetStatus) DeepCopyInto ¶
func (in *RecordingRuleGroupSetStatus) DeepCopyInto(out *RecordingRuleGroupSetStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RelativeTimeWindow ¶
type RelativeTimeWindow string
+kubebuilder:validation:Enum=PreviousHour;SameHourYesterday;SameHourLastWeek;Yesterday;SameDayLastWeek;SameDayLastMonth;
const ( RelativeTimeWindowPreviousHour RelativeTimeWindow = "PreviousHour" RelativeTimeWindowSameHourYesterday RelativeTimeWindow = "SameHourYesterday" RelativeTimeWindowSameHourLastWeek RelativeTimeWindow = "SameHourLastWeek" RelativeTimeWindowYesterday RelativeTimeWindow = "Yesterday" RelativeTimeWindowSameDayLastWeek RelativeTimeWindow = "SameDayLastWeek" RelativeTimeWindowSameDayLastMonth RelativeTimeWindow = "SameDayLastMonth" )
type RemoveFields ¶
type RemoveFields struct {
ExcludedFields []string `json:"excludedFields"`
}
func (*RemoveFields) DeepCopy ¶
func (in *RemoveFields) DeepCopy() *RemoveFields
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RemoveFields.
func (*RemoveFields) DeepCopyInto ¶
func (in *RemoveFields) DeepCopyInto(out *RemoveFields)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RemoveFields) DeepEqual ¶
func (in *RemoveFields) DeepEqual(removeFields RemoveFields) (bool, utils.Diff)
type Replace ¶
type Replace struct { SourceField string `json:"sourceField"` DestinationField string `json:"destinationField"` Regex string `json:"regex"` ReplacementString string `json:"replacementString"` }
func (*Replace) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Replace.
func (*Replace) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Rule ¶
type Rule struct { //+kubebuilder:validation:MinLength=0 Name string `json:"name"` // +optional Description string `json:"description,omitempty"` //+kubebuilder:default=true Active bool `json:"active,omitempty"` // +optional Parse *Parse `json:"parse,omitempty"` // +optional Block *Block `json:"block,omitempty"` // +optional JsonExtract *JsonExtract `json:"jsonExtract,omitempty"` // +optional Replace *Replace `json:"replace,omitempty"` // +optional ExtractTimestamp *ExtractTimestamp `json:"extractTimestamp,omitempty"` // +optional RemoveFields *RemoveFields `json:"removeFields,omitempty"` // +optional JsonStringify *JsonStringify `json:"jsonStringify,omitempty"` // +optional Extract *Extract `json:"extract,omitempty"` // +optional ParseJsonField *ParseJsonField `json:"parseJsonField,omitempty"` }
func (*Rule) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Rule.
func (*Rule) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RuleGroup ¶
type RuleGroup struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec RuleGroupSpec `json:"spec,omitempty"` Status RuleGroupStatus `json:"status,omitempty"` }
RuleGroup is the Schema for the rulegroups API
func (*RuleGroup) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleGroup.
func (*RuleGroup) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RuleGroup) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RuleGroupList ¶
type RuleGroupList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []RuleGroup `json:"items"` }
RuleGroupList contains a list of RuleGroup
func (*RuleGroupList) DeepCopy ¶
func (in *RuleGroupList) DeepCopy() *RuleGroupList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleGroupList.
func (*RuleGroupList) DeepCopyInto ¶
func (in *RuleGroupList) DeepCopyInto(out *RuleGroupList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RuleGroupList) DeepCopyObject ¶
func (in *RuleGroupList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RuleGroupSpec ¶
type RuleGroupSpec struct { //+kubebuilder:validation:MinLength=0 Name string `json:"name"` // +optional Description string `json:"description,omitempty"` //+kubebuilder:default=true Active bool `json:"active,omitempty"` // +optional Applications []string `json:"applications,omitempty"` // +optional Subsystems []string `json:"subsystems,omitempty"` // +optional Severities []RuleSeverity `json:"severities,omitempty"` //+kubebuilder:default=false Hidden bool `json:"hidden,omitempty"` // +optional Creator string `json:"creator,omitempty"` // +optional // +kubebuilder:validation:Minimum:=1 Order *int32 `json:"order,omitempty"` // +optional RuleSubgroups []RuleSubGroup `json:"subgroups,omitempty"` }
RuleGroupSpec defines the Desired state of RuleGroup
func (*RuleGroupSpec) DeepCopy ¶
func (in *RuleGroupSpec) DeepCopy() *RuleGroupSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleGroupSpec.
func (*RuleGroupSpec) DeepCopyInto ¶
func (in *RuleGroupSpec) DeepCopyInto(out *RuleGroupSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RuleGroupSpec) DeepEqual ¶
func (in *RuleGroupSpec) DeepEqual(actualRuleGroup RuleGroupStatus) (bool, utils.Diff)
func (*RuleGroupSpec) ExtractCreateRuleGroupRequest ¶
func (in *RuleGroupSpec) ExtractCreateRuleGroupRequest() *rulesgroups.CreateRuleGroupRequest
func (*RuleGroupSpec) ExtractUpdateRuleGroupRequest ¶
func (in *RuleGroupSpec) ExtractUpdateRuleGroupRequest(id string) *rulesgroups.UpdateRuleGroupRequest
func (*RuleGroupSpec) ToString ¶
func (in *RuleGroupSpec) ToString() string
type RuleGroupStatus ¶
type RuleGroupStatus struct { // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster // Important: Run "make" to regenerate code after modifying this file ID *string `json:"id"` Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` Active bool `json:"active,omitempty"` Applications []string `json:"applications,omitempty"` Subsystems []string `json:"subsystems,omitempty"` Severities []RuleSeverity `json:"severities,omitempty"` Hidden bool `json:"hidden,omitempty"` Creator string `json:"creator,omitempty"` Order *int32 `json:"order,omitempty"` RuleSubgroups []RuleSubGroup `json:"subgroups,omitempty"` }
RuleGroupStatus defines the observed state of RuleGroup
func (*RuleGroupStatus) DeepCopy ¶
func (in *RuleGroupStatus) DeepCopy() *RuleGroupStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleGroupStatus.
func (*RuleGroupStatus) DeepCopyInto ¶
func (in *RuleGroupStatus) DeepCopyInto(out *RuleGroupStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RuleSeverity ¶
type RuleSeverity string
+kubebuilder:validation:Enum=Debug;Verbose;Info;Warning;Error;Critical
const ( RuleSeverityDebug RuleSeverity = "Debug" RuleSeverityVerbose RuleSeverity = "Verbose" RuleSeverityInfo RuleSeverity = "Info" RuleSeverityWarning RuleSeverity = "Warning" RuleSeverityError RuleSeverity = "Error" RuleSeverityCritical RuleSeverity = "Critical" )
type RuleSubGroup ¶
type RuleSubGroup struct { // +optional ID *string `json:"id,omitempty"` //+kubebuilder:default=true Active bool `json:"active,omitempty"` // +optional Order *int32 `json:"order,omitempty"` // +optional Rules []Rule `json:"rules,omitempty"` }
func (*RuleSubGroup) DeepCopy ¶
func (in *RuleSubGroup) DeepCopy() *RuleSubGroup
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleSubGroup.
func (*RuleSubGroup) DeepCopyInto ¶
func (in *RuleSubGroup) DeepCopyInto(out *RuleSubGroup)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RuleSubGroup) DeepEqual ¶
func (in *RuleSubGroup) DeepEqual(actualSubgroup RuleSubGroup) (bool, utils.Diff)
type Scheduling ¶
type Scheduling struct { //+kubebuilder:default=UTC+00 TimeZone TimeZone `json:"timeZone,omitempty"` DaysEnabled []Day `json:"daysEnabled,omitempty"` StartTime *Time `json:"startTime,omitempty"` EndTime *Time `json:"endTime,omitempty"` }
func (*Scheduling) DeepCopy ¶
func (in *Scheduling) DeepCopy() *Scheduling
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Scheduling.
func (*Scheduling) DeepCopyInto ¶
func (in *Scheduling) DeepCopyInto(out *Scheduling)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Scheduling) DeepEqual ¶
func (in *Scheduling) DeepEqual(scheduling Scheduling) (bool, utils.Diff)
type ShowInInsight ¶
type ShowInInsight struct { // +kubebuilder:validation:Minimum:=1 RetriggeringPeriodMinutes int32 `json:"retriggeringPeriodMinutes,omitempty"` //+kubebuilder:default=TriggeredOnly NotifyOn NotifyOn `json:"notifyOn,omitempty"` }
func (*ShowInInsight) DeepCopy ¶
func (in *ShowInInsight) DeepCopy() *ShowInInsight
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShowInInsight.
func (*ShowInInsight) DeepCopyInto ¶
func (in *ShowInInsight) DeepCopyInto(out *ShowInInsight)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ShowInInsight) DeepEqual ¶
func (in *ShowInInsight) DeepEqual(actualShowInInsight ShowInInsight) (bool, utils.Diff)
type Standard ¶
type Standard struct { // +optional Filters *Filters `json:"filters,omitempty"` Conditions StandardConditions `json:"conditions"` }
func (*Standard) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Standard.
func (*Standard) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StandardAlertWhen ¶
type StandardAlertWhen string
+kubebuilder:validation:Enum=More;Less;Immediately;MoreThanUsual
const ( StandardAlertWhenLessThan StandardAlertWhen = "Less" StandardAlertWhenMoreThan StandardAlertWhen = "More" StandardAlertWhenMoreThanUsual StandardAlertWhen = "MoreThanUsual" StandardAlertWhenImmediately StandardAlertWhen = "Immediately" )
type StandardConditions ¶
type StandardConditions struct { AlertWhen StandardAlertWhen `json:"alertWhen"` // +optional Threshold *int `json:"threshold,omitempty"` // +optional TimeWindow *TimeWindow `json:"timeWindow,omitempty"` // +optional GroupBy []string `json:"groupBy,omitempty"` // +optional ManageUndetectedValues *ManageUndetectedValues `json:"manageUndetectedValues,omitempty"` }
func (*StandardConditions) DeepCopy ¶
func (in *StandardConditions) DeepCopy() *StandardConditions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StandardConditions.
func (*StandardConditions) DeepCopyInto ¶
func (in *StandardConditions) DeepCopyInto(out *StandardConditions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*StandardConditions) DeepEqual ¶
func (in *StandardConditions) DeepEqual(actualCondition StandardConditions) (bool, utils.Diff)
type TagFilter ¶
type TagFilter struct { Field string `json:"field,omitempty"` Values []string `json:"values,omitempty"` }
func (*TagFilter) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TagFilter.
func (*TagFilter) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TimeRelative ¶
type TimeRelative struct { // +optional Filters *Filters `json:"filters,omitempty"` Conditions TimeRelativeConditions `json:"conditions"` }
func (*TimeRelative) DeepCopy ¶
func (in *TimeRelative) DeepCopy() *TimeRelative
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimeRelative.
func (*TimeRelative) DeepCopyInto ¶
func (in *TimeRelative) DeepCopyInto(out *TimeRelative)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TimeRelative) DeepEqual ¶
func (in *TimeRelative) DeepEqual(actualTimeRelative TimeRelative) (bool, utils.Diff)
type TimeRelativeConditions ¶
type TimeRelativeConditions struct { AlertWhen AlertWhen `json:"alertWhen"` Threshold resource.Quantity `json:"threshold"` //+kubebuilder:default=false IgnoreInfinity bool `json:"ignoreInfinity,omitempty"` TimeWindow RelativeTimeWindow `json:"timeWindow"` // +optional GroupBy []string `json:"groupBy,omitempty"` // +optional ManageUndetectedValues *ManageUndetectedValues `json:"manageUndetectedValues,omitempty"` }
func (*TimeRelativeConditions) DeepCopy ¶
func (in *TimeRelativeConditions) DeepCopy() *TimeRelativeConditions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimeRelativeConditions.
func (*TimeRelativeConditions) DeepCopyInto ¶
func (in *TimeRelativeConditions) DeepCopyInto(out *TimeRelativeConditions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TimeRelativeConditions) DeepEqual ¶
func (in *TimeRelativeConditions) DeepEqual(actualCondition TimeRelativeConditions) (bool, utils.Diff)
type TimeWindow ¶
type TimeWindow string
+kubebuilder:validation:Enum=FiveMinutes;TenMinutes;FifteenMinutes;TwentyMinutes;ThirtyMinutes;Hour;TwoHours;FourHours;SixHours;TwelveHours;TwentyFourHours;ThirtySixHours
const ( TimeWindowMinute TimeWindow = "Minute" TimeWindowFiveMinutes TimeWindow = "FiveMinutes" TimeWindowTenMinutes TimeWindow = "TenMinutes" TimeWindowFifteenMinutes TimeWindow = "FifteenMinutes" TimeWindowTwentyMinutes TimeWindow = "TwentyMinutes" TimeWindowThirtyMinutes TimeWindow = "ThirtyMinutes" TimeWindowHour TimeWindow = "Hour" TimeWindowTwoHours TimeWindow = "TwoHours" TimeWindowFourHours TimeWindow = "FourHours" TimeWindowSixHours TimeWindow = "SixHours" TimeWindowTwelveHours TimeWindow = "TwelveHours" TimeWindowTwentyFourHours TimeWindow = "TwentyFourHours" TimeWindowThirtySixHours TimeWindow = "ThirtySixHours" )
type Tracing ¶
type Tracing struct { Filters TracingFilters `json:"filters,omitempty"` Conditions TracingCondition `json:"conditions"` }
func (*Tracing) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Tracing.
func (*Tracing) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TracingAlertWhen ¶
type TracingAlertWhen string
+kubebuilder:validation:Enum=More;Immediately
const ( TracingAlertWhenMore TracingAlertWhen = "More" TracingAlertWhenImmediately TracingAlertWhen = "Immediately" )
type TracingCondition ¶
type TracingCondition struct { AlertWhen TracingAlertWhen `json:"alertWhen"` // +optional Threshold *int `json:"threshold,omitempty"` // +optional TimeWindow *TimeWindow `json:"timeWindow,omitempty"` // +optional GroupBy []string `json:"groupBy,omitempty"` }
func (*TracingCondition) DeepCopy ¶
func (in *TracingCondition) DeepCopy() *TracingCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TracingCondition.
func (*TracingCondition) DeepCopyInto ¶
func (in *TracingCondition) DeepCopyInto(out *TracingCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TracingCondition) DeepEqual ¶
func (in *TracingCondition) DeepEqual(actualCondition TracingCondition) (bool, utils.Diff)
type TracingFilters ¶
type TracingFilters struct { LatencyThresholdMilliseconds resource.Quantity `json:"latencyThresholdMilliseconds,omitempty"` // +optional TagFilters []TagFilter `json:"tagFilters,omitempty"` // +optional Applications []string `json:"applications,omitempty"` // +optional Subsystems []string `json:"subsystems,omitempty"` // +optional Services []string `json:"services,omitempty"` }
func (*TracingFilters) DeepCopy ¶
func (in *TracingFilters) DeepCopy() *TracingFilters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TracingFilters.
func (*TracingFilters) DeepCopyInto ¶
func (in *TracingFilters) DeepCopyInto(out *TracingFilters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TracingFilters) DeepEqual ¶
func (in *TracingFilters) DeepEqual(actualFilters TracingFilters) (bool, utils.Diff)
type UniqueCount ¶
type UniqueCount struct { // +optional Filters *Filters `json:"filters,omitempty"` Conditions UniqueCountConditions `json:"conditions"` }
func (*UniqueCount) DeepCopy ¶
func (in *UniqueCount) DeepCopy() *UniqueCount
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UniqueCount.
func (*UniqueCount) DeepCopyInto ¶
func (in *UniqueCount) DeepCopyInto(out *UniqueCount)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*UniqueCount) DeepEqual ¶
func (in *UniqueCount) DeepEqual(actualUniqueCount UniqueCount) (bool, utils.Diff)
type UniqueCountConditions ¶
type UniqueCountConditions struct { Key string `json:"key"` // +kubebuilder:validation:Minimum:=1 MaxUniqueValues int `json:"maxUniqueValues"` TimeWindow UniqueValueTimeWindow `json:"timeWindow"` GroupBy *string `json:"groupBy,omitempty"` // +kubebuilder:validation:Minimum:=1 MaxUniqueValuesForGroupBy *int `json:"maxUniqueValuesForGroupBy,omitempty"` }
func (*UniqueCountConditions) DeepCopy ¶
func (in *UniqueCountConditions) DeepCopy() *UniqueCountConditions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UniqueCountConditions.
func (*UniqueCountConditions) DeepCopyInto ¶
func (in *UniqueCountConditions) DeepCopyInto(out *UniqueCountConditions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*UniqueCountConditions) DeepEqual ¶
func (in *UniqueCountConditions) DeepEqual(actualCondition UniqueCountConditions) (bool, utils.Diff)
type UniqueValueTimeWindow ¶
type UniqueValueTimeWindow string
+kubebuilder:validation:Enum=Minute;FiveMinutes;TenMinutes;FifteenMinutes;TwentyMinutes;ThirtyMinutes;Hour;TwoHours;FourHours;SixHours;TwelveHours;TwentyFourHours;ThirtySixHours