s3

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2019 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromGatewayObjectPart

func FromGatewayObjectPart(partID int, oi minio.ObjectInfo) (pi minio.PartInfo)

FromGatewayObjectPart converts ObjectInfo for custom part stored as object to PartInfo

Types

type S3

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

S3 implements Gateway.

func NewS3 added in v0.0.4

func NewS3(host string) *S3

func (*S3) Name

func (g *S3) Name() string

Name implements Gateway interface.

func (*S3) NewGatewayLayer

func (g *S3) NewGatewayLayer(creds auth.Credentials) (minio.ObjectLayer, error)

NewGatewayLayer returns s3 ObjectLayer.

func (*S3) Production

func (g *S3) Production() bool

Production - s3 gateway is production ready.

Jump to

Keyboard shortcuts

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