pack_akamai

package
v1.3.4 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EmptyString = ""
)
View Source
const (
	ErrorCouldNotAssertObject = "could not assert object"
)

Variables

This section is empty.

Functions

func AkamaiIteratorFunc

func AkamaiIteratorFunc(ac *conf.AppConfig, fol objectify.FileObjList, grp int) (iter provider.Iterator, err error)

Types

type AkamaiIterator

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

func NewIterator

func NewIterator(ac *conf.AppConfig, list objectify.FileObjList, grp int) (iter *AkamaiIterator, err error)

func (*AkamaiIterator) Err

func (ai *AkamaiIterator) Err() (err error)

func (*AkamaiIterator) Final

func (ai *AkamaiIterator) Final() (err error)

func (*AkamaiIterator) First

func (ai *AkamaiIterator) First() (err error)

func (*AkamaiIterator) MarkFailed

func (ai *AkamaiIterator) MarkFailed(s string)

func (*AkamaiIterator) MarkIgnore

func (ai *AkamaiIterator) MarkIgnore(s string)

func (*AkamaiIterator) Next

func (ai *AkamaiIterator) Next() bool

func (*AkamaiIterator) Prepare

func (ai *AkamaiIterator) Prepare() *provider.PutObject

type AkamaiOperator

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

func NewAkamaiOperator

func NewAkamaiOperator(ac *conf.AppConfig) (*AkamaiOperator, error)

func (*AkamaiOperator) BucketExists

func (op *AkamaiOperator) BucketExists() (exists bool, errs provider.Errs)

func (*AkamaiOperator) CreateBucket

func (op *AkamaiOperator) CreateBucket() (err error)

func (*AkamaiOperator) ObjectExists

func (op *AkamaiOperator) ObjectExists(key string) (exists bool, err error)

func (*AkamaiOperator) SupportsMultipartUploads

func (op *AkamaiOperator) SupportsMultipartUploads() bool

func (*AkamaiOperator) Upload

func (op *AkamaiOperator) Upload(po provider.PutObject) (err error)

func (*AkamaiOperator) UploadMultipart

func (op *AkamaiOperator) UploadMultipart(po provider.PutObject) (err error)

Jump to

Keyboard shortcuts

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