Documentation ¶
Index ¶
Constants ¶
View Source
const (
ConfigMapName = "prometheus-server"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
func (*Config) Delete ¶
func (c *Config) Delete(i *v1alpha1.IndicatorDocument)
func (*Config) Upsert ¶
func (c *Config) Upsert(i *v1alpha1.IndicatorDocument)
type ConfigMapPatcher ¶
type ConfigRenderer ¶
type ConfigRenderer interface { Upsert(i *v1alpha1.IndicatorDocument) Delete(i *v1alpha1.IndicatorDocument) fmt.Stringer }
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func NewController ¶
func NewController(configMap ConfigMapPatcher, cr ConfigRenderer) *Controller
func (*Controller) OnAdd ¶
func (c *Controller) OnAdd(obj interface{})
func (*Controller) OnDelete ¶
func (c *Controller) OnDelete(obj interface{})
func (*Controller) OnUpdate ¶
func (c *Controller) OnUpdate(oldObj, newObj interface{})
Click to show internal directories.
Click to hide internal directories.