Documentation
¶
Index ¶
- type ConvertorController
- func (c *ConvertorController) CreatePodMonitor(pod interface{})
- func (c *ConvertorController) CreatePrometheusRule(rule interface{})
- func (c *ConvertorController) CreateServiceMonitor(service interface{})
- func (c *ConvertorController) Run(ctx context.Context, group *errgroup.Group, cfg *conf.BaseOperatorConf)
- func (c *ConvertorController) UpdatePodMonitor(old, new interface{})
- func (c *ConvertorController) UpdatePrometheusRule(old, new interface{})
- func (c *ConvertorController) UpdateServiceMonitor(old, new interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConvertorController ¶
type ConvertorController struct {
// contains filtered or unexported fields
}
ConvertorController - watches for prometheus objects and create VictoriaMetrics objects
func NewConvertorController ¶
func NewConvertorController(promCl versioned.Interface, vclient vmclient.Interface) *ConvertorController
func (*ConvertorController) CreatePodMonitor ¶
func (c *ConvertorController) CreatePodMonitor(pod interface{})
func (*ConvertorController) CreatePrometheusRule ¶
func (c *ConvertorController) CreatePrometheusRule(rule interface{})
func (*ConvertorController) CreateServiceMonitor ¶
func (c *ConvertorController) CreateServiceMonitor(service interface{})
func (*ConvertorController) Run ¶
func (c *ConvertorController) Run(ctx context.Context, group *errgroup.Group, cfg *conf.BaseOperatorConf)
func (*ConvertorController) UpdatePodMonitor ¶
func (c *ConvertorController) UpdatePodMonitor(old, new interface{})
func (*ConvertorController) UpdatePrometheusRule ¶
func (c *ConvertorController) UpdatePrometheusRule(old, new interface{})
func (*ConvertorController) UpdateServiceMonitor ¶
func (c *ConvertorController) UpdateServiceMonitor(old, new interface{})
Click to show internal directories.
Click to hide internal directories.