Documentation
¶
Index ¶
- Variables
- func ValidatePath(path string) (string, error)
- type Dir
- func (d *Dir) Access(ctx context.Context, req *fuse.AccessRequest) error
- func (d *Dir) Attr(ctx context.Context, attr *fuse.Attr) error
- func (d *Dir) Lookup(ctx context.Context, req *fuse.LookupRequest, resp *fuse.LookupResponse) (fs.Node, error)
- func (d *Dir) ReadDirAll(ctx context.Context) ([]fuse.Dirent, error)
- type FS
- type File
- func (f *File) Access(ctx context.Context, req *fuse.AccessRequest) error
- func (f *File) Attr(ctx context.Context, attr *fuse.Attr) error
- func (f *File) Open(ctx context.Context, req *fuse.OpenRequest, resp *fuse.OpenResponse) (fs.Handle, error)
- func (f *File) Readlink(ctx context.Context, req *fuse.ReadlinkRequest) (string, error)
- type FileHandler
- func (fh *FileHandler) Flush(ctx context.Context, req *fuse.FlushRequest) error
- func (fh *FileHandler) Read(ctx context.Context, req *fuse.ReadRequest, resp *fuse.ReadResponse) error
- func (fh *FileHandler) ReadAll(ctx context.Context) ([]byte, error)
- func (fh *FileHandler) Release(ctx context.Context, req *fuse.ReleaseRequest) error
- type GearFS
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func ValidatePath ¶
Types ¶
type Dir ¶
type Dir struct {
// contains filtered or unexported fields
}
type FS ¶
type FS struct { IndexImagePath string PrivateCachePath string UpperPath string InitLayerPath string }
type File ¶
type File struct {
// contains filtered or unexported fields
}
type FileHandler ¶
type FileHandler struct {
// contains filtered or unexported fields
}
func (*FileHandler) Flush ¶
func (fh *FileHandler) Flush(ctx context.Context, req *fuse.FlushRequest) error
func (*FileHandler) Read ¶
func (fh *FileHandler) Read(ctx context.Context, req *fuse.ReadRequest, resp *fuse.ReadResponse) error
func (*FileHandler) Release ¶
func (fh *FileHandler) Release(ctx context.Context, req *fuse.ReleaseRequest) error
Click to show internal directories.
Click to hide internal directories.