package
0.0.0-20240820094325-ac37453d3fda
Repository: https://github.com/buildbarn/bb-clientd.git
Documentation: pkg.go.dev
# Functions
NewBazelOutputServiceDirectory creates a new instance of BazelOutputServiceDirectory.
NewBlobAccessCommandFileFactory creates a new CommandFileFactory that loads REv2 Command messages from the provided Content Addressable Storage, turning them into shell scripts capable of launching build actions.
NewCASDirectory creates an immutable directory that is backed by a Directory message stored in the Content Addressable Storage (CAS).
NewDecomposedCASDirectoryFactory creates a CASDirectoryFactory that is capable of creating directories that are backed by individual REv2 Directory messages that are stored in a Content Addressable Storage (CAS).
NewDigestParsingDirectory creates a directory that can be exposed through FUSE that parses filenames as REv2 digests.
NewHandleAllocatingCommandFileFactory creates a decorator for CommandFileFactory that creates shell scripts for launching build actions that have a resolvable handle associated with them.
NewInMemoryOutputPathFactory creates an OutputPathFactory that simply creates output paths that store all of their data in memory.
NewInstanceNameParsingDirectory creates a directory that can be exposed through FUSE that parses REv2 instance names.
NewLocalFileUploadingOutputPathFactory creates a decorator for OutputPathFactory that at the end of every build traverses the full output path and uploads any files into the Content Addressable Storage (CAS) that are not present remotely.
NewPersistentOutputPathFactory creates a decorator for OutputPathFactory that persists the contents of an OutputPath to disk after every build.
NewTreeCASDirectoryFactory creates a CASDirectoryFactory that is capable of creating directories that correspond to the root directory of REv2 Tree messages messages that are stored in a Content Addressable Storage (CAS).
# Structs
BazelOutputServiceDirectory is FUSE directory that acts as the top-level directory for Bazel Output Service.
# Interfaces
CASDirectoryContext contains all of the methods that the directory created by NewCASDirectory uses to obtain its contents and instantiate inodes for its children.
CASDirectoryFactory is a factory type for directories whose contents correspond with an object stored in the Content Addressable Storage (CAS).
CommandFileFactory is a factory type for virtual files that contain shell scripts that launch build actions according to the contents of an REv2 Command message.
OutputPath is a directory where build results may be stored.
OutputPathFactory is an interface that is invoked by BazelOutputServiceDirectory to manage individual directories where build results may be stored.
# Type aliases
DigestLookupFunc is called by directories created using NewDigestParsingDirectory to complete the parsing of a digest.
InstanceNameLookupFunc is called by directories created using NewInstanceNameParsingDirectory to complete the parsing of an instance name.