grpcservers

package
v0.0.0-...-a9d0937 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 14 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewActionCacheServer

func NewActionCacheServer(blobAccess blobstore.BlobAccess, maximumMessageSizeBytes int) remoteexecution.ActionCacheServer

NewActionCacheServer creates a GRPC service for serving the contents of a Bazel Action Cache (AC) to Bazel.

func NewByteStreamServer

func NewByteStreamServer(blobAccess blobstore.BlobAccess, readChunkSize int) bytestream.ByteStreamServer

NewByteStreamServer creates a GRPC service for reading blobs from and writing blobs to a BlobAccess. It is used by Bazel to access the Content Addressable Storage (CAS).

func NewContentAddressableStorageServer

func NewContentAddressableStorageServer(contentAddressableStorage blobstore.BlobAccess, maximumMessageSizeBytes int64) remoteexecution.ContentAddressableStorageServer

NewContentAddressableStorageServer creates a GRPC service for serving the contents of a Bazel Content Addressable Storage (CAS) to Bazel.

func NewFileSystemAccessCacheServer

func NewFileSystemAccessCacheServer(blobAccess blobstore.BlobAccess, maximumMessageSizeBytes int) fsac.FileSystemAccessCacheServer

NewFileSystemAccessCacheServer creates a gRPC service for serving the contents of an File System Access Cache (FSAC). The FSAC is a service that is specific to Buildbarn, used to store profiles of file system access patterns of build actions. These profiles can be used to perform readahead of objects stored in the action's input root.

func NewIndirectContentAddressableStorageServer

func NewIndirectContentAddressableStorageServer(blobAccess blobstore.BlobAccess, maximumMessageSizeBytes int) icas.IndirectContentAddressableStorageServer

NewIndirectContentAddressableStorageServer creates a gRPC service for serving the contents of an Indirect Content Addressable Storage (ICAS). The ICAS is a Buildbarn specific extension for integrating external corpora into the CAS.

func NewInitialSizeClassCacheServer

func NewInitialSizeClassCacheServer(blobAccess blobstore.BlobAccess, maximumMessageSizeBytes int) iscc.InitialSizeClassCacheServer

NewInitialSizeClassCacheServer creates a gRPC service for serving the contents of an Initial Size Class Cache (ISCC). The ISCC is a Buildbarn specific extension for letting the scheduler store execution times of actions, so that it can make better predictions about which size class to pick during future invocations of similar actions.

Types

This section is empty.

Jump to

Keyboard shortcuts

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