swift

package
v0.54.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Swift

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

func (*Swift) GetDriverName

func (s *Swift) GetDriverName() string

func (*Swift) Init

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

func (*Swift) ItemExists

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

func (*Swift) NewReader

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

func (*Swift) NewWriter

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

func (*Swift) Remove

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

func (*Swift) ResyncWithDatabase

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

func (*Swift) Status

func (s *Swift) 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