retry

package
v3.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 24, 2021 License: Apache-2.0 Imports: 2 Imported by: 2

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

func GetFailHosts(nodes wfv1.Nodes, parent string) []string

GetFailHosts returns slice of all child nodes with fail or error status

func RemoveDuplicates

func RemoveDuplicates(strSlice []string) []string

RemoveDuplicates removes duplicate strings from slice

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL