filesystem

package
v0.23.2 Latest Latest
Warning

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

Go to latest
Published: May 14, 2026 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

New creates a filesystem storage service.

Root MUST point to a shared volume (NFS, CephFS, EFS, k8s ReadWriteMany PVC) when more than one application instance is deployed; otherwise PutPart and CompleteMultipart from different instances will not see each other's parts.

Types

type Service

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

func (*Service) AbortMultipart added in v0.23.0

func (s *Service) AbortMultipart(_ context.Context, opts storage.AbortMultipartOptions) error

func (*Service) CompleteMultipart added in v0.23.0

func (s *Service) CompleteMultipart(_ context.Context, opts storage.CompleteMultipartOptions) (*storage.ObjectInfo, error)

func (*Service) CopyObject

func (*Service) DeleteObject

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

func (*Service) DeleteObjects

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

func (*Service) GetObject

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

func (*Service) InitMultipart added in v0.23.0

func (*Service) ListObjects

func (*Service) MaxPartCount added in v0.23.0

func (*Service) MaxPartCount() int

func (*Service) PartSize added in v0.23.0

func (*Service) PartSize() int64

func (*Service) PutObject

func (*Service) PutPart added in v0.23.0

func (*Service) StatObject

Jump to

Keyboard shortcuts

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