aws

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: May 25, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsInvalidConfig

func IsInvalidConfig(err error) bool

IsInvalidConfig asserts invalidConfigError.

Types

type EBS

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

func NewEBS

func NewEBS(config EBSConfig) (*EBS, error)

func (*EBS) AttachByTag

func (s *EBS) AttachByTag() error

type EBSConfig

type EBSConfig struct {
	AWSInstanceID string
	AwsSession    *session.Session
	DeviceName    string
	ForceDetach   bool
	TagKey        string
	TagValue      string
}

type ENI

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

func NewENI

func NewENI(config ENIConfig) (*ENI, error)

func (*ENI) AttachByTag

func (s *ENI) AttachByTag() error

type ENIConfig

type ENIConfig struct {
	AWSInstanceID string
	AwsSession    *session.Session
	DeviceIndex   int64
	ForceDetach   bool
	TagKey        string
	TagValue      string
}

Jump to

Keyboard shortcuts

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