aws

package
v0.0.0-...-9154d98 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Client      *s3.Client
	Downloader  *manager.Downloader
	S3Buckets   []string `json:"s3_buckets,omitempty"`
	Concurrency int      `json:"concurrency,omitempty"`
}

Config stores the configuration loaded during startup

func CreateLoad

func CreateLoad(cp string) *Config

CreateLoad creates a config instance, loads json content from file and initializes AWS client and downloader

Jump to

Keyboard shortcuts

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