Documentation ¶
Index ¶
- type BazelRemoteCache
- func (brc *BazelRemoteCache) Close()
- func (brc *BazelRemoteCache) ErrorMsg(err error) string
- func (brc *BazelRemoteCache) GetBlob(ctx context.Context, digest *Digest) ([]byte, error)
- func (brc *BazelRemoteCache) GetCacheResult(ctx context.Context, digest string) (*remoteexecution.ActionResult, error)
- type Digest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BazelRemoteCache ¶
type BazelRemoteCache struct {
// contains filtered or unexported fields
}
BazelRemoteCache is a client of a Bazel remote cache.
func (*BazelRemoteCache) Close ¶
func (brc *BazelRemoteCache) Close()
Close closed the client of a Bazel remote cache.
func (*BazelRemoteCache) ErrorMsg ¶
func (brc *BazelRemoteCache) ErrorMsg(err error) string
ErrorMsg returns the error message of the given error.
func (*BazelRemoteCache) GetCacheResult ¶
func (brc *BazelRemoteCache) GetCacheResult(ctx context.Context, digest string) (*remoteexecution.ActionResult, error)
GetCacheResult returns the given ActionCache stored in the Bazel remote cache.
Click to show internal directories.
Click to hide internal directories.