coordinator

package
v1.3.8 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package coordinator provides cleanup functionality for NodeENI deletions

Package coordinator provides the main orchestration logic for the AWS Multi-ENI Controller ENI Manager.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

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

Manager coordinates all ENI management operations

func NewManager

func NewManager(cfg *config.ENIManagerConfig) (*Manager, error)

NewManager creates a new coordinator manager

func (*Manager) FindNodeENIForInterfaceTest added in v1.3.5

func (m *Manager) FindNodeENIForInterfaceTest(iface network.InterfaceInfo, nodeENIs []networkingv1alpha1.NodeENI) *networkingv1alpha1.NodeENI

FindNodeENIForInterfaceTest exposes findNodeENIForInterface for testing purposes

func (*Manager) GetStatus

func (m *Manager) GetStatus() map[string]interface{}

GetStatus returns the current status of the coordinator

func (*Manager) ParseResourceNameForTest

func (m *Manager) ParseResourceNameForTest(resourceName string) (string, string)

ParseResourceNameForTest exposes parseResourceName for testing purposes

func (*Manager) Start

func (m *Manager) Start(ctx context.Context) error

Start starts the ENI manager coordinator

type SRIOVResourceInfo

type SRIOVResourceInfo struct {
	PCIAddress     string
	ResourceName   string
	ResourcePrefix string
	Driver         string
	NodeENIName    string
}

SRIOVResourceInfo tracks SR-IOV resource information for cleanup

Jump to

Keyboard shortcuts

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