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
Click to show internal directories.
Click to hide internal directories.