package
3.2.5
Repository: https://github.com/svnshing/argo-workflows.git
Documentation: pkg.go.dev

# Functions

AddPodAnnotation adds an annotation to pod.
No description provided by the author
No description provided by the author
DeletePod deletes a pod.
ExecPodContainer runs a command in a container in a pod and returns the remotecommand.Executor.
FindOverlappingVolume looks an artifact path, checks if it overlaps with any user specified volumeMounts in the template, and returns the deepest volumeMount (if any).
No description provided by the author
GetExecutorOutput returns the output of an remotecommand.Executor.
GetServiceAccountTokenName returns the name of the first referenced ServiceAccountToken secret of the service account.
GetTaskAncestry returns a list of taskNames which are ancestors of this task.
No description provided by the author
GetTemplateGetterString returns string of TemplateHolder.
GetTemplateHolderString returns string of TemplateReferenceHolder.
NewPlaceholderGenerator returns a placeholderGenerator.
No description provided by the author
No description provided by the author
ProcessArgs sets in the inputs, the values either passed via arguments, or the hardwired values It substitutes: * parameters in the template from the arguments * global parameters (e.g.
RunCommand is a convenience function to run/log a command and log the stderr upon failure.
RunShellCommand is a convenience function to use RunCommand for shell executions.
SplitClusterWorkflowTemplateYAMLFile is a helper to split a body into multiple cluster workflow template objects.
SplitCronWorkflowYAMLFile is a helper to split a body into multiple workflow template objects.
SplitWorkflowTemplateYAMLFile is a helper to split a body into multiple workflow template objects.
SplitWorkflowYAMLFile is a helper to split a body into multiple workflow objects.
SubstituteParams returns a new copy of the template with global, pod, and input parameters substituted.
No description provided by the author
No description provided by the author

# Constants

AnnotationKeyCronWfScheduledTime is the workflow metadata annotation key containing the time when the workflow was scheduled to run by CronWorkflow.
AnnotationKeyNodeID is the ID of the node.
AnnotationKeyNodeName is the pod metadata annotation key containing the workflow node name.
AnnotationKeyNodeName is the node's type.
AnnotationKeyOutputs is the pod metadata annotation key containing the container outputs.
AnnotationKeyRBACRule is a rule to match the claims.
No description provided by the author
AnnotationKeyWorkflowName is the name of the workflow.
AnnotationKeyWorkflowUID is the uid of the workflow.
ContainerRuntimeExecutorDocker to use docker as container runtime executor.
ContainerRuntimeExecutorEmissary indicates to use emissary container runtime executor.
ContainerRuntimeExecutorK8sAPI to use the Kubernetes API server as container runtime executor.
ContainerRuntimeExecutorKubelet to use the kubelet as container runtime executor.
ContainerRuntimeExecutorPNS indicates to use process namespace sharing as the container runtime executor.
No description provided by the author
No description provided by the author
DockerSockVolumeName is the volume name for the /var/run/docker.sock host path volume.
EnvVarArgoTrace is used enable tracing statements in Argo components.
EnvVarContainerName container the container's name for the current pod.
EnvVarContainerRuntimeExecutor contains the name of the container runtime executor to use, empty is equal to "docker".
EnvVarDeadline is the deadline for the pod.
EnvVarDownwardAPINodeIP is the envvar used to get the `status.hostIP`.
EnvVarIncludeScriptOutput capture the stdout and stderr.
EnvVarKubeletInsecure is used to disable the TLS verification.
EnvVarKubeletPort is used to configure the kubelet api port.
EnvVarPodName contains the name of the pod (currently unused).
EnvVarTemplate is the template.
EnvVarWorkflowName.
ExecutorArtifactBaseDir is the base directory in the init container in which artifacts will be copied to.
ExecutorMainFilesystemDir is a path made available to the init/wait containers such that they can access the same volume mounts used in the main container.
ExecutorResourceManifestPath is the path which init will write the a manifest file to for resource templates.
ExecutorScriptSourcePath is the path which init will write the script source file to for script templates.
ExecutorStagingEmptyDir is the path of the emptydir which is used as a staging area to transfer a file between init/main container for script/resource templates.
GlobalVarWorkflowCreationTimestamp is the workflow variable referencing the workflow's metadata.creationTimestamp field.
GlobalVarWorkflowCronScheduleTime is the scheduled timestamp of a Workflow started by a CronWorkflow.
GlobalVarWorkflowDuration is the current duration of this workflow.
GlobalVarWorkflowFailures is a global variable of a JSON map referencing the workflow's failed nodes.
GlobalVarWorkflowName is a global workflow variable referencing the workflow's metadata.name field.
GlobalVarWorkflowNamespace is a global workflow variable referencing the workflow's metadata.namespace field.
GlobalVarWorkflowParameters is a JSON string containing all workflow parameters.
GlobalVarWorkflowPriority is the workflow variable referencing the workflow's priority field.
GlobalVarWorkflowServiceAccountName is a global workflow variable referencing the workflow's spec.serviceAccountName field.
GlobalVarWorkflowStatus is a global workflow variable referencing the workflow's status.phase field.
GlobalVarWorkflowUID is a global workflow variable referencing the workflow's metadata.uid field.
No description provided by the author
No description provided by the author
No description provided by the author
LabelKeyWorkflowTemplate is a label applied to Workflows that are submitted from ClusterWorkflowtemplate.
LabelKeyCompleted is the metadata label applied on workflows and workflow pods to indicates if resource is completed Workflows and pods with a completed=true label will be ignored by the controller.
LabelKeyControllerInstanceID is the label the controller will carry forward to workflows/pod labels for the purposes of workflow segregation.
Who created this workflow.
No description provided by the author
LabelKeyCronWorkflow is a label applied to Workflows that are started by a CronWorkflow.
LabelKeyOnExit is a label applied to Pods that are run from onExit nodes, so that they are not shut down when stopping a Workflow.
LabelKeyPhase is a label applied to workflows to indicate the current phase of the workflow (for filtering purposes).
LabelKeyPreviousWorkflowName is a label applied to resubmitted workflows.
LabelKeyWorkflow is the pod metadata label to indicate the associated workflow name.
LabelKeyWorkflowArchivingStatus indicates if a workflow needs archiving or not: * `` - does not need archiving ..
LabelKeyWorkflowEventBinding is a label applied to Workflows that are submitted from a WorkflowEventBinding.
LabelKeyWorkflowTemplate is a label applied to Workflows that are submitted from Workflowtemplate.
LocalVarDuration is a step level variable (currently only available in metric emission) that tracks the duration of the step.
LocalVarExitCode is a step level variable (currently only available in metric emission) that tracks the step's exit code.
LocalVarPodName is a step level variable that references the name of the pod.
LocalVarResourcesDuration is a step level variable (currently only available in metric emission) that tracks the resources duration of the step.
LocalVarRetries is a step level variable that references the retries number if retryStrategy is specified.
LocalVarRetriesLastDuration is a variable that references information about the last retry's duration.
LocalVarRetriesLastExitCode is a variable that references information about the last retry's exit code.
LocalVarRetriesLastStatus is a variable that references information about the last retry's status.
LocalVarStatus is a step level variable (currently only available in metric emission) that tracks the duration of the step.
Container names used in the workflow pod.
No description provided by the author
nolint:gosec.
nolint:gosec.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

AnnotationKeyKillCmd specifies the command to use to kill to container, useful for injected sidecars.
GlobalVarWorkflowRootTags is a list of root tags in workflow which could be used for variable reference.

# Structs

No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author

# Type aliases

No description provided by the author
Parameters extends string map with useful methods.
No description provided by the author
No description provided by the author