s3

package
v0.54.1 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 License: BSD-3-Clause Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type S3

type S3 struct {
	storage.AbstractUnit
	encryption.ConvergentEncryption
	// contains filtered or unexported fields
}

func (*S3) GetDriverName

func (s *S3) GetDriverName() string

func (*S3) Init

func (s *S3) Init(_ context.Context, cfg interface{}) error

func (*S3) ItemExists

func (s *S3) ItemExists(ctx context.Context, m *gorpmapper.Mapper, db gorp.SqlExecutor, i sdk.CDNItem) (bool, error)

func (*S3) NewReader

func (s *S3) NewReader(ctx context.Context, i sdk.CDNItemUnit) (io.ReadCloser, error)

func (*S3) NewWriter

func (s *S3) NewWriter(ctx context.Context, i sdk.CDNItemUnit) (io.WriteCloser, error)

func (*S3) Remove

func (s *S3) Remove(ctx context.Context, i sdk.CDNItemUnit) error

func (*S3) ResyncWithDatabase

func (s *S3) ResyncWithDatabase(ctx context.Context, _ gorp.SqlExecutor, _ sdk.CDNItemType, _ bool)

func (*S3) Status

func (s *S3) Status(ctx context.Context) []sdk.MonitoringStatusLine

Status returns the status of swift account

Jump to

Keyboard shortcuts

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