eni

package
v1.9.6 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NatGreLinkName = "natgre"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

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

Controller manages ENI at node level

func New

func New(
	cloudClient cloud.Interface,
	metaClient metadata.Interface,
	kubeClient kubernetes.Interface,
	crdClient clientset.Interface,
	eventRecorder record.EventRecorder,
	clusterID string,
	nodeName string,
	instanceID string,
	vpcID string,
	rtTableOffset int,
	eniSyncPeriod time.Duration,
) *Controller

New creates ENI Controller

func (c *Controller) HandleDellink(link netlink.Link)
func (c *Controller) HandleNewlink(link netlink.Link)

func (*Controller) ReconcileENIs

func (c *Controller) ReconcileENIs()

Jump to

Keyboard shortcuts

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