kubeproxy

package
v0.12.2 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2022 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	VxLANIface         = "vx-submariner"
	VxInterfaceWorker  = 0
	VxInterfaceGateway = 1
	VxLANPort          = 4800
	VxLANOverhead      = 50

	VxLANVTepNetworkPrefix = 240
	SmRouteAgentFilter     = "app=submariner-routeagent"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Operation

type Operation int
const (
	Add Operation = iota
	Delete
	Flush
)

type SyncHandler

type SyncHandler struct {
	event.HandlerBase
	// contains filtered or unexported fields
}

func NewSyncHandler

func NewSyncHandler(localClusterCidr, localServiceCidr []string) *SyncHandler

func (*SyncHandler) GetName

func (kp *SyncHandler) GetName() string

func (*SyncHandler) GetNetworkPlugins

func (kp *SyncHandler) GetNetworkPlugins() []string

func (*SyncHandler) Init

func (kp *SyncHandler) Init() error

func (*SyncHandler) LocalEndpointCreated

func (kp *SyncHandler) LocalEndpointCreated(endpoint *submV1.Endpoint) error

func (*SyncHandler) LocalEndpointRemoved

func (kp *SyncHandler) LocalEndpointRemoved(endpoint *submV1.Endpoint) error

func (*SyncHandler) LocalEndpointUpdated

func (kp *SyncHandler) LocalEndpointUpdated(endpoint *submV1.Endpoint) error

func (*SyncHandler) NodeCreated

func (kp *SyncHandler) NodeCreated(node *k8sV1.Node) error

func (*SyncHandler) NodeRemoved

func (kp *SyncHandler) NodeRemoved(node *k8sV1.Node) error

func (*SyncHandler) NodeUpdated

func (kp *SyncHandler) NodeUpdated(node *k8sV1.Node) error

func (*SyncHandler) RemoteEndpointCreated

func (kp *SyncHandler) RemoteEndpointCreated(endpoint *submV1.Endpoint) error

func (*SyncHandler) RemoteEndpointRemoved

func (kp *SyncHandler) RemoteEndpointRemoved(endpoint *submV1.Endpoint) error

func (*SyncHandler) RemoteEndpointUpdated

func (kp *SyncHandler) RemoteEndpointUpdated(endpoint *submV1.Endpoint) error

func (*SyncHandler) Stop added in v0.12.0

func (kp *SyncHandler) Stop(uninstall bool) error

func (*SyncHandler) TransitionToGateway

func (kp *SyncHandler) TransitionToGateway() error

func (*SyncHandler) TransitionToNonGateway

func (kp *SyncHandler) TransitionToNonGateway() error

Jump to

Keyboard shortcuts

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