Documentation ¶
Index ¶
- func New() (plugin.StorageService, error)
- func NewWithClient(client ifaces_gcloud_storage.StorageClient) (plugin.StorageService, error)
- type StorageStorageService
- func (s *StorageStorageService) Delete(bucket string, key string) error
- func (s *StorageStorageService) PreSignUrl(bucket string, key string, operation plugin.Operation, expiry uint32) (string, error)
- func (s *StorageStorageService) Read(bucket string, key string) ([]byte, error)
- func (s *StorageStorageService) Write(bucket string, key string, object []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewWithClient ¶
func NewWithClient(client ifaces_gcloud_storage.StorageClient) (plugin.StorageService, error)
Types ¶
type StorageStorageService ¶
type StorageStorageService struct { plugin.UnimplementedStoragePlugin // contains filtered or unexported fields }
func (*StorageStorageService) Delete ¶
func (s *StorageStorageService) Delete(bucket string, key string) error
*
- Delete an Item in a Google Cloud Storage Bucket
func (*StorageStorageService) PreSignUrl ¶ added in v0.14.0
Click to show internal directories.
Click to hide internal directories.