Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddHostnamesToAffinity ¶
func AddHostnamesToAffinity(hostSelector string, hostNames []string, targetAffinity *apiv1.Affinity) *apiv1.Affinity
AddHostnamesToAffinity will add unique hostNames to existing matchExpressions in targetAffinity with key hostSelector or insert new matchExpressions with operator NotIn.
func GetFailHosts ¶
GetFailHosts returns slice of all child nodes with fail or error status
func RemoveDuplicates ¶
RemoveDuplicates removes duplicate strings from slice
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.