Documentation
¶
Index ¶
- Variables
- type GetChange
- type GetPrefix
- type Handler
- func (h Handler) Change(fs billy.Filesystem) billy.Change
- func (h Handler) FSStat(_ context.Context, _ billy.Filesystem, _ *nfs.FSStat) error
- func (h Handler) FromHandle(_ []byte) (billy.Filesystem, []string, error)
- func (h Handler) HandleLimit() int
- func (h Handler) InvalidateHandle(_ billy.Filesystem, _ []byte) error
- func (h Handler) Mount(ctx context.Context, conn net.Conn, request nfs.MountRequest) (nfs.MountStatus, billy.Filesystem, []nfs.AuthFlavor)
- func (h Handler) String() string
- func (h Handler) ToHandle(_ billy.Filesystem, _ []string) []byte
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidSandbox = errors.New("invalid sandbox")
Functions ¶
This section is empty.
Types ¶
type GetPrefix ¶
type GetPrefix func(context.Context, net.Addr, nfs.MountRequest) (billy.Filesystem, string, error)
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func NewNFSHandler ¶
func (Handler) FromHandle ¶
func (Handler) HandleLimit ¶
func (Handler) InvalidateHandle ¶
func (h Handler) InvalidateHandle(_ billy.Filesystem, _ []byte) error
func (Handler) Mount ¶
func (h Handler) Mount(ctx context.Context, conn net.Conn, request nfs.MountRequest) (nfs.MountStatus, billy.Filesystem, []nfs.AuthFlavor)
Click to show internal directories.
Click to hide internal directories.