luci: go.chromium.org/luci/common

Directories

PathSynopsis
api
api/buildbucket/buildbucket/v1Package buildbucket provides access to the Build Bucket Service.
api/buildbucket/swarmbucket/v1Package swarmbucket provides access to the Buildbucket-Swarming integration.
api/gerrit
api/gitilesPackage gitiles implements GitilesClient in "go.chromium.org/common/proto/gitiles" package on top of Gitiles's REST API.
api/isolate/isolateservice/v1Package isolateservice provides access to the .
api/luci_config/config/v1Package config provides access to the Configuration Service.
api/machine_provider/machine/v1Package machine provides access to the .
api/swarming/swarming/v1Package swarming provides access to the .
bqPackage bq is a library for working with BigQuery.
cliPackage cli is a helper package for "github.com/maruel/subcommands".
clockPackage clock is an interface to system time and timers which is easy to test.
clock/clockflag
clock/testclock
data/base128Package base128 implements base128 encoding and decoding.
data/bit_field
data/bit_field/tool
data/caching/cachePackage cache implements both in-memory and on-disk caching.
data/caching/cacheContextPackage cacheContext implements a context.Context wrapper which caches the results of Value calls, speeding up subsequent calls for the same key.
data/caching/lazyslotPackage lazyslot implements a caching scheme for globally shared objects that take significant time to refresh.
data/caching/lruPackage lru provides least-recently-used (LRU) cache.
data/chunkstream
data/cmpbinPackage cmpbin provides binary serialization routines which ensure that the serialized objects maintain the same sort order of the original inputs when sorted bytewise (i.e.
data/jsontimePackage jsontime implements a JSON-serializable container for a time.Time.
data/rand/cryptorandPackage cryptorand implements a mockable source or crypto strong randomness.
data/rand/mathrandPackage mathrand implements a mockable interface for math/rand.Rand.
data/recordioPackage recordio implements a basic RecordIO reader and writer.
data/sortbyPackage sortby provides a succinct way to generate correctly-behaved Less funcions for use with the stdlib 'sort' package.
data/stringsetPackage stringset is an exceedingly simple 'set' implementation for strings.
data/strpairPackage strpair implements parsing and formatting of lists of colon-delimited key-value pair strings.
data/text
data/text/color
data/text/indented
data/text/patternPackage pattern implements lightweight parsable string patterns.
data/text/sanitizehtmlPackage sanitizehtml implements a sanitizer of a very limited HTML.
data/text/stringtemplatePackage stringtemplate implements Python string.Template-like substitution.
data/text/templateprotoPackage templateproto defines a proto-based way to configure templates for JSON documents.
data/text/unitsPackage units provides common useful printable units.
data/treapstorePackage treapstore is a lightweight append-only in-memory key-value store built on top a treap (tree + heap) implementation.
errorsPackage errors is an augmented replacement package for the stdlib "errors" package.
flag
flag/fixflagpos
flag/flagenumPackage flagenum is a utility package which facilitates implementation of flag.Value, json.Marshaler, and json.Unmarshaler interfaces via a string-to- value mapping.
flag/multiflagPackage multiflag is a package providing a flag.Value implementation capable of switching between multiple registered sub-flags, each of which have their own set of parameter flags.
flag/nestedflagset
flag/stringlistflagPackage stringlistflag provides a flag.Value implementation which resolves multiple args into a []string.
flag/stringmapflagPackage stringmapflag provides a flag.Value that, when parsed, augments a map[string]string with the supplied parameter.
flag/stringsetflagPackage stringsetflag provides a flag.Value implementation which resolves multiple args into a stringset.
gcloud/gaePackage gae defines information about the AppEngine environment.
gcloud/googleoauthPackage googleoauth contains some helpers related to Google OAuth2.
gcloud/gsPackage gs implements a versatile Google Storage client on top of the standard Google Storage Go API.
gcloud/iamPackage iam implements wrappers around some Google Cloud IAM APIs.
gcloud/pubsub
iotoolsPackage iotools contains a collection of I/O-related utility structs and methods.
isolatedPackage isolated defines the isolated common code shared by the client and server.
isolatedclientPackage isolatedclient implements the API to communicate with the Isolated server and to process '.isolated' files.
isolatedclient/isolatedfakePackage isolatedfake implements an in-process fake Isolated server for integration testing.
lhttpPackage lhttp implements HTTP client helper code (JSON, automatic retries, authentication, etc).
loggingPackage logging defines Logger interface and context.Context helpers to put\get logger from context.Context.
logging/gkeloggerPackage gkelogger is a simple logger that outputs all log entries as single- line JSON objects to stdout.
logging/gologgerPackage gologger is a compatibility layer between go-logging library and luci-go/common/logging.
logging/memlogger
logging/teelogger
proto
proto/accessPackage access contains Access service protocol.
proto/configPackage config contains luci-config protobuf definitions.
proto/gerritPackage gerrit contains Gerrit service definition.
proto/gitPackage git contains Git-related protobuf definitions.
proto/gitilesPackage gitiles contains Gitiles service definition.
proto/googlePackage google contains utility methods to help interface between Google standard protobufs and native Go types.
proto/google/descutilPackage descutil contains utility functions for protobuf descriptor messages.
proto/miloPackage milo contains Milo protobuf definitions.
proto/srcmanPackage srcman contains source manifest protobuf definitions.
retry
retry/transientPackage transient allows you to tag and retry 'transient' errors (i.e.
runtime/goroutinePackage goroutine is mostly to house a function for obtaining the current goroutine ID, but probably will eventually contain other naughty functions.
runtime/paniccatcherPackage paniccatcher package exposes a set of utility structures and methods that support standardized panic catching and handling.
runtime/profiling
runtime/tracerPackage tracer implements code to generate Chrome-compatible traces.
sync/bufferpoolPackage bufferpool implements a pool of bytes.Buffer instances backed by a sync.Pool.
sync/cancelcondPackage cancelcond implements a wrapper around sync.Cond that response to context.Context cancellation.
sync/mutexpoolPackage mutexpool implements P, a pool of keyed mutexes.
sync/parallel
sync/promise
system/environPackage environ is a simple environment variable manipulation library.
system/exitcodePackage exitcode provides common methods to extract exit codes from errors returned by exec.Cmd.
system/filesystem
system/pagerPackage pager implements paging using commands "less" or "more", depending on availability.
system/proberPackage prober exports Probe, which implements logic to identify a wrapper's wrapped target.
system/signalsPackage signals makes it easier to catch SIGTERM.
system/terminalPackage terminal is just a way to forward
testing/assertionsPackage assertions is designed to be a collection of `.` importable, goconvey compatible testing assertions, in the style of "github.com/smartystreets/assertions".
testing/httpmitm
testing/prpctestPackage prpctest is a package to facilitate pRPC testing by wrapping httptest with a pRPC Server.
testing/testfs
tsmonPackage tsmon contains global state and utility functions for configuring and interacting with tsmon.
tsmon/distributionPackage distribution contains distribution metrics, fixed width and geometric bucketers.
tsmon/fieldPackage field contains constructors for metric field definitions.
tsmon/metricPackage metric is the API for defining metrics and updating their values.
tsmon/monitorPackage monitor contains the code for sending metric data to monitoring endpoints.
tsmon/registryPackage registry holds a map of all metrics registered by the process.
tsmon/runtimestatsPackage runtimestats exposes metrics related to the Go runtime.
tsmon/storePackage store contains code for storing and retreiving metrics.
tsmon/store/storetestPackage storetest is imported exclusively by tests for Store implementations.
tsmon/targetPackage target contains information about the thing that is sending metrics - either a NetworkDevice (a machine) or a Task (a service).
tsmon/ts_mon_protoPackage ts_mon_proto contains ts_mon protobuf source and generated protobuf data.
tsmon/typesPackage types contains miscellaneous structs and interfaces used throughout tsmon.
tsmon/versionsPackage versions allows processes to report string-valued metrics with versions of various libraries they link with.

Updated 2019-05-27. Refresh now. Tools for package owners.