internal

package
Version: v0.0.0-...-af7dff6 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2021 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 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
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.
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.
gomote
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 HTTPS server.
Package https contains helpers for starting an HTTPS server.
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 lru implements an LRU cache.
Package lru implements an LRU cache.
db
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.
Package untar untars a tarball to disk.
Package untar untars a tarball to disk.
Package workflow declaratively defines computation graphs that support automatic parallelization, persistance, and monitoring.
Package workflow declaratively defines computation graphs that support automatic parallelization, persistance, and monitoring.

Jump to

Keyboard shortcuts

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