utils

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultRetryAfter     = 5 * time.Second
	RetryServerErrorAfter = time.Minute

	InstanceReadynessAfter         = 5 * time.Minute
	SnapshotReadynessAfter         = 5 * time.Minute
	VolumeReadynessAfter           = 5 * time.Minute
	VolumeAttachmentReadynessAfter = 2 * time.Minute

	AWSUnauthorizedOperation = "UnauthorizedOperation"
)

Variables

This section is empty.

Functions

func EC2FiltersFromEC2Tags

func EC2FiltersFromEC2Tags(tags []ec2types.Tag) []ec2types.Filter

func EC2FiltersFromTags

func EC2FiltersFromTags(tags []apitypes.Tag) []ec2types.Filter

func GetInstanceState

func GetInstanceState(result *ec2.DescribeInstancesOutput, instanceID string) ec2types.InstanceStateName

func GetTagsFromECTags

func GetTagsFromECTags(tags []ec2types.Tag) []apitypes.Tag

func WrapError

func WrapError(err error) error

Types

type FatalError

type FatalError = provider.FatalError

type RetryableError

type RetryableError = provider.RetryableError

Jump to

Keyboard shortcuts

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