Documentation ¶
Index ¶
- func New() (plugin.StorageService, error)
- func NewWithClient(client ifaces_gcloud_storage.StorageClient) (plugin.StorageService, error)
- type StorageStorageService
- func (s *StorageStorageService) Delete(ctx context.Context, bucket string, key string) error
- func (s *StorageStorageService) ListFiles(ctx context.Context, bucket string) ([]*plugin.FileInfo, error)
- func (s *StorageStorageService) PreSignUrl(ctx context.Context, bucket string, key string, operation plugin.Operation, ...) (string, error)
- func (s *StorageStorageService) Read(ctx context.Context, bucket string, key string) ([]byte, error)
- func (s *StorageStorageService) Write(ctx context.Context, 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) PreSignUrl ¶ added in v0.14.0
Click to show internal directories.
Click to hide internal directories.