aws

package
v0.0.26 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAccountID

func GetAccountID(config *aws.Config) (string, error)

GetAccountID get the Account ID for the currently logged User.

func GetBucketNamesWithPrefix added in v0.0.7

func GetBucketNamesWithPrefix(prefix string) ([]string, error)

Types

type Bucket

type Bucket struct {
	Name      string `json:"bucketName"`
	AccountID string `json:"accountId"`
	Region    string `json:"region"`
}

func GetBucketByName added in v0.0.7

func GetBucketByName(name string) (Bucket, error)

func GetBuckets

func GetBuckets() ([]Bucket, error)

Jump to

Keyboard shortcuts

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