watcher

package
v2.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateSvcWatcher

func GenerateSvcWatcher(name, namespace string, client v1client.ServicesGetter, logger logs.Logger) (watch.Interface, error)

func Watch

func Watch(watcher watch.Interface, handler cache.ResourceEventHandler, ctx context.Context, logger logs.Logger) error

Watch watches a certain resource and call the handler when an event comes.

Types

This section is empty.

Jump to

Keyboard shortcuts

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