controller

package
v0.0.0-...-c300999 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

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
}

func New

func New(g grafana.APIClient, logger log.Logger) *Controller

create new Controller instance

func (*Controller) Create

func (c *Controller) Create(obj interface{})

d something when a configmap created

func (*Controller) Delete

func (c *Controller) Delete(obj interface{})

do something when a configmap deleted

func (*Controller) Update

func (c *Controller) Update(oldobj interface{}, newobj interface{})

do something when a configmap updated

Jump to

Keyboard shortcuts

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