storage

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: May 5, 2026 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsS3URI

func IsS3URI(s string) bool

func ParseS3URI

func ParseS3URI(uri string) (bucket, key string, err error)

func StagingPath

func StagingPath(cfg *config.Config, uri, sourceURL string) (string, error)

Types

type S3Client

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

func NewS3ClientFromConfig

func NewS3ClientFromConfig(cfg *config.Config) (*S3Client, error)

func (*S3Client) DeleteObject

func (c *S3Client) DeleteObject(ctx context.Context, uri string) error

func (*S3Client) PutFile

func (c *S3Client) PutFile(ctx context.Context, uri, path, contentType string) error

Jump to

Keyboard shortcuts

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