Documentation ¶
Overview ¶
Package google implements an indexpack VFS backed by Google cloud storage.
Index ¶
- type StorageFS
- func (s StorageFS) Create(ctx context.Context, path string) (io.WriteCloser, error)
- func (s StorageFS) Glob(ctx context.Context, glob string) ([]string, error)
- func (StorageFS) MkdirAll(_ context.Context, path string, mode os.FileMode) error
- func (s StorageFS) Open(ctx context.Context, path string) (io.ReadCloser, error)
- func (s StorageFS) Remove(ctx context.Context, path string) error
- func (s StorageFS) Rename(ctx context.Context, oldPath, newPath string) error
- func (s StorageFS) Stat(ctx context.Context, path string) (os.FileInfo, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StorageFS ¶
type StorageFS struct{ Bucket string }
StorageFS implements a VFS backed by a bucket in Google Cloud Storage
Click to show internal directories.
Click to hide internal directories.