exclusion

package
v0.0.0-...-d3eceb9 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2017 License: Apache-2.0 Imports: 8 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 is maintaining the state of the ExclusionList.

func NewWatcher

func NewWatcher(triremeNets []string, kubeClient kubernetes.Client, excluder supervisor.Excluder) (*Watcher, error)

NewWatcher generates a new Watcher

func (*Watcher) Start

func (w *Watcher) Start()

Start launches the Exclusion Watcher The exclusion watcher listens to all the service events and Blocking. Use go.

func (*Watcher) Stop

func (w *Watcher) Stop()

Stop stops the Excluder updater.

Jump to

Keyboard shortcuts

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