network

package
v0.18.4 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultCIDR = "10.87.0.0/16"

DefaultCIDR is the default address range to use for networked containers.

View Source
const DefaultName = "dagger"

DefaultName is a short name for the engine's container network. It is used for interface name.

View Source
const DomainSuffix = ".dagger.local"

DomainSuffix is an extra domain suffix appended to every session's unique domain. It is used to identify which domains to propagate from a parent session's /etc/resolv.conf to a child (nested Dagger) session's network config so that nested code can reach services in the parent.

Variables

This section is empty.

Functions

func BridgeFromCIDR added in v0.4.2

func BridgeFromCIDR(subnet string) (net.IP, error)

func HostHash added in v0.8.0

func HostHash(val digest.Digest) string

func HostHashStr added in v0.8.0

func HostHashStr(val string) string

func ModuleDomain added in v0.13.4

func ModuleDomain(modID *call.ID, sid string) string

SessionDomain is a session-wide domain suffix for a given session ID.

func SessionDomain added in v0.13.4

func SessionDomain(sid string) string

SessionDomain is a session-wide domain suffix for a given session ID.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳