implementations

package
v0.2.12 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAWSRemoteURL

func NewAWSRemoteURL(config *aws.Config, presignDuration time.Duration) interfaces.RemoteURLInterface

func NewNoopRemoteURL

func NewNoopRemoteURL(remoteDataStoreClient storage.DataStore) interfaces.RemoteURLInterface

Types

type AWSRemoteURL

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

AWS-specific implementation of RemoteURLInterface

func (*AWSRemoteURL) Get

func (a *AWSRemoteURL) Get(ctx context.Context, uri string) (admin.UrlBlob, error)

type AWSS3Object

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

type NoopRemoteURL

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

No-op implementation of a RemoteURLInterface

func (*NoopRemoteURL) Get

func (n *NoopRemoteURL) Get(ctx context.Context, uri string) (admin.UrlBlob, error)

Jump to

Keyboard shortcuts

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