aws

package
v0.0.0-...-6dbdb44 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2020 License: EPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AWSSession awsSession

AWSSession is the global AWS session for interacting with S3.

Functions

func CreateS3URL

func CreateS3URL(bucket string, keys ...string) string

CreateS3URL creates an S3 URL from a bucket and a key string.

func ParseS3URL

func ParseS3URL(s3URL string) (string, string, error)

ParseS3URL parses an S3 url into a bucket and key.

func WriteToS3

func WriteToS3(outputKey string, data []byte) error

WriteToS3 writes the given byte array to S3.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳