internal

package
v0.0.0-...-ab8d13a Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2024 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.

Directories

Path Synopsis
Package gcpdial monitors VM instance groups to let frontends dial them directly without going through an internal load balancer.
Package gcpdial monitors VM instance groups to let frontends dial them directly without going through an internal load balancer.
gcpdialtool
The gcpdialtool command is an interactive validation tool for the gcpdial package.
The gcpdialtool command is an interactive validation tool for the gcpdial package.
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.

Jump to

Keyboard shortcuts

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