k8s

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2019 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Watcher

type Watcher struct {
	// contains filtered or unexported fields
}

Watcher object that also hold config and k8s resources to generate resources watchers from

func NewK8sWatcher

func NewK8sWatcher(c *config.Config) (*Watcher, error)

NewK8sWatcher parses the config and maps handlers and resources from configuration, then return the k8sWatcher

func (*Watcher) Run

func (w *Watcher) Run() error

Run start k8s controller for each k8s resource

func (*Watcher) Shutdown

func (w *Watcher) Shutdown()

Shutdown the k8s watcher and all its resource watchers

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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