implementations

package
v0.6.138 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2022 License: Apache-2.0 Imports: 19 Imported by: 1

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 NewGCPRemoteURL added in v0.3.38

func NewGCPRemoteURL(signingPrincipal string, signDuration 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 GCPGCSObject added in v0.3.38

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

type GCPRemoteURL added in v0.3.38

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

GCP-specific implementation of RemoteURLInterface

func (*GCPRemoteURL) Get added in v0.3.38

func (g *GCPRemoteURL) Get(ctx context.Context, uri string) (admin.UrlBlob, error)

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