Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewActionCacheServer ¶
func NewActionCacheServer(actionCache ActionCache, allowUpdatesForInstances map[string]bool) remoteexecution.ActionCacheServer
NewActionCacheServer creates a GRPC service for serving the contents of a Bazel Action Cache (AC) to Bazel.
Types ¶
type ActionCache ¶
type ActionCache interface { GetActionResult(ctx context.Context, digest *util.Digest) (*remoteexecution.ActionResult, error) PutActionResult(ctx context.Context, digest *util.Digest, result *remoteexecution.ActionResult) error }
ActionCache provides typed access to a Bazel Action Cache (AC).
func NewBlobAccessActionCache ¶
func NewBlobAccessActionCache(blobAccess blobstore.BlobAccess) ActionCache
NewBlobAccessActionCache creates an ActionCache object that reads and writes action cache entries from a BlobAccess based store.
Click to show internal directories.
Click to hide internal directories.