Documentation
¶
Index ¶
- type GCSStorage
- func (s *GCSStorage) Delete(key string) error
- func (s *GCSStorage) Exists(key string) (bool, error)
- func (s *GCSStorage) List(prefix string) ([]oss.OSSPath, error)
- func (s *GCSStorage) Load(key string) ([]byte, error)
- func (s *GCSStorage) Save(key string, data []byte) error
- func (s *GCSStorage) State(key string) (oss.OSSState, error)
- func (s *GCSStorage) Type() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GCSStorage ¶
type GCSStorage struct {
// contains filtered or unexported fields
}
func NewGCSStorage ¶
func NewGCSStorage(ctx context.Context, bucketName string, opts ...option.ClientOption) (*GCSStorage, error)
func (*GCSStorage) Delete ¶
func (s *GCSStorage) Delete(key string) error
func (*GCSStorage) Type ¶
func (s *GCSStorage) Type() string
Click to show internal directories.
Click to hide internal directories.