Documentation ¶
Overview ¶
Package casclient provides remote-apis-sdks client with luci integration.
Index ¶
- Constants
- func ContextWithMetadata(ctx context.Context, toolName string) (context.Context, error)
- func DefaultConfig() cas.ClientConfig
- func New(ctx context.Context, addr string, instance string, opts auth.Options, ...) (*cas.Client, error)
- func NewLegacy(ctx context.Context, addr string, instance string, opts auth.Options, ...) (*client.Client, error)
- func Options() []client.Opt
- type Flags
- Bugs
Constants ¶
View Source
const AddrProd = "remotebuildexecution.googleapis.com:443"
AddrProd is the PROD CAS service address.
Variables ¶
This section is empty.
Functions ¶
func ContextWithMetadata ¶
ContextWithMetadata attaches RBE related metadata with tool name to the given context.
func DefaultConfig ¶
func DefaultConfig() cas.ClientConfig
DefaultConfig returns default CAS client configuration.
func New ¶
func New(ctx context.Context, addr string, instance string, opts auth.Options, readOnly bool) (*cas.Client, error)
New returns luci auth configured Client for RBE-CAS.
Types ¶
Notes ¶
Bugs ¶
- encountered timeouts when uploading, so speculatively adjusting this.
- encountered timeouts when uploading, so speculatively adjusting this.
Click to show internal directories.
Click to hide internal directories.