import "golang.org/x/playground/internal/gcpdial"
Package gcpdial monitors VM instance groups to let frontends dial them directly without going through an internal load balancer.
type Dialer struct {
// contains filtered or unexported fields
}
NewRegionInstanceGroupDialer returns a new dialer that dials named regional instance group in the provided project and region.
It begins polling immediately, and there's no way to stop it. (Until we need one)
PickIP returns a randomly healthy IP, waiting until one is available, or until ctx expires.
Path | Synopsis |
---|---|
gcpdialtool | The gcpdialtool command is an interactive validation tool for the gcpdial packge. |
Package gcpdial imports 11 packages (graph) and is imported by 4 packages. Updated 2020-12-11. Refresh now. Tools for package owners.