util

package
v4.1.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

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 returns the default or configured DeletePropagation policy.

func GetSecrets

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

GetSecrets retrieves a secret value and memoizes the result

func MergeArtifacts

func MergeArtifacts(artifactSlices ...[]wfv1.Artifact) []wfv1.Artifact

MergeArtifacts merges artifact argument slices Merge the slices based on arguments order (first is high priority).

func MergeParameters

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

MergeParameters merges multiple parameter slices into one. It merges based on argument order, where the first slice has the highest priority.

func RecoverIndexFromNodeName

func RecoverIndexFromNodeName(name string) int

func RecoverWorkflowNameFromSelectorStringIfAny

func RecoverWorkflowNameFromSelectorStringIfAny(selector string) string

func WriteTerminateMessage

func WriteTerminateMessage(message string)

WriteTerminateMessage writes the terminate message in the 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
Package context contains common functions for storing and retrieving information from standard go context
Package context contains common functions for storing and retrieving information from standard go context
Package deprecation records uses of deprecated features so that users can be made aware of things that may be removed in a future version and move away from them.
Package deprecation records uses of deprecated features so that users can be made aware of things that may be removed in a future version and move away from them.
expr
env
kube
cli
sync
db
Code generated by util/telemetry/builder.
Code generated by util/telemetry/builder.
builder command
Package variables is the catalog of every Argo Workflows expression variable.
Package variables is the catalog of every Argo Workflows expression variable.
keys
Package keys is the single location where every workflow variable is declared.
Package keys is the single location where every workflow variable is declared.

Jump to

Keyboard shortcuts

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