grafana

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigMap

func ConfigMap(doc *v1.IndicatorDocument, m mapper, indicatorType v1.IndicatorType) (*corev1.ConfigMap, error)

func GenerateObjectName added in v0.9.1

func GenerateObjectName(doc *v1.IndicatorDocument) string

Types

type ConfigMapEditor

type ConfigMapEditor interface {
	Create(*corev1.ConfigMap) (*corev1.ConfigMap, error)
	Update(*corev1.ConfigMap) (*corev1.ConfigMap, error)
	Get(name string, options metav1.GetOptions) (*corev1.ConfigMap, error)
	Delete(name string, options *metav1.DeleteOptions) error
}

type Controller

type Controller struct {
	// contains filtered or unexported fields
}

func NewController

func NewController(configMap ConfigMapEditor, indicatorType v1.IndicatorType) *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{})

Jump to

Keyboard shortcuts

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