# Functions
DefaultTreeSymlinkOpts returns a default DefaultTreeSymlinkOpts object.
NewClient connects to a remote execution service and returns a client suitable for higher-level functionality.
NewClientFromConnection creates a client from gRPC connections to a remote execution service and a cas service.
NewCompressedWriteBuffer creates wraps a io.Writer contained compressed contents to write decompressed contents.
OperationStatus returns an operation error status, if it is present, and nil otherwise.
OptsFromParams prepares a set of grpc dial options based on the provided dial params.
RetryTransient is a default retry policy for transient status codes.
StatusDetailedError creates a StatusError from Status, which is the same as st.Err() except it includes the error details in the error message.
# Constants
ApplicationDefaultCredsAuth refers to Google Application default credentials that is used to connect to the RBE service.
CredsFileAuth refers to a JSON credentials file used to connect to the RBE service.
DefaultCASConcurrency is the default maximum number of concurrent upload and download operations.
DefaultCompressedBytestreamThreshold is the default threshold, in bytes, for transferring blobs compressed on ByteStream.Write RPCs.
DefaultDirMode is mode used to create directories.
DefaultExecutableMode is mode used to create executable files.
DefaultMaxBatchDigests is a suggested approximate limit based on current RBE implementation.
DefaultMaxBatchSize is the maximum size of a batch to upload with BatchWriteBlobs.
DefaultMaxConcurrentRequests specifies the default maximum number of concurrent requests on a single connection that the GRPC balancer can perform.
DefaultMaxQueryBatchDigests is a suggested limit for the number of items for in batch for a missing blobs query.
DefaultRegularMode is mode used to create non-executable files.
DefaultUnifiedDownloadBufferSize is the default UnifiedDownloadBufferSize.
DefaultUnifiedDownloadTickDuration is the default UnifiedDownloadTickDuration.
DefaultUnifiedUploadBufferSize is the default UnifiedUploadBufferSize.
DefaultUnifiedUploadTickDuration is the default UnifiedUploadTickDuration.
ExternalTokenAuth is used to connect to the RBE service.
GCECredsAuth refers to GCE machine credentials that is used to connect to the RBE service.
HomeDirMacro is replaced by the current user's home dir in the CredFile dial parameter.
NoAuth refers to no authentication when connecting to the RBE service.
UnknownAuth refers to unknown authentication type.
# Variables
DefaultRPCTimeouts contains the default timeout of various RPC calls to RBE.
ErrEmptySegment indicates an attempt to construct a resource name with an empty segment.
# Structs
Action encodes the full details of an action to be sent to the remote execution service for execution.
Client is a client to several services, including remote execution and services used in conjunction with remote execution.
CompressedBlobInfo is primarily used to store stats about compressed blob size in addition to the actual blob data.
DialParams contains all the parameters that Dial needs.
InitError is used to wrap the error returned when initializing a new client to also indicate the type of authentication used.
MovedBytesMetadata represents the bytes moved in CAS related requests.
PerRPCCreds sets per-call options that will be set on all RPCs to the underlying connection.
Retrier applied to all client requests.
StatusError is the same as status.Error except it includes the error details in the error message.
TreeOutput represents a leaf output node in a nested directory structure (a file, a symlink, or an empty directory).
TreeStats contains various stats/metadata of the constructed Merkle tree.
TreeSymlinkOpts controls how symlinks are handled when constructing a tree.
# Interfaces
GrpcClientConn allows accepting pre-created connections to be used when creating clients.
Opt is an option that can be passed to Dial in order to configure the behaviour of the client.
# Type aliases
AuthType indicates the type of authentication being used.
CASConcurrency is the number of simultaneous requests that will be issued for CAS upload and download operations.
ChunkMaxSize is maximum chunk size to use in Bytestream wrappers.
CompressedBytestreamThreshold is the threshold for compressing blobs when writing/reading.
DirMode is mode used to create directories.
ExecutableMode is mode used to create executable files.
LegacyExecRootRelativeOutputs controls whether the client uses legacy behavior of treating output paths as relative to the exec root instead of the working directory.
MaxBatchDigests is maximum amount of digests to batch in upload and download operations.
MaxBatchSize is maximum size in bytes of a batch request for batch operations.
MaxQueryBatchDigests is maximum amount of digests to batch in query operations.
RegularMode is mode used to create non-executable files.
RPCTimeouts is a Opt that sets the per-RPC deadline.
StartupCapabilities controls whether the client should attempt to fetch the remote server capabilities on New.
UnifiedDownloadBufferSize is to tune when the daemon for UnifiedDownloads flushes the pending requests.
UnifiedDownloads is to specify whether client uploads files in the background, unifying operations between different actions.
UnifiedDownloadTickDuration is to tune how often the daemon for UnifiedDownloads flushes the pending requests.
UnifiedUploadBufferSize is to tune when the daemon for UnifiedUploads flushes the pending requests.
UnifiedUploads is to specify whether client uploads files in the background, unifying operations between different actions.
UnifiedUploadTickDuration is to tune how often the daemon for UnifiedUploads flushes the pending requests.
An UploadCompressionPredicate determines whether to compress a blob on upload.
UseBatchCompression is currently set to true when the server has SupportedBatchUpdateCompressors capability and supports ZSTD compression.
UseBatchOps can be set to true to use batch CAS operations when uploading multiple blobs, or false to always use individual ByteStream requests.
UtilizeLocality is to specify whether client downloads files utilizing disk access locality.