internal

package
Version: v0.0.0-...-98eb568 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 30, 2022 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

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.

Types

This section is empty.

Source Files

Directories

Path Synopsis
Package access provides primitives for implementing authentication and authorization.
Package access provides primitives for implementing authentication and authorization.
Package basedir finds templates and static files associated with a binary.
Package basedir finds templates and static files associated with a binary.
Package buildgo provides tools for pushing and building the Go distribution on buildlets.
Package buildgo provides tools for pushing and building the Go distribution on buildlets.
Package buildstats contains code to sync the coordinator's build logs from Datastore to BigQuery.
Package buildstats contains code to sync the coordinator's build logs from Datastore to BigQuery.
coordinator
remote
Package remote provides remote access to resources in the build infrastructure.
Package remote provides remote access to resources in the build infrastructure.
datastore
fake
Package fake provides a fake implementation of a Datastore client to use in testing.
Package fake provides a fake implementation of a Datastore client to use in testing.
Package envutil provides utilities for working with environment variables.
Package envutil provides utilities for working with environment variables.
Package foreach provides allocation-conscious helpers for iterating over lines of text.
Package foreach provides allocation-conscious helpers for iterating over lines of text.
gcsfs implements io/fs for GCS, adding writability.
gcsfs implements io/fs for GCS, adding writability.
Package gitauth writes gitcookies files so git will authenticate to Gerrit as gopherbot for quota purposes.
Package gitauth writes gitcookies files so git will authenticate to Gerrit as gopherbot for quota purposes.
Package gomote contains all of the necessary components to implement and use the gomote functionality.
Package gomote contains all of the necessary components to implement and use the gomote functionality.
Package gophers is a list of names, emails, and GitHub usernames of people from the Go git repos and issue trackers.
Package gophers is a list of names, emails, and GitHub usernames of people from the Go git repos and issue trackers.
Package httpdl downloads things from HTTP to local disk.
Package httpdl downloads things from HTTP to local disk.
Package https contains helpers for starting an HTTP/HTTPS server.
Package https contains helpers for starting an HTTP/HTTPS server.
Package iapclient enables programmatic access to IAP-secured services.
Package iapclient enables programmatic access to IAP-secured services.
Package influx provides common constants for setting up and access the performance monitoring InfluxDB instance.
Package influx provides common constants for setting up and access the performance monitoring InfluxDB instance.
Package loghash provides the shared information for computing a log hash (as in https://build.golang.org/log/HASH).
Package loghash provides the shared information for computing a log hash (as in https://build.golang.org/log/HASH).
Package logparser parses build.golang.org dashboard logs.
Package logparser parses build.golang.org dashboard logs.
Package lru implements an LRU cache.
Package lru implements an LRU cache.
Package metrics provides a service for reporting metrics to Stackdriver, or locally during development.
Package metrics provides a service for reporting metrics to Stackdriver, or locally during development.
db
sign
Package sign provides implementations for servers which can sign Go release artifacts.
Package sign provides implementations for servers which can sign Go release artifacts.
Package secret provides a client interface for interacting with the GCP Secret Management service.
Package secret provides a client interface for interacting with the GCP Secret Management service.
Package singleflight provides a duplicate function call suppression mechanism.
Package singleflight provides a duplicate function call suppression mechanism.
Package sourcecache provides a cache of code found in Git repositories.
Package sourcecache provides a cache of code found in Git repositories.
Package spanlog provides span and event logger interfaces.
Package spanlog provides span and event logger interfaces.
Package task implements tasks involved in making a Go release.
Package task implements tasks involved in making a Go release.
releaselet
Command releaselet does buildlet-side release construction tasks.
Command releaselet does buildlet-side release construction tasks.
Package untar untars a tarball to disk.
Package untar untars a tarball to disk.
Package workflow declaratively defines computation graphs that support automatic parallelization, persistence, and monitoring.
Package workflow declaratively defines computation graphs that support automatic parallelization, persistence, and monitoring.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL