ac

package
v0.0.0-...-938d447 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 5, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL