MCPcopy Create free account
hub / github.com/google/go-cloud / SignedURL

Method SignedURL

blob/driver/driver.go:334–334  ·  view source on GitHub ↗

SignedURL returns a URL that can be used to GET the blob for the duration specified in opts.Expiry. opts is guaranteed to be non-nil. If not supported, return an error for which ErrorCode returns gcerrors.Unimplemented.

(ctx context.Context, key string, opts *SignedURLOptions)

Source from the content-addressed store, hash-verified

332 // If not supported, return an error for which ErrorCode returns
333 // gcerrors.Unimplemented.
334 SignedURL(ctx context.Context, key string, opts *SignedURLOptions) (string, error)
335
336 // Close cleans up any resources used by the Bucket. Once Close is called,
337 // there will be no method calls to the Bucket other than As, ErrorAs, and

Callers 8

testKeysFunction · 0.95
testSignedURLFunction · 0.95
testAsFunction · 0.95
SignedURLMethod · 0.65
SignedURLMethod · 0.65
SignedURLMethod · 0.65
SignedURLMethod · 0.65

Implementers 7

bucketblob/memblob/memblob.go
bucketblob/s3blob/s3blob.go
bucketblob/fileblob/fileblob.go
bucketblob/gcsblob/gcsblob.go
prefixedBucketblob/driver/driver.go
singleKeyBucketblob/driver/driver.go
bucketblob/azureblob/azureblob.go

Calls

no outgoing calls