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, bucketName string, f *framework.Framework) string
- func DeleteBucket(storageCli *storage.Client, bucketName string)
- func DeleteObject(storageCli *storage.Client, bucketName, objectName string)
- func GetObjectsReader(storageCli *storage.Client, bucketName string) []*storage.Reader
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 name.
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.