Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func NewFileSystem ¶
func NewK8sConfigMap ¶
func NewK8sOperator ¶
Types ¶
type Component ¶
type OperatorRule ¶
type OperatorRule struct { Record string `yaml:"record,omitempty"` Alert string `yaml:"alert,omitempty"` Expr string `yaml:"expr"` For string `yaml:"for,omitempty"` Labels map[string]string `yaml:"labels,omitempty"` Annotations map[string]string `yaml:"annotations,omitempty"` }
func (OperatorRule) Conversion ¶
func (r OperatorRule) Conversion() monitoringv1.Rule
type OperatorRuleGroup ¶
type OperatorRuleGroup struct { Name string `yaml:"name"` Interval string `yaml:"interval,omitempty"` Rules []OperatorRule `yaml:"rules"` PartialResponseStrategy string `yaml:"partial_response_strategy,omitempty"` }
type OperatorRuleGroups ¶
type OperatorRuleGroups struct {
Groups []OperatorRuleGroup `yaml:"groups,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.