s3

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2017 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client is a client of s3 for populating our cdn

func New

func New(bucket string) (*Client, error)

New creates a new client

func (*Client) CreateIndexes

func (c *Client) CreateIndexes() error

CreateIndexes rebuilds index pages for the configured s3 bucket

func (*Client) Put

func (c *Client) Put(ctx context.Context, file *artifact.File) error

Put uploads the given file to the s3 bucket

Jump to

Keyboard shortcuts

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