drivers

package
v0.0.0-...-3dd33dc Latest Latest
Warning

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

Go to latest
Published: May 4, 2015 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AmazonS3Driver

type AmazonS3Driver struct {
	Name          string
	Username      string
	Apikey        string
	Layout        string
	Origin        string
	Containername string
	Connection    *s3.S3
}

func (*AmazonS3Driver) Authenticate

func (d *AmazonS3Driver) Authenticate() bool

func (*AmazonS3Driver) Connect

func (d *AmazonS3Driver) Connect() bool

func (*AmazonS3Driver) Upload

func (d *AmazonS3Driver) Upload() bool

type CloudFilesDriver

type CloudFilesDriver struct {
	Name          string
	Username      string
	Apikey        string
	Authurl       string
	Layout        string
	Origin        string
	Containername string
	Connection    swift.Connection
}

func (*CloudFilesDriver) Authenticate

func (d *CloudFilesDriver) Authenticate() bool

func (*CloudFilesDriver) Connect

func (d *CloudFilesDriver) Connect() bool

func (*CloudFilesDriver) Upload

func (d *CloudFilesDriver) Upload() bool

type Driver

type Driver interface {
	Connect() bool
	Authenticate() bool
	Upload() bool
}

type MissingDriver

type MissingDriver struct {
	Name       string
	Username   string
	Apikey     string
	Authurl    string
	Connection swift.Connection
}

func (*MissingDriver) Authenticate

func (d *MissingDriver) Authenticate() bool

func (*MissingDriver) Connect

func (d *MissingDriver) Connect() bool

func (*MissingDriver) Upload

func (d *MissingDriver) Upload() bool

Jump to

Keyboard shortcuts

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