Versions in this module Expand all Collapse all v6 v6.0.0 Sep 2, 2024 Changes in this version + const ChunkRetryDeadline + const ChunkSize + const MaxComposable + var RegexUploadPart = regexp.MustCompile(fmt.Sprintf(`^.*-mpu-%s-%s$`, regexUUID, regexUUID)) + type Client struct + func NewClient(options ClientOptions) *Client + func (c *Client) AbortMultipartUpload(ctx context.Context, opts objcli.AbortMultipartUploadOptions) error + func (c *Client) AppendToObject(ctx context.Context, opts objcli.AppendToObjectOptions) error + func (c *Client) Close() error + func (c *Client) CompleteMultipartUpload(ctx context.Context, opts objcli.CompleteMultipartUploadOptions) error + func (c *Client) CopyObject(ctx context.Context, opts objcli.CopyObjectOptions) error + func (c *Client) CreateMultipartUpload(_ context.Context, _ objcli.CreateMultipartUploadOptions) (string, error) + func (c *Client) DeleteDirectory(ctx context.Context, opts objcli.DeleteDirectoryOptions) error + func (c *Client) DeleteObjects(ctx context.Context, opts objcli.DeleteObjectsOptions) error + func (c *Client) GetObject(ctx context.Context, opts objcli.GetObjectOptions) (*objval.Object, error) + func (c *Client) GetObjectAttrs(ctx context.Context, opts objcli.GetObjectAttrsOptions) (*objval.ObjectAttrs, error) + func (c *Client) IterateObjects(ctx context.Context, opts objcli.IterateObjectsOptions) error + func (c *Client) ListParts(ctx context.Context, opts objcli.ListPartsOptions) ([]objval.Part, error) + func (c *Client) Provider() objval.Provider + func (c *Client) PutObject(ctx context.Context, opts objcli.PutObjectOptions) error + func (c *Client) UploadPart(ctx context.Context, opts objcli.UploadPartOptions) (objval.Part, error) + func (c *Client) UploadPartCopy(ctx context.Context, opts objcli.UploadPartCopyOptions) (objval.Part, error) + type ClientOptions struct + Client *storage.Client + Logger *slog.Logger Other modules containing this package github.com/couchbase/tools-common/cloud github.com/couchbase/tools-common/cloud/v2 github.com/couchbase/tools-common/cloud/v3 github.com/couchbase/tools-common/cloud/v4 github.com/couchbase/tools-common/cloud/v5