kubeproxy

package
v0.17.1 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const (
	VxLANIface         = "vx-submariner"
	VxInterfaceWorker  = 0
	VxInterfaceGateway = 1
	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) NodeCreated

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

func (*SyncHandler) NodeRemoved

func (kp *SyncHandler) NodeRemoved(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) TransitionToGateway

func (kp *SyncHandler) TransitionToGateway() error

func (*SyncHandler) TransitionToNonGateway

func (kp *SyncHandler) TransitionToNonGateway() error

func (*SyncHandler) Uninstall added in v0.17.0

func (kp *SyncHandler) Uninstall() error

Jump to

Keyboard shortcuts

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