jailed

package
v0.0.0-...-eabd96d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 2, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidSandbox = errors.New("invalid sandbox")

Functions

This section is empty.

Types

type GetChange

type GetChange func(billy.Filesystem) billy.Change

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

func NewNFSHandler

func NewNFSHandler(prefix GetPrefix, getChange GetChange) Handler

func (Handler) Change

func (h Handler) Change(fs billy.Filesystem) billy.Change

func (Handler) FSStat

func (h Handler) FSStat(_ context.Context, _ billy.Filesystem, _ *nfs.FSStat) error

func (Handler) FromHandle

func (h Handler) FromHandle(_ []byte) (billy.Filesystem, []string, error)

func (Handler) HandleLimit

func (h Handler) HandleLimit() int

func (Handler) InvalidateHandle

func (h Handler) InvalidateHandle(_ billy.Filesystem, _ []byte) error

func (Handler) Mount

func (Handler) String

func (h Handler) String() string

func (Handler) ToHandle

func (h Handler) ToHandle(_ billy.Filesystem, _ []string) []byte

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL