controllers

package
v0.11.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2021 License: Apache-2.0 Imports: 38 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ServiceRefLabel = "submariner.io/serviceRef"

	// The prefix used for the ipset chains created by Globalnet pod.
	IPSetPrefix = "SM-GN-"

	AddRules    = true
	DeleteRules = false

	DefaultNumberOfClusterEgressIPs = 8
)

Variables

This section is empty.

Functions

This section is empty.

Types

type IngressPodControllers

type IngressPodControllers struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func NewIngressPodControllers

func NewIngressPodControllers(config syncer.ResourceSyncerConfig) (*IngressPodControllers, error)

type Interface

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

func NewClusterGlobalEgressIPController

func NewClusterGlobalEgressIPController(config syncer.ResourceSyncerConfig, localSubnets []string,
	pool *ipam.IPPool) (Interface, error)

func NewGatewayMonitor

func NewGatewayMonitor(spec Specification, localCIDRs []string, config watcher.Config) (Interface, error)

func NewGlobalEgressIPController

func NewGlobalEgressIPController(config syncer.ResourceSyncerConfig, pool *ipam.IPPool) (Interface, error)

func NewGlobalIngressIPController

func NewGlobalIngressIPController(config syncer.ResourceSyncerConfig, pool *ipam.IPPool) (Interface, error)

func NewNodeController

func NewNodeController(config syncer.ResourceSyncerConfig, pool *ipam.IPPool, nodeName string) (Interface, error)

func NewServiceController

func NewServiceController(config syncer.ResourceSyncerConfig, podControllers *IngressPodControllers) (Interface, error)

func NewServiceExportController

func NewServiceExportController(config syncer.ResourceSyncerConfig, podControllers *IngressPodControllers) (Interface, error)

type Specification

type Specification struct {
	ClusterID  string
	Namespace  string
	GlobalCIDR []string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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