handler

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OnDeploymentChanged

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

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

func OnNamespaceChanged

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

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

func OnUpdate

func OnUpdate(obj interface{}, event utils.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.

Types

This section is empty.

Jump to

Keyboard shortcuts

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