heuristic

package
v0.123.0 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2024 License: AGPL-3.0 Imports: 9 Imported by: 0

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