retry

package
v3.1.11 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 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, retryNodeName string) []string

GetFailHosts iterates over the node subtree and find pod in error or fail

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