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

# Functions

NewCIDRRangeAllocator returns a CIDRAllocator to allocate CIDR for node Caller must ensure subNetMaskSize is not less than cluster CIDR mask size.
No description provided by the author
NewNodeController returns a new node controller to sync instances from cloudprovider.
Creates new queue which will use given RateLimiter to oversee execution.
No description provided by the author

# Constants

No description provided by the author
Number of Nodes that needs to be in the cluster for it to be treated as "large".
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
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
FakeNodeHandler is a fake implementation of NodesInterface and NodeInterface.
FakeRecorder is used as a fake during testing.
No description provided by the author
RateLimitedTimedQueue is a unique item priority queue ordered by the expected next time of execution.
TimedValue is a value that should be processed at a designated time.
A FIFO queue which additionally guarantees that any element can be added only once until it is removed.

# Interfaces

CIDRAllocator is an interface implemented by things that know how to allocate/occupy/recycle CIDR for nodes.

# Type aliases

ActionFunc takes a timed value and returns false if the item must be retried, with an optional time.Duration if some minimum wait interval should be used.
TimedQueue is a priority heap where the lowest ProcessAt is at the front of the queue.