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