aws

package
v1.0.14 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2023 License: MPL-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultCredentials

func DefaultCredentials(purpose string) *awscredentials.Credentials

func DescribeEKSCluster

func DescribeEKSCluster(region, name string) (string, []byte, error)

func DescribeEKSClusterWithStaticCredentials

func DescribeEKSClusterWithStaticCredentials(region, name, accessKey, secretKey, token string) (string, []byte, error)

func IsNotFound

func IsNotFound(err error) bool

func IsSlowDown

func IsSlowDown(err error) bool

func KmsKey

func KmsKey(arn string, blob []byte) ([]byte, []byte, error)

func ProfileCredentials

func ProfileCredentials(profile, purpose string) *awscredentials.Credentials

func ReadS3

func ReadS3(s3path string) ([]byte, error)

func Session

func Session(region, purpose string) (*awssession.Session, error)

func SessionWithCredentials

func SessionWithCredentials(region, purpose string, credentials *awscredentials.Credentials) (*awssession.Session, error)

func SessionWithSharedConfig

func SessionWithSharedConfig(region string) (*awssession.Session, error)

func SessionWithStaticCredentials

func SessionWithStaticCredentials(region, purpose, accessKey, secretKey, token string) (*awssession.Session, error)

func StatS3

func StatS3(s3path string) (int64, time.Time, error)

func WriteS3

func WriteS3(s3path string, body []byte) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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