kubernetes

package
v0.3.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WatchPod

func WatchPod(ctx context.Context, namespace, podName string, eventHandler EventHandler) error

Watch a pod and call the eventHandler (asyncronously) when an event happens. When the supplied context is canceled, watching will stop.

Types

type EventHandler

type EventHandler func(watch.Event)

Jump to

Keyboard shortcuts

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