grpcclients

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: 16 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewACBlobAccess

func NewACBlobAccess(client grpc.ClientConnInterface, maximumMessageSizeBytes int) blobstore.BlobAccess

NewACBlobAccess creates a BlobAccess handle that relays any requests to a GRPC service that implements the remoteexecution.ActionCache service. That is the service that Bazel uses to access action results stored in the Action Cache.

func NewCASBlobAccess

func NewCASBlobAccess(client grpc.ClientConnInterface, uuidGenerator util.UUIDGenerator, readChunkSize int) blobstore.BlobAccess

NewCASBlobAccess creates a BlobAccess handle that relays any requests to a GRPC service that implements the bytestream.ByteStream and remoteexecution.ContentAddressableStorage services. Those are the services that Bazel uses to access blobs stored in the Content Addressable Storage.

func NewFSACBlobAccess

func NewFSACBlobAccess(client grpc.ClientConnInterface, maximumMessageSizeBytes int) blobstore.BlobAccess

NewFSACBlobAccess creates a BlobAccess that relays any requests to a gRPC server that implements the fsac.FileSystemAccessCache service.

This 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 NewICASBlobAccess

func NewICASBlobAccess(client grpc.ClientConnInterface, maximumMessageSizeBytes int) blobstore.BlobAccess

NewICASBlobAccess creates a BlobAccess that relays any requests to a gRPC server that implements the icas.IndirectContentAddressableStorage service. This is a service that is specific to Buildbarn, used to track references to objects stored in external corpora.

func NewISCCBlobAccess

func NewISCCBlobAccess(client grpc.ClientConnInterface, maximumMessageSizeBytes int) blobstore.BlobAccess

NewISCCBlobAccess creates a BlobAccess that relays any requests to a gRPC server that implements the iscc.InitialSizeClassCacheClient service. This is a service that is specific to Buildbarn, used to let 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