package
0.0.0-20250227074154-20a2e6d4cc71
Repository: https://github.com/buildbarn/bb-remote-execution.git
Documentation: pkg.go.dev

# Functions

NewDefaultAttributesInjectingRawFileSystem creates a decorator for RawFileSystem that places default values into AttrOut and EntryOut structures before they are passed on to FUSE operations.
NewInHeaderAuthenticator creates an Authenticator that obtains authentication metadata from an incoming FUSE request by inspecting the "fuse_in_header" structure that's provided by the kernel.
NewMetricsRawFileSystem creates a decorator for fuse.RawFileSystem that exposes Prometheus metrics for each of the operations invoked.
NewSimpleRawFileSystem creates a go-fuse RawFileSystem that converts flat FUSE operations to calls against a hierarchy of Directory and Leaf objects.
SetLinuxBackingDevInfoTunables adjusts tunables of the Linux Backing Dev Info (BDI) belonging to a FUSE mount.

# Constants

AttributesMaskForFUSEAttr is the attributes mask to use for VirtualGetAttributes() to populate all relevant fields of fuse.Attr.
AttributesMaskForFUSEDirEntry is the attributes mask to use for VirtualReadDir() to populate all relevant fields of fuse.DirEntry.

# Variables

AllowAuthenticator is an implementation of Authenticator that simply permits all incoming requests.

# Interfaces

Authenticator of incoming FUSE requests.