Documentation ¶
Index ¶
- Constants
- type AggregationRule
- type AlertManagerConfig
- func (m *AlertManagerConfig) GetAggregationRule() []*AggregationRule
- func (m *AlertManagerConfig) GetInhibitRule() []*InhibitRule
- func (m *AlertManagerConfig) GetNotificationConfig() []*NotificationConfig
- func (*AlertManagerConfig) ProtoMessage()
- func (m *AlertManagerConfig) Reset()
- func (m *AlertManagerConfig) String() string
- type EmailConfig
- type Filter
- type InhibitRule
- type NotificationConfig
- type PagerDutyConfig
Constants ¶
View Source
const Default_AggregationRule_RepeatRateSeconds int32 = 7200
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AggregationRule ¶
type AggregationRule struct { Filter []*Filter `protobuf:"bytes,1,rep,name=filter" json:"filter,omitempty"` RepeatRateSeconds *int32 `protobuf:"varint,2,opt,name=repeat_rate_seconds,def=7200" json:"repeat_rate_seconds,omitempty"` NotificationConfigName *string `protobuf:"bytes,3,opt,name=notification_config_name" json:"notification_config_name,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*AggregationRule) GetFilter ¶
func (m *AggregationRule) GetFilter() []*Filter
func (*AggregationRule) GetNotificationConfigName ¶
func (m *AggregationRule) GetNotificationConfigName() string
func (*AggregationRule) GetRepeatRateSeconds ¶
func (m *AggregationRule) GetRepeatRateSeconds() int32
func (*AggregationRule) ProtoMessage ¶
func (*AggregationRule) ProtoMessage()
func (*AggregationRule) Reset ¶
func (m *AggregationRule) Reset()
func (*AggregationRule) String ¶
func (m *AggregationRule) String() string
type AlertManagerConfig ¶
type AlertManagerConfig struct { AggregationRule []*AggregationRule `protobuf:"bytes,1,rep,name=aggregation_rule" json:"aggregation_rule,omitempty"` NotificationConfig []*NotificationConfig `protobuf:"bytes,2,rep,name=notification_config" json:"notification_config,omitempty"` InhibitRule []*InhibitRule `protobuf:"bytes,3,rep,name=inhibit_rule" json:"inhibit_rule,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*AlertManagerConfig) GetAggregationRule ¶
func (m *AlertManagerConfig) GetAggregationRule() []*AggregationRule
func (*AlertManagerConfig) GetInhibitRule ¶
func (m *AlertManagerConfig) GetInhibitRule() []*InhibitRule
func (*AlertManagerConfig) GetNotificationConfig ¶
func (m *AlertManagerConfig) GetNotificationConfig() []*NotificationConfig
func (*AlertManagerConfig) ProtoMessage ¶
func (*AlertManagerConfig) ProtoMessage()
func (*AlertManagerConfig) Reset ¶
func (m *AlertManagerConfig) Reset()
func (*AlertManagerConfig) String ¶
func (m *AlertManagerConfig) String() string
type EmailConfig ¶
type EmailConfig struct { Email *string `protobuf:"bytes,1,opt,name=email" json:"email,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*EmailConfig) GetEmail ¶
func (m *EmailConfig) GetEmail() string
func (*EmailConfig) ProtoMessage ¶
func (*EmailConfig) ProtoMessage()
func (*EmailConfig) Reset ¶
func (m *EmailConfig) Reset()
func (*EmailConfig) String ¶
func (m *EmailConfig) String() string
type Filter ¶
type Filter struct { NameRe *string `protobuf:"bytes,1,opt,name=name_re" json:"name_re,omitempty"` ValueRe *string `protobuf:"bytes,2,opt,name=value_re" json:"value_re,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Filter) GetValueRe ¶
func (*Filter) ProtoMessage ¶
func (*Filter) ProtoMessage()
type InhibitRule ¶
type InhibitRule struct { SourceFilter []*Filter `protobuf:"bytes,1,rep,name=source_filter" json:"source_filter,omitempty"` TargetFilter []*Filter `protobuf:"bytes,2,rep,name=target_filter" json:"target_filter,omitempty"` MatchOn []string `protobuf:"bytes,3,rep,name=match_on" json:"match_on,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*InhibitRule) GetMatchOn ¶
func (m *InhibitRule) GetMatchOn() []string
func (*InhibitRule) GetSourceFilter ¶
func (m *InhibitRule) GetSourceFilter() []*Filter
func (*InhibitRule) GetTargetFilter ¶
func (m *InhibitRule) GetTargetFilter() []*Filter
func (*InhibitRule) ProtoMessage ¶
func (*InhibitRule) ProtoMessage()
func (*InhibitRule) Reset ¶
func (m *InhibitRule) Reset()
func (*InhibitRule) String ¶
func (m *InhibitRule) String() string
type NotificationConfig ¶
type NotificationConfig struct { Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` PagerdutyConfig []*PagerDutyConfig `protobuf:"bytes,2,rep,name=pagerduty_config" json:"pagerduty_config,omitempty"` EmailConfig []*EmailConfig `protobuf:"bytes,3,rep,name=email_config" json:"email_config,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*NotificationConfig) GetEmailConfig ¶
func (m *NotificationConfig) GetEmailConfig() []*EmailConfig
func (*NotificationConfig) GetName ¶
func (m *NotificationConfig) GetName() string
func (*NotificationConfig) GetPagerdutyConfig ¶
func (m *NotificationConfig) GetPagerdutyConfig() []*PagerDutyConfig
func (*NotificationConfig) ProtoMessage ¶
func (*NotificationConfig) ProtoMessage()
func (*NotificationConfig) Reset ¶
func (m *NotificationConfig) Reset()
func (*NotificationConfig) String ¶
func (m *NotificationConfig) String() string
type PagerDutyConfig ¶
type PagerDutyConfig struct { ServiceKey *string `protobuf:"bytes,1,opt,name=service_key" json:"service_key,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*PagerDutyConfig) GetServiceKey ¶
func (m *PagerDutyConfig) GetServiceKey() string
func (*PagerDutyConfig) ProtoMessage ¶
func (*PagerDutyConfig) ProtoMessage()
func (*PagerDutyConfig) Reset ¶
func (m *PagerDutyConfig) Reset()
func (*PagerDutyConfig) String ¶
func (m *PagerDutyConfig) String() string
Click to show internal directories.
Click to hide internal directories.