discovery

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2020 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlackWhiteList added in v1.1.6

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

func (*BlackWhiteList) IsResponsible added in v1.1.6

func (b *BlackWhiteList) IsResponsible(namespace string, pod string) (bool, error)

type Discovery

type Discovery interface {
	Start() error
	Stop()
}

Discovery watchs container start and destory events, and send parsed results to configurer.

func New

func New(baseDir, logPrefix string, configurer configurer.Configurer, bListNS, wListNS []string, bListPodRegex, wListPodRegex string) (Discovery, error)

New creates a new Discovery

Jump to

Keyboard shortcuts

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