util

package
v2.11.4 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2020 License: Apache-2.0 Imports: 15 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Close

func Close(c Closer)

Close is a convenience function to close a object that has a Close() method, ignoring any errors Used to satisfy errcheck lint

func GenerateFieldSelectorFromWorkflowName

func GenerateFieldSelectorFromWorkflowName(wfName string) string

func GetDeletePropagation

func GetDeletePropagation() *metav1.DeletionPropagation

getDeletePropagation return the default or configured DeletePropagation policy

func GetSecrets

func GetSecrets(clientSet kubernetes.Interface, namespace, name, key string) ([]byte, error)

GetSecrets retrieves a secret value and memoizes the result

func MergeParameters

func MergeParameters(params ...[]wfv1.Parameter) []wfv1.Parameter

Merge the two parameters Slice Merge the slices based on arguments order (first is high priority).

func RecoverIndexFromNodeName

func RecoverIndexFromNodeName(name string) int

func RecoverWorkflowNameFromSelectorStringIfAny

func RecoverWorkflowNameFromSelectorStringIfAny(selector string) string

func WriteTeriminateMessage

func WriteTeriminateMessage(message string)

Write the Terminate message in pod spec

Types

type Closer

type Closer interface {
	Close() error
}

Directories

Path Synopsis
Package cmd provides functionally common to various argo CLIs
Package cmd provides functionally common to various argo CLIs

Jump to

Keyboard shortcuts

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