e2e

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllocateDockerSubnet

func AllocateDockerSubnet(ctx context.Context) (string, string, error)

AllocateDockerSubnet returns a /24 subnet and gateway that do not overlap with any currently known Docker network on the local daemon.

func GetIP

func GetIP(subnet string, suffix int) string

GetIP returns an IP address within the allocated subnet for a given host suffix. It reserves the last octet for the requested suffix, so callers should use small host numbers such as 2, 10, 100, etc.

Types

This section is empty.

Jump to

Keyboard shortcuts

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