stats

package
v1.16.0-pre.3 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2024 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
}

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