Documentation
¶
Index ¶
- type BlobFS
- func (fs *BlobFS) DeleteFile(ctx context.Context, filepath string) error
- func (fs *BlobFS) Exists(ctx context.Context, filepath string) (bool, error)
- func (fs *BlobFS) ReadFile(ctx context.Context, filepath string) ([]byte, error)
- func (fs *BlobFS) SignedURL(ctx context.Context, filepath string, opts *blob.SignedURLOptions) (string, error)
- func (fs *BlobFS) WriteFile(ctx context.Context, filepath string, data []byte) error
- type Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlobFS ¶
type BlobFS struct {
// contains filtered or unexported fields
}
func (*BlobFS) DeleteFile ¶ added in v0.1.8
type Interface ¶ added in v0.1.9
type Interface interface { WriteFile(ctx context.Context, filepath string, data []byte) error ReadFile(ctx context.Context, filepath string) ([]byte, error) DeleteFile(ctx context.Context, filepath string) error Exists(ctx context.Context, filepath string) (bool, error) SignedURL(ctx context.Context, filepath string, opts *blob.SignedURLOptions) (string, error) }
func NewInMemoryFS ¶ added in v0.1.4
func NewInMemoryFS() Interface
Click to show internal directories.
Click to hide internal directories.