Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetObjectMetaKey ¶
func PrometheusRulesByKey ¶
func PrometheusRulesByKey(prometheusrules []*monitoringv1.PrometheusRule) map[string]*monitoringv1.PrometheusRule
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func NewController ¶
func NewController( kubeclientset kubernetes.Interface, promclientset promclientset.Interface, kubeInformerFactory kubeinformers.SharedInformerFactory, promInformerFactory prominformers.SharedInformerFactory, templateManager *templates.PrometheusRuleTemplateManager) *Controller
func (*Controller) Run ¶
func (c *Controller) Run(stopCh <-chan struct{}) error
Click to show internal directories.
Click to hide internal directories.