s3store

package
v0.0.0-...-5f09953 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	DisableHeadCheck bool
	DiskCachePath    string
	DiskCacheBytes   uint64
}

type Store

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

func FromSession

func FromSession(s *session.Session, address string) (*Store, error)

func FromSessionAndOptions

func FromSessionAndOptions(s *session.Session, address string, opts Options) (*Store, error)

func (*Store) FetchAWSUsage

func (s *Store) FetchAWSUsage(u *protocol.StoreUsage)

func (*Store) GetObjects

func (s *Store) GetObjects(ctx context.Context, gets []store.GetRequest)

func (*Store) Store

func (s *Store) Store(ctx context.Context, obj []byte) (string, error)

Jump to

Keyboard shortcuts

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