indexes

package
v4.1.7 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2026 License: Apache-2.0 Imports: 12 Imported by: 1 module, 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

View Source
const (
	ClusterWorkflowTemplateIndex = "clusterworkflowtemplate"
	CronWorkflowIndex            = "cronworkflow"
	NodeIDIndex                  = "nodeID"
	WorkflowIndex                = "workflow"
	WorkflowTemplateIndex        = "workflowtemplate"
	WorkflowPhaseIndex           = "workflow.phase"
	PodPhaseIndex                = "pod.phase"
	ConfigMapLabelsIndex         = "configmap.labels"
	ConditionsIndex              = "status.conditions"
	SemaphoreConfigIndexName     = "bySemaphoreConfigMap"
	UIDIndex                     = "uid"
)

Variables

View Source
var MetaUIDFunc cache.IndexFunc = func(obj any) ([]string, error) {
	v, err := meta.Accessor(obj)
	if err != nil {
		return nil, nil
	}
	return []string{string(v.GetUID())}, nil
}

Functions

func ConditionValue

func ConditionValue(x wfv1.Condition) string

func ConditionsIndexFunc

func ConditionsIndexFunc(obj any) ([]string, error)

func ConfigMapIndexFunc

func ConfigMapIndexFunc(obj any) ([]string, error)

func MetaNamespaceLabelIndex

func MetaNamespaceLabelIndex(namespace, label string) string

func MetaNamespaceLabelIndexFunc

func MetaNamespaceLabelIndexFunc(label string) cache.IndexFunc

func MetaNodeIDIndexFunc

func MetaNodeIDIndexFunc(obj any) ([]string, error)

MetaNodeIDIndexFunc takes a kubernetes object and returns either the namespace and its node id or the namespace and its name

func MetaWorkflowIndexFunc

func MetaWorkflowIndexFunc(obj any) ([]string, error)

func MetaWorkflowPhaseIndexFunc

func MetaWorkflowPhaseIndexFunc() cache.IndexFunc

func PodPhaseIndexFunc

func PodPhaseIndexFunc(obj any) ([]string, error)

func WorkflowIndexValue

func WorkflowIndexValue(namespace, name string) string

func WorkflowSemaphoreKeysIndexFunc

func WorkflowSemaphoreKeysIndexFunc() cache.IndexFunc

Types

This section is empty.

Jump to

Keyboard shortcuts

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