s3

package
v0.0.0-...-8117641 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2020 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewS3

func NewS3(nodeID string, endpoint string) (*s3, error)

NewS3 initializes the driver

Types

type Config

type Config struct {
	Region   string
	Mounter  string
	ReadOnly bool
}

Config holds values to configure the driver

type Mounter

type Mounter interface {
	Stage(stagePath string) error
	Unstage(stagePath string) error
	Mount(source string, target string) error
}

Mounter interface which can be implemented by the different mounter types

Jump to

Keyboard shortcuts

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