Documentation ¶
Overview ¶
Package digest handles content digest for remote executon API, https://github.com/bazelbuild/remote-apis/blob/c1c1ad2c97ed18943adb55f06657440daa60d833/build/bazel/remote/execution/v2/remote_execution.proto#L633
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DefaultViews = []*view.View{ { Name: "go.chromium.org/goma/server/remoteexec/digest.cache-entries", Description: `number of digest cache entries`, Measure: cacheStats, Aggregation: view.Sum(), }, { Name: "go.chromium.org/goma/server/remoteexec/digest.cache-ops", Description: `digest cache operations`, Measure: cacheStats, TagKeys: []tag.Key{ opKey, fileExtKey, }, Aggregation: view.Count(), }, } )
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache struct {
// contains filtered or unexported fields
}
Cache caches file's digest data.
type Data ¶
Data is data identified by digest.
func FromSource ¶
FromSource creates digests from source.
Click to show internal directories.
Click to hide internal directories.