Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetClusterIDFromKubernetes ¶
func GetClusterIDFromKubernetes(kubeClientset kubernetes.Interface) (string, error)
GetClusterIDFromKubernetes gets the Containership cluster ID from the cluster-id label
func IsAuthError ¶
IsAuthError returns true if the error is an authentication or authorization error, else false
func IsNodeReady ¶
IsNodeReady returns true if the given node has a Ready status, else false. See https://kubernetes.io/docs/concepts/nodes/node/#condition for more info.
func IsRetryableAPIError ¶
This function is borrowed from kubernetes/kubernetes/test/utils It's hard to pull in that package, so not bothering to right now
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.