out

package
v0.0.0-...-d984d7a Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2016 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrObjectVersioningNotEnabled = errors.New("object versioning not enabled")

Functions

This section is empty.

Types

type OutCommand

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

func NewOutCommand

func NewOutCommand(stderr io.Writer, s3client s3resource.S3Client) *OutCommand

func (*OutCommand) Run

func (command *OutCommand) Run(sourceDir string, request OutRequest) (OutResponse, error)

type OutRequest

type OutRequest struct {
	Source s3resource.Source `json:"source"`
	Params Params            `json:"params"`
}

type OutResponse

type OutResponse struct {
	Version  s3resource.Version        `json:"version"`
	Metadata []s3resource.MetadataPair `json:"metadata"`
}

type Params

type Params struct {
	From string `json:"from"`
	File string `json:"file"`
	To   string `json:"to"`
	Acl  string `json:"acl"`
}

Jump to

Keyboard shortcuts

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