package
0.0.0-20250207195839-4efbcf8eb020
Repository: https://github.com/bazelbuild/remote-apis-sdks.git
Documentation: pkg.go.dev

# Functions

NewClientFromFlags connects to a remote execution service and returns a client suitable for higher-level functionality.

# Variables

CASConcurrency specifies the maximum number of concurrent upload & download RPCs that can be in flight.
CASService represents the host (and, if applicable, port) of the CAS service, if different from the remote execution service.
CredentialsHelper specifies a path to a credentials helper binary which should be used to fetch credentials.
CredentialsHelperArgs specifies arguments for the credentials helper binary,.
CredFile is the name of a file that contains service account credentials to use when calling remote execution.
Instance gives the instance of remote execution to test (in projects/[PROJECT_ID]/instances/[INSTANCE_NAME] format for Google RBE).
KeepAlivePermitWithoutStream specifies gRPCs keepalive permitWithoutStream parameter.
KeepAliveTime specifies gRPCs keepalive time parameter.
KeepAliveTimeout specifies gRPCs keepalive timeout parameter.
MaxConcurrentRequests denotes the maximum number of concurrent RPCs on a single gRPC connection.
RemoteHeaders stores additional headers to pass with each RPC.
RPCTimeouts stores the per-RPC timeout values.
Service represents the host (and, if applicable, port) of the remote execution service.
ServiceNoAuth can be set to disable authentication while still using TLS.
ServiceNoSecurity can be set to connect to the gRPC service without TLS and without authentication (enables --service_no_auth).
StartupCapabilities specifies whether to self-configure based on remote server capabilities on startup.
TLSCACert loads CA certificates from a file.
TLSClientAuthCert sets the public key in PEM format for using mTLS auth to connect to the RBE service.
TLSClientAuthKey sets the private key for using mTLS auth to connect to the RBE service.
TLSServerName overrides the server name sent in the TLS session.
UseApplicationDefaultCreds is whether to use application default credentials to connect to remote execution.
UseExternalAuthToken specifies whether to use an externally provided auth token, given via PerRPCCreds dial option, should be used.
UseGCECredentials is whether to use the default GCE credentials to authenticate with remote execution.
UseRPCCredentials can be set to false to disable all per-RPC credentials.