Documentation ¶
Overview ¶
Package gcs implements an indexpack VFS backed by Google Cloud Storage.
Index ¶
- type FS
- func (s FS) Create(ctx context.Context, path string) (io.WriteCloser, error)
- func (s FS) Glob(ctx context.Context, glob string) ([]string, error)
- func (FS) MkdirAll(_ context.Context, path string, mode os.FileMode) error
- func (s FS) Open(ctx context.Context, path string) (io.ReadCloser, error)
- func (s FS) Remove(ctx context.Context, path string) error
- func (s FS) Rename(ctx context.Context, oldPath, newPath string) error
- func (s FS) 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 FS ¶
type FS struct{ Bucket string }
FS implements a VFS backed by a bucket in Google Cloud Storage
Click to show internal directories.
Click to hide internal directories.