ipam

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2021 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNoIPs = errors.New("no public IP addresses available")

ErrNoIPs indicates that there were no public IP addresses available for assignment

Functions

This section is empty.

Types

type Assigner

type Assigner interface {

	// Assign will assign an available public IP to the given Node
	Assign(ctx context.Context, node v1.Node, annotator annotation.Annotator) error
}

An Assigner is an IP Address manager which can assign an available Public IP address to a Node

func NewAWSAssigner

func NewAWSAssigner() (Assigner, error)

NewAWSAssigner returns a new AWS IP address Assigner

func NewGCPAssigner

func NewGCPAssigner(zone string) (Assigner, error)

NewGCPAssigner returns a new GCP IP address Assigner

Jump to

Keyboard shortcuts

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