package
0.0.0-20191024030528-a481964b876e
Repository: https://github.com/divinerapier/learn-kubernetes.git
Documentation: pkg.go.dev

# Functions

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.
GetEarliestPodStartTime returns the earliest start time of all pods that have the highest priority among all victims.
GetPodFullName returns a name that uniquely identifies a pod.
GetPodStartTime returns start time of the given pod.
MoreImportantPod return true when priority of the first pod is higher than the second one.
NewErrorChannel returns a new ErrorChannel.

# Structs

ErrorChannel supports non-blocking send and receive operation to capture error.
RealClock implements a clock using time.

# Interfaces

Clock provides an interface for getting the current time.