Help us shape the future of Go! Take the 2026 Go Developer Survey

shape

package
v0.32.0 Latest Latest
Warning

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

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

Documentation

Overview

Package shape wires the `solo-provisioner network shape` verbs to the internal/network/shape manager. The shape scope manages the tc HTB bandwidth plane on $EGRESS (physical NIC) and $VETH (pod traffic), maintaining per-class rate/ceil/prio configurations that drive the bandwidth-shaper.sh boot script and the daemon pod-lifecycle watcher.

Two forms of `create` are supported, mutually exclusive via --class/--device:

  • create --device <dir> --rate <speed> --default <class>: configure the root HTB qdisc and trunk class for "ingress" ($VETH) or "egress" ($NIC).
  • create --class <name> --rate <speed> [--ceil <speed>] [--prio <n>]: add an HTB leaf class; device direction is derived from the class name.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCmd

func GetCmd() *cobra.Command

GetCmd returns the root of the `network shape` command group.

Types

This section is empty.

Jump to

Keyboard shortcuts

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