Documentation
¶
Overview ¶
Package set provides a thread-safe set of unsigned integers. It is used by the network modules to track allocated ports and prevent conflicts when multiple workloads request port reservations concurrently.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrConflict ¶
type ErrConflict struct {
Port uint
}
ErrConflict is returned when trying to add a value that is already present in the set.
func (ErrConflict) Error ¶
func (e ErrConflict) Error() string
Click to show internal directories.
Click to hide internal directories.