heuristic

package
v0.113.1 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: AGPL-3.0 Imports: 9 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const CloudBuildNetworkName = "cloudbuild"

https://cloud.google.com/cloud-build/docs/build-config#network

Variables

This section is empty.

Functions

func GetCloudBuildIP

func GetCloudBuildIP(ctx context.Context) string

func IsRunningWindowsContainers added in v0.21.0

func IsRunningWindowsContainers(ctx context.Context) bool

Types

type Listener added in v0.51.0

type Listener struct {
	// contains filtered or unexported fields
}

func NewListener added in v0.51.0

func NewListener(ctx context.Context, address string, virtualMachine bool) (*Listener, error)

func (*Listener) Accept added in v0.51.0

func (lis *Listener) Accept() (net.Conn, error)

func (*Listener) Addr added in v0.51.0

func (lis *Listener) Addr() net.Addr

func (*Listener) Close added in v0.51.0

func (lis *Listener) Close() error

func (*Listener) ContainerEndpoint added in v0.51.0

func (lis *Listener) ContainerEndpoint() string

ContainerEndpoint returns listener address suitable for use in agent's "-api-endpoint" flag when running inside of a container.

func (*Listener) DirectEndpoint added in v0.51.0

func (lis *Listener) DirectEndpoint() string

DirectEndpoint returns listener address suitable for use in agent's "-api-endpoint" flag when running on the host.

Jump to

Keyboard shortcuts

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