Documentation ¶
Overview ¶
Package pod contains utilities to deal with Pod objects.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AreContainersEqual ¶ added in v0.3.2
AreContainersEqual returns whether two container lists are equal according to the fields that can be modified after start-up time (i.e. the image field).
func IsPodReady ¶
IsPodReady returns true if a pod is ready; false otherwise. It also returns a reason (as provided by Kubernetes).
func IsPodSpecEqual ¶ added in v0.3.2
IsPodSpecEqual returns whether two pod specs are equal according to the fields that can be modified after start-up time. Refer to the following link for more information: https://kubernetes.io/docs/concepts/workloads/pods/#pod-update-and-replacement This function is implemented custom instead of relying on reflect.DeepEqual or alike for performance reasons, given the possibly high execution rate when dealing with pod reflection.
Types ¶
This section is empty.