package
0.0.0-20240819180206-1aa1ecb48432
Repository: https://github.com/libopenstorage/cloudops.git
Documentation: pkg.go.dev

# README

To test AWS

You will first need to create an AWS instance and then provide details of this instance as below.

export AWS_REGION=<instance-region>
export AWS_ZONE=<aws-availibility-zone>
export AWS_INSTANCE_NAME=<aws-instance-name>
export AWS_ACCESS_KEY_ID=<access-id>
export AWS_SECRET_ACCESS_KEY=<access-secret>
export AWS_INSTANCE_TYPE=<aws-instance-type>
go test

# Packages

No description provided by the author

# Functions

DescribeInstanceByID describes the given instance by instance ID.
GetMetadataInstance is the function to be called when trying to get metadata/user data on eks.
GetMetadataWithTimeoutAndBackoff will get metadata with exponential backoff.
GetUserDataWithTimeoutAndBackoff will get user data with exponential backoff.
NewClient creates a new cloud operations client for AWS.

# Variables

ErrAWSEnvNotAvailable is the error type when aws credentials are not set.
RatelimitingExponentialBackoff will lead to a backoff of a max of around 2 minutes.