prefixcollector

package
v1.0.13 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2020 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ExcludedPrefixesEnv is the name of the env variable to define excluded prefixes
	ExcludedPrefixesEnv = "EXCLUDED_PREFIXES"
)

Variables

This section is empty.

Functions

func NewExcludePrefixServer

func NewExcludePrefixServer(config *rest.Config) error

NewExcludePrefixServer creates an instance of prefixService

Types

type SubnetWatcher

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

func WatchPodCIDR

func WatchPodCIDR(clientset *kubernetes.Clientset) (*SubnetWatcher, error)

func WatchServiceIpAddr

func WatchServiceIpAddr(cs *kubernetes.Clientset) (*SubnetWatcher, error)

func (*SubnetWatcher) ResultChan

func (s *SubnetWatcher) ResultChan() <-chan *net.IPNet

func (*SubnetWatcher) Stop

func (s *SubnetWatcher) Stop()

Jump to

Keyboard shortcuts

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