memory

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() storage.Service

Types

type Service

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

Service is intended for testing purposes only.

func (*Service) CopyObject

func (*Service) DeleteObject

func (s *Service) DeleteObject(_ context.Context, opts storage.DeleteObjectOptions) error

func (*Service) DeleteObjects

func (s *Service) DeleteObjects(_ context.Context, opts storage.DeleteObjectsOptions) error

func (*Service) GetObject

func (s *Service) GetObject(_ context.Context, opts storage.GetObjectOptions) (io.ReadCloser, error)

func (*Service) GetPresignedURL

func (*Service) GetPresignedURL(_ context.Context, opts storage.PresignedURLOptions) (string, error)

func (*Service) ListObjects

func (*Service) MoveObject

func (s *Service) MoveObject(ctx context.Context, opts storage.MoveObjectOptions) (info *storage.ObjectInfo, err error)

func (*Service) PromoteObject

func (s *Service) PromoteObject(ctx context.Context, tempKey string) (*storage.ObjectInfo, error)

func (*Service) PutObject

func (*Service) StatObject

Jump to

Keyboard shortcuts

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