package
1.11.0-alpha.1
Repository: https://github.com/mjudeikis/kubernetes.git
Documentation: pkg.go.dev

# Functions

CreateDefaultPodBackoff creates a default pod back-off object.
CreatePodBackoff creates a pod back-off object by default duration and max duration.
CreatePodBackoffWithClock creates a pod back-off object by default duration, max duration and clock.
GetContainerPorts returns the used host ports of Pods: if 'port' was used, a 'port:true' pair will be in the result; but it does not resolve port conflict.
GetPodFullName returns a name that uniquely identifies a pod.
GetPodPriority return priority of the given pod.
HigherPriorityPod return true when priority of the first pod is higher than the second one.
NewProtocolPort creates a ProtocolPort instance.
PodPriorityEnabled indicates whether pod priority feature is enabled.

# Constants

DefaultBindAllHostIP defines the default ip address used to bind to all host.

# Variables

Groups defines a TestGroup map.
Test defines a TestGroup object.

# Structs

BackoffEntry is single threaded.
PodBackoff is used to restart a pod with back-off delay.
ProtocolPort represents a protocol port pair, e.g.
SortableList is a list that implements sort.Interface.
TestGroup defines a api group for testing.

# Type aliases

HostPortInfo stores mapping from ip to a set of ProtocolPort.
LessFunc is a function that receives two items and returns true if the first item should be placed before the second one when the list is sorted.