Documentation ¶
Overview ¶
Package controller encapsulates kubernetes controller logic that powers Chronologist.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller watches config maps that helm creates for each release and creates corresponding annotations in grafana.
func New ¶
func New(log *zap.Logger, kubernetes kubernetes.Interface, grafana grafana.Annotator, maxAge time.Duration) (*Controller, error)
New returns a new controller.
func (*Controller) Run ¶
func (c *Controller) Run(stopCh <-chan struct{})
Run starts the controller.
Click to show internal directories.
Click to hide internal directories.