uploader

package
v0.31.17 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2019 License: Apache-2.0 Imports: 3 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
}

func NewClient

func NewClient(config Config) *Client

func (Client) ComputeAWSObjectKey added in v0.31.8

func (c Client) ComputeAWSObjectKey(exactGlob string) (string, string, error)

func (Client) UploadFile added in v0.6.0

func (c Client) UploadFile(exactGlob string) error

type Config

type Config struct {
	FilepathPrefix string
	SourcesDir     string

	Transport transport
}

type PrefixFetcher added in v0.31.14

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

func NewPrefixFetcher added in v0.31.14

func NewPrefixFetcher(fetcher S3PrefixFetcher, productSlug string) PrefixFetcher

func (*PrefixFetcher) GetPrefix added in v0.31.14

func (pf *PrefixFetcher) GetPrefix() (string, error)

type S3PrefixFetcher added in v0.31.14

type S3PrefixFetcher interface {
	S3PrefixForProductSlug(productSlug string) (string, error)
}

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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