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

stats

package
v1.19.9 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InterfaceStats

type InterfaceStats struct {
	// NodeCapacity is the current inferred total capacity for a Node to schedule
	// IPv4 addresses.
	//
	// This does not account for currently used addresses.
	NodeCapacity int

	// RemainingAvailableInterfaceCount is the number of interfaces currently available
	// for IPv4 address allocation.
	RemainingAvailableInterfaceCount int

	// NodeIPv6Capacity is the current inferred total capacity for a Node to schedule
	// IPv6 addresses.
	//
	// This does not account for currently used addresses.
	NodeIPv6Capacity int

	// RemainingAvailableIPv6InterfaceCount is the number of interfaces currently available
	// for IPv6 address allocation.
	RemainingAvailableIPv6InterfaceCount int

	// AssignedStaticIP is the static IP address assigned to the node (ex: public Elastic IP address in AWS)
	AssignedStaticIP string
}

InterfaceStats contains stats about the current state of an individual IPAM node. This is used while performing a resync to determine if the node is able to allocate more addresses.

Jump to

Keyboard shortcuts

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