Documentation
¶
Overview ¶
Package storage contains helpers for Google Cloud Storage.
Index ¶
- func CreateBucket(storageCli *storage.Client, project string, f *framework.Framework) string
- func CreateObject(storageCli *storage.Client, bucket string, f *framework.Framework) string
- func DeleteBucket(storageCli *storage.Client, bucketID string)
- func DeleteObject(storageCli *storage.Client, bucketID, objectName string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateBucket ¶
CreateBucket creates a bucket named after the given framework.Framework.
func CreateObject ¶
CreateObject creates an object in the given bucket.
func DeleteBucket ¶
DeleteBucket deletes a bucket by ID. Buckets need to be emptied before they can be deleted.
func DeleteObject ¶
DeleteObject deletes an object by name from the given bucket.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.