aws

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AWS

type AWS struct {
	Region string
	// contains filtered or unexported fields
}

func NewAWS

func NewAWS(l *log.Logger, c *AWSCredentials, region string) *AWS

func (*AWS) DestroyBucket added in v0.2.0

func (aws *AWS) DestroyBucket(bucketName string)

func (*AWS) NewBucket

func (aws *AWS) NewBucket(bucketName, region string) *Bucket

func (*AWS) UploadFilesFromDir

func (aws *AWS) UploadFilesFromDir(b *Bucket, dir string)

type AWSCredentials

type AWSCredentials struct {
	AccessKeyID string
	SecretKey   string
}

type Bucket

type Bucket struct {
	Name   string
	Region string
}

func (*Bucket) GetHTTPEndpoint

func (b *Bucket) GetHTTPEndpoint() string

Jump to

Keyboard shortcuts

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