package
1.12.0-alpha.0
Repository: https://github.com/klihub/kubernetes.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

NewFromSnapshot allocates a PortAllocator and initializes it from a snapshot.
Helper that wraps NewPortAllocatorCustom, for creating a range backed by an in-memory store.
NewPortAllocatorCustom creates a PortAllocator over a net.PortRange, calling allocatorFactory to construct the backing store.
Creates a portAllocationOperation, tracking a set of allocations & releases.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
Encapsulates the semantics of a port allocation 'transaction': It is better to leak ports than to double-allocate them, so we allocate immediately, but defer release.
No description provided by the author

# Interfaces

Interface manages the allocation of ports out of a range.