eni

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ENIDescription = "aws-k8s-eni"
)

Functions

func NewENIManager

func NewENIManager(instance ec2.EC2Instance) *eniManager

NewENIManager returns a new ENI Manager

Types

type ENIManager

type ENIManager interface {
	InitResources(ec2APIHelper api.EC2APIHelper) (*IPv4Resource, error)
	CreateIPV4Resource(required int, resourceType config.ResourceType, ec2APIHelper api.EC2APIHelper, log logr.Logger) ([]string, error)
	DeleteIPV4Resource(ipList []string, resourceType config.ResourceType, ec2APIHelper api.EC2APIHelper, log logr.Logger) ([]string, error)
}

type IPv4Resource added in v1.1.8

type IPv4Resource struct {
	PrivateIPv4Addresses []string
	IPv4Prefixes         []string
}

Jump to

Keyboard shortcuts

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