package
5.0.3
Repository: https://github.com/couchbase/tools-common.git
Documentation: pkg.go.dev

# Functions

NewClient returns a new client which uses the given storage client, in general this should be the one created using the 'storage.NewClient' function exposed by the SDK.

# Constants

ChunkRetryDeadline is the timeout for uploading a single chunk to GCP, this matches the timeout used in 'cbbackupmgr' for the object storage HTTP client timeout.
ChunkSize is the size used for a "resumable" upload in the GCP SDK, required to enable request retries.
MaxComposable is the hard limit imposed by Google Storage on the maximum number of objects which can be composed into one, however, note that composed objects may be used as the source for composed objects.

# Variables

RegexUploadPart matches the key for an object created by the GCP client as part of emulating multipart uploads.

# Structs

Client implements the 'objcli.Client' interface allowing the creation/management of objects stored in Google Storage.
ClientOptions encapsulates the options for creating a new GCP Client.