aws

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2025 License: MIT-0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AssociateAddressOptions added in v1.2.3

type AssociateAddressOptions struct {
	PodKey        string
	PodIP         string
	HostIP        string
	AddressPoolId string
	PECType       string
	TagKey        string
	TagValueKey   string
}

type DisassociateAddressOptions added in v1.2.3

type DisassociateAddressOptions struct {
	PodKey string
}

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(options AssociateAddressOptions) (string, error)

func (EC2Client) DisassociateAddress

func (c EC2Client) DisassociateAddress(options DisassociateAddressOptions) 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)

type KeyLock added in v1.2.3

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

func NewKeyLock added in v1.2.3

func NewKeyLock() *KeyLock

func (*KeyLock) Lock added in v1.2.3

func (kl *KeyLock) Lock(key string)

func (*KeyLock) Unlock added in v1.2.3

func (kl *KeyLock) Unlock(key string)

Jump to

Keyboard shortcuts

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