uploadable

package
v0.128.0 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2024 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Part added in v0.124.0

type Part struct {
	Number uint32
	ETag   string
	Size   int64
}

type Uploadable

type Uploadable struct {
	RangeToPart *rangetopart.RangeToPart
	// contains filtered or unexported fields
}

func New

func New(key string, version string, uploadID string) *Uploadable

func (*Uploadable) AppendPart added in v0.124.0

func (uploadable *Uploadable) AppendPart(number uint32, etag string, size int64) error

func (*Uploadable) Finalize

func (uploadable *Uploadable) Finalize() ([]*api.MultipartCacheUploadCommitRequest_Part, int64, error)

func (*Uploadable) Key

func (uploadable *Uploadable) Key() string

func (*Uploadable) UploadID added in v0.124.0

func (uploadable *Uploadable) UploadID() string

func (*Uploadable) Version

func (uploadable *Uploadable) Version() string

Jump to

Keyboard shortcuts

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