handler

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2020 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OnDeploymentChanged

func OnDeploymentChanged(deployment *appsv1.Deployment, event config.Event)

OnDeploymentChanged is a handler that should be called when a deployment changes.

func OnNamespaceChanged

func OnNamespaceChanged(namespace *corev1.Namespace, event config.Event)

OnNamespaceChanged is a handler that should be called when a namespace chanages.

func OnUpdate

func OnUpdate(obj interface{}, event config.Event)

OnUpdate is a handler that should be called when an object is updated. obj is the Kubernetes object that was updated. event is the Event metadata representing the update.

func StaticMonitorUpdate added in v1.6.0

func StaticMonitorUpdate(event config.Event)

StaticMonitorUpdate is a handler that should be called by the controller on a timer

Types

This section is empty.

Jump to

Keyboard shortcuts

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