controller

package
v0.0.0-...-b03e64c 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: 14 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
}

Controller wrapper for alertmanager

func New

func New(a alertmanager.APIClient, logger log.Logger) *Controller

New creates new Controller instance

func (*Controller) Create

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

Create is called when a configmap is created

func (*Controller) Delete

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

Delete is called when a configmap is deleted

func (*Controller) Update

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

Update is called when a configmap is updated

Jump to

Keyboard shortcuts

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