Documentation
¶
Index ¶
- type CirrusStoreBackend
- func (c *CirrusStoreBackend) CacheInfo(ctx context.Context, key string, prefixes []string) (*omnistorage.CacheInfo, error)
- func (c *CirrusStoreBackend) CommitMultipartUpload(ctx context.Context, key string, uploadID string, ...) error
- func (c *CirrusStoreBackend) CreateMultipartUpload(ctx context.Context, key string, metadata map[string]string) (uploadID string, err error)
- func (c *CirrusStoreBackend) DeleteCache(ctx context.Context, key string) error
- func (c *CirrusStoreBackend) DownloadURLs(ctx context.Context, key string) ([]*omnistorage.URLInfo, error)
- func (c *CirrusStoreBackend) UploadPartURL(ctx context.Context, key string, uploadID string, partNumber uint32, ...) (*omnistorage.URLInfo, error)
- func (c *CirrusStoreBackend) UploadURL(ctx context.Context, key string, metadate map[string]string) (*omnistorage.URLInfo, error)
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 (*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)
Click to show internal directories.
Click to hide internal directories.