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

# Packages

No description provided by the author
No description provided by the author

# Functions

NewBitmapSectorAllocator creates a SectorAllocator that stores information on which sectors are allocated in a bitmap.
NewBlockDeviceBackedFilePool creates a FilePool that stores all temporary file contents directly on a block device.
NewDirectoryBackedFilePool creates a FilePool that stores all data written to files into a single directory on disk.
NewFilePoolFromConfiguration constructs a FilePool based on parameters provided in a configuration file.
NewLazyDirectory creates a directory handle that forwards all calls to a directory that is created on demand.
NewMetricsFilePool creates a decorator for FilePool that exposes Prometheus metrics on how many files are created and closed.
NewQuotaEnforcingFilePool creates a FilePool that enforces disk quotas.

# Variables

EmptyFilePool is a FilePool that does not permit the creation of new files.
InMemoryFilePool is a FilePool that stores all data in memory.

# Interfaces

FilePool is an allocator for temporary files.
SectorAllocator is used by BlockDeviceBackedFilePool to allocate space on the block device that is needed to store files.

# Type aliases

DirectoryOpener is a callback that is used by LazyDirectory to open the underlying directory on demand.