Documentation ¶
Overview ¶
Package util holds generic etcd-related utility functions that any user of ectd might want to use, without pulling in kubernetes-specific code.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EtcdHealthCheck ¶
func GetEtcdVersion ¶
GetEtcdVersion performs a version check against the provided Etcd server, returning the string response, and error (if any).
func IsEtcdNodeExist ¶
IsEtcdNodeExist returns true if and only if err is an etcd node already exist error.
func IsEtcdNotFound ¶
IsEtcdNotFound returns true if and only if err is an etcd not found error.
func IsEtcdTestFailed ¶
IsEtcdTestFailed returns true if and only if err is an etcd write conflict.
func IsEtcdUnreachable ¶
IsEtcdUnreachable returns true if and only if err indicates the server could not be reached.
func IsEtcdWatchExpired ¶
IsEtcdWatchExpired returns true if and only if err indicates the watch has expired.
Types ¶
This section is empty.