package internal
import "golang.org/x/build/internal"
Index ¶
- func PeriodicallyDo(ctx context.Context, period time.Duration, f func(context.Context, time.Time))
- func WaitOrStop(ctx context.Context, cmd *exec.Cmd, interrupt os.Signal, killDelay time.Duration) error
Functions ¶
func PeriodicallyDo ¶
PeriodicallyDo calls f every period until the provided context is cancelled.
func WaitOrStop ¶
func WaitOrStop(ctx context.Context, cmd *exec.Cmd, interrupt os.Signal, killDelay time.Duration) error
WaitOrStop waits for the already-started command cmd by calling its Wait method.
If cmd does not return before ctx is done, WaitOrStop sends it the given interrupt signal. If killDelay is positive, WaitOrStop waits that additional period for Wait to return before sending os.Kill.
Source Files ¶
internal.go
Directories ¶
Path | Synopsis |
---|---|
internal/access | Package access provides primitives for implementing authentication and authorization. |
internal/basedir | Package basedir finds templates and static files associated with a binary. |
internal/buildgo | Package buildgo provides tools for pushing and building the Go distribution on buildlets. |
internal/buildstats | Package buildstats contains code to sync the coordinator's build logs from Datastore to BigQuery. |
internal/cloud | |
internal/cmd | |
internal/cmd/update-protos | The update-protos tool updates .pb.go files in the golang.org/x/build source tree. |
internal/coordinator | |
internal/coordinator/pool | |
internal/coordinator/pool/queue | |
internal/coordinator/remote | Package remote provides remote access to resources in the build infrastructure. |
internal/coordinator/schedule | |
internal/criadb | Package criadb provides a wrapper around the CrIA authorization database. |
internal/dash | Package dash reads build.golang.org's dashboards. |
internal/datastore | |
internal/datastore/fake | Package fake provides a fake implementation of a Datastore client to use in testing. |
internal/diff | |
internal/envutil | Package envutil provides utilities for working with environment variables. |
internal/foreach | Package foreach provides allocation-conscious helpers for iterating over lines of text. |
internal/gcsfs | gcsfs implements io/fs for GCS, adding writability. |
internal/gitauth | Package gitauth writes gitcookies files so git will authenticate to Gerrit as gopherbot for quota purposes. |
internal/gitfs | Package gitfs presents a file tree downloaded from a remote Git repo as an in-memory fs.FS. |
internal/gomote | Package gomote contains all of the necessary components to implement and use the gomote functionality. |
internal/gomote/protos | |
internal/gomoteserver | |
internal/gomoteserver/ui | |
internal/gophers | Package gophers is a list of names, emails, and GitHub usernames of people from the Go git repos and issue trackers. |
internal/httpdl | Package httpdl downloads things from HTTP to local disk. |
internal/https | Package https contains helpers for starting an HTTP/HTTPS server. |
internal/iapclient | Package iapclient enables programmatic access to IAP-secured services. |
internal/influx | Package influx provides common constants for setting up and access the performance monitoring InfluxDB instance. |
internal/installer | |
internal/installer/darwinpkg | Package darwinpkg encodes the process of building a macOS PKG installer from the given Go toolchain .tar.gz binary archive. |
internal/installer/windowsmsi | Package windowsmsi encodes the process of building a Windows MSI installer from the given Go toolchain .tar.gz binary archive. |
internal/loghash | Package loghash provides the shared information for computing a log hash (as in https://build.golang.org/log/HASH). |
internal/logparser | Package logparser parses build.golang.org dashboard logs. |
internal/lru | Package lru implements an LRU cache. |
internal/luci | Package luci contains commonly needed LUCI helpers. |
internal/macservice | Package macservice defines the client API for MacService. |
internal/metrics | Package metrics provides a service for reporting metrics to Stackdriver, or locally during development. |
internal/migration | Package migration holds some knobs related to the migration from the now-legacy build infrastructure to the new LUCI build infrastructure. |
internal/releasetargets | |
internal/relui | |
internal/relui/db | |
internal/relui/groups | Package groups contains group definitions for ACL purposes. |
internal/relui/protos | |
internal/relui/sign | Package sign provides implementations for servers which can sign Go release artifacts. |
internal/rendezvous | |
internal/secret | Package secret provides a client interface for interacting with the GCP Secret Management service. |
internal/singleflight | Package singleflight provides a duplicate function call suppression mechanism. |
internal/sourcecache | Package sourcecache provides a cache of code found in Git repositories. |
internal/spanlog | Package spanlog provides span and event logger interfaces. |
internal/task | Package task implements tasks involved in making a Go release. |
internal/untar | Package untar untars a tarball to disk. |
internal/workflow | Package workflow declaratively defines computation graphs that support automatic parallelization, persistence, and monitoring. |
- Version
- v0.0.0-20250421191922-3619c213cff3 (latest)
- Published
- Apr 21, 2025
- Platform
- linux/amd64
- Imports
- 4 packages
- Last checked
- 3 months ago –
Tools for package owners.