controller

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 13, 2018 License: Apache-2.0 Imports: 19 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL