services

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2019 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

View Source
const S3_REGION = "eu-west-1"

Variables

This section is empty.

Functions

func GetConfig

func GetConfig() *session.Session

func ReadFile

func ReadFile(h S3Input)

Types

type Account

type Account struct {
	AccessKeyID string
}

func GetAccountInfo

func GetAccountInfo() Account

type BucketList

type BucketList struct {
	Names []string
}

func GetS3Buckets

func GetS3Buckets() (BucketList, error)

func (*BucketList) ListBuckets

func (b *BucketList) ListBuckets()

type DynamoDbList

type DynamoDbList struct {
	Names []string
}

func GetDynamoDbTables

func GetDynamoDbTables() (DynamoDbList, error)

type FilesInput

type FilesInput struct {
	Bucket    string
	FileNames []string
}

type S3Input

type S3Input struct {
	Key         string
	Bucket      string
	FileChannel chan []byte
	Wg          *sync.WaitGroup
}

type S3JSONFiles

type S3JSONFiles struct {
	Files []interface{}
}

func GetS3Files

func GetS3Files(f FilesInput) S3JSONFiles

Jump to

Keyboard shortcuts

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