aws

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: May 18, 2024 License: MIT-0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EC2Client

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

func NewEC2Client

func NewEC2Client(logger *slog.Logger, region, vpcID, clusterName string) (EC2Client, error)

func (EC2Client) AssociateAddress

func (c EC2Client) AssociateAddress(podKey, podIP, hostIP string, addressPoolId *string) (string, error)

func (EC2Client) DisassociateAddress

func (c EC2Client) DisassociateAddress(podKey string) error

func (EC2Client) HasAssociatedAddress

func (c EC2Client) HasAssociatedAddress(podIP, hostIP string) (bool, error)

type IMDS

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

func NewIMDS

func NewIMDS() (IMDS, error)

func (IMDS) GetRegion

func (i IMDS) GetRegion() (string, error)

func (IMDS) GetVpcID

func (i IMDS) GetVpcID() (string, error)

Jump to

Keyboard shortcuts

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