buildgolang.org/x/build/internal Index | Files | Directories

package internal

import "golang.org/x/build/internal"

Index

Functions

func PeriodicallyDo

func PeriodicallyDo(ctx context.Context, period time.Duration, f func(context.Context, time.Time))

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

PathSynopsis
internal/accessPackage access provides primitives for implementing authentication and authorization.
internal/basedirPackage basedir finds templates and static files associated with a binary.
internal/buildgoPackage buildgo provides tools for pushing and building the Go distribution on buildlets.
internal/buildstatsPackage buildstats contains code to sync the coordinator's build logs from Datastore to BigQuery.
internal/cloud
internal/cmd
internal/cmd/update-protosThe 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/remotePackage remote provides remote access to resources in the build infrastructure.
internal/coordinator/schedule
internal/criadbPackage criadb provides a wrapper around the CrIA authorization database.
internal/dashPackage dash reads build.golang.org's dashboards.
internal/datastore
internal/datastore/fakePackage fake provides a fake implementation of a Datastore client to use in testing.
internal/diff
internal/envutilPackage envutil provides utilities for working with environment variables.
internal/foreachPackage foreach provides allocation-conscious helpers for iterating over lines of text.
internal/gcsfsgcsfs implements io/fs for GCS, adding writability.
internal/gitauthPackage gitauth writes gitcookies files so git will authenticate to Gerrit as gopherbot for quota purposes.
internal/gitfsPackage gitfs presents a file tree downloaded from a remote Git repo as an in-memory fs.FS.
internal/gomotePackage gomote contains all of the necessary components to implement and use the gomote functionality.
internal/gomote/protos
internal/gomoteserver
internal/gomoteserver/ui
internal/gophersPackage gophers is a list of names, emails, and GitHub usernames of people from the Go git repos and issue trackers.
internal/httpdlPackage httpdl downloads things from HTTP to local disk.
internal/httpsPackage https contains helpers for starting an HTTP/HTTPS server.
internal/iapclientPackage iapclient enables programmatic access to IAP-secured services.
internal/influxPackage influx provides common constants for setting up and access the performance monitoring InfluxDB instance.
internal/installer
internal/installer/darwinpkgPackage darwinpkg encodes the process of building a macOS PKG installer from the given Go toolchain .tar.gz binary archive.
internal/installer/windowsmsiPackage windowsmsi encodes the process of building a Windows MSI installer from the given Go toolchain .tar.gz binary archive.
internal/loghashPackage loghash provides the shared information for computing a log hash (as in https://build.golang.org/log/HASH).
internal/logparserPackage logparser parses build.golang.org dashboard logs.
internal/lruPackage lru implements an LRU cache.
internal/luciPackage luci contains commonly needed LUCI helpers.
internal/macservicePackage macservice defines the client API for MacService.
internal/metricsPackage metrics provides a service for reporting metrics to Stackdriver, or locally during development.
internal/migrationPackage 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/groupsPackage groups contains group definitions for ACL purposes.
internal/relui/protos
internal/relui/signPackage sign provides implementations for servers which can sign Go release artifacts.
internal/rendezvous
internal/secretPackage secret provides a client interface for interacting with the GCP Secret Management service.
internal/singleflightPackage singleflight provides a duplicate function call suppression mechanism.
internal/sourcecachePackage sourcecache provides a cache of code found in Git repositories.
internal/spanlogPackage spanlog provides span and event logger interfaces.
internal/taskPackage task implements tasks involved in making a Go release.
internal/untarPackage untar untars a tarball to disk.
internal/workflowPackage 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.