s3concat

package module
v0.0.0-...-d15d96a Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2019 License: Apache-2.0 Imports: 14 Imported by: 0

README

s3concat

Concat S3 objects

Documentation

Index

Constants

View Source
const (
	MaxObjects         = 1000
	MultipartThreshold = 5 * 1024 * 1024 // 5MB
)

Variables

This section is empty.

Functions

func Concat

func Concat(sess *session.Session, srcs []string, dst string, opt *Option) error

func ConcatWithContext

func ConcatWithContext(ctx context.Context, sess *session.Session, srcs []string, dst string, opt *Option) error

Types

type Concatenator

type Concatenator struct {
	// contains filtered or unexported fields
}

type Option

type Option struct {
	Recursive bool
}

type S3Object

type S3Object struct {
	Bucket string
	Key    string
	Size   int64
}

func ParseS3URL

func ParseS3URL(str string) (*S3Object, error)

func (*S3Object) String

func (o *S3Object) String() string

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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