netconfig

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

netconfig is the device init-container helper. It configures each declared interface inside the pod netns: static interfaces get their fixed IP/routes; dhcp-preset interfaces lease a dynamic address from the lab DHCP server (for images that carry no DHCP client of their own). Interfaces the image handles itself (addr.type=dhcp) are not listed here — the operator gives those pods NET_ADMIN+NET_RAW instead.

Config is a JSON array passed in the NETCONFIG env var so no user-controlled value is ever interpolated into a shell.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run()

Types

This section is empty.

Jump to

Keyboard shortcuts

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