Documentation
¶
Index ¶
- type GCSBlobStore
- func (bs *GCSBlobStore) BlobSize(blobpath string) (int64, error)
- func (bs *GCSBlobStore) Flags() int
- func (*GCSBlobStore) ImplName() string
- func (bs *GCSBlobStore) ListBlobs() ([]string, error)
- func (bs *GCSBlobStore) OpenReader(blobpath string) (rc io.ReadCloser, err error)
- func (bs *GCSBlobStore) OpenWriter(blobpath string) (io.WriteCloser, error)
- func (bs *GCSBlobStore) RemoveBlob(blobpath string) error
- type Reader
- type Writer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GCSBlobStore ¶
type GCSBlobStore struct {
// contains filtered or unexported fields
}
func NewGCSBlobStore ¶
func NewGCSBlobStore(projectName string, bucketName string, tsrc oauth2.TokenSource, flags int) (*GCSBlobStore, error)
func (*GCSBlobStore) Flags ¶
func (bs *GCSBlobStore) Flags() int
func (*GCSBlobStore) ImplName ¶
func (*GCSBlobStore) ImplName() string
func (*GCSBlobStore) ListBlobs ¶
func (bs *GCSBlobStore) ListBlobs() ([]string, error)
func (*GCSBlobStore) OpenReader ¶
func (bs *GCSBlobStore) OpenReader(blobpath string) (rc io.ReadCloser, err error)
func (*GCSBlobStore) OpenWriter ¶
func (bs *GCSBlobStore) OpenWriter(blobpath string) (io.WriteCloser, error)
func (*GCSBlobStore) RemoveBlob ¶
func (bs *GCSBlobStore) RemoveBlob(blobpath string) error
Click to show internal directories.
Click to hide internal directories.