storage

package
v0.164.2 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2026 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CirrusStoreBackend

type CirrusStoreBackend struct {
	omnistorage.MultipartBlobStorageBackend
	// contains filtered or unexported fields
}

func NewCirrusStoreBackend

func NewCirrusStoreBackend(client api.CirrusCIServiceClient, taskIdentification *api.TaskIdentification) *CirrusStoreBackend

func (*CirrusStoreBackend) CacheInfo

func (c *CirrusStoreBackend) CacheInfo(ctx context.Context, key string, prefixes []string) (*omnistorage.CacheInfo, error)

func (*CirrusStoreBackend) CommitMultipartUpload

func (c *CirrusStoreBackend) CommitMultipartUpload(ctx context.Context, key string, uploadID string, parts []omnistorage.MultipartUploadPart) error

func (*CirrusStoreBackend) CreateMultipartUpload

func (c *CirrusStoreBackend) CreateMultipartUpload(ctx context.Context, key string, metadata map[string]string) (uploadID string, err error)

func (*CirrusStoreBackend) DeleteCache

func (c *CirrusStoreBackend) DeleteCache(ctx context.Context, key string) error

func (*CirrusStoreBackend) DownloadURLs

func (c *CirrusStoreBackend) DownloadURLs(ctx context.Context, key string) ([]*omnistorage.URLInfo, error)

func (*CirrusStoreBackend) UploadPartURL

func (c *CirrusStoreBackend) UploadPartURL(ctx context.Context, key string, uploadID string, partNumber uint32, contentLength uint64) (*omnistorage.URLInfo, error)

func (*CirrusStoreBackend) UploadURL

func (c *CirrusStoreBackend) UploadURL(ctx context.Context, key string, metadate map[string]string) (*omnistorage.URLInfo, error)

Jump to

Keyboard shortcuts

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