Help us shape the future of Go! Take the 2026 Go Developer Survey

indexes

package
v4.0.14 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

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 interface{}) ([]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 interface{}) ([]string, error)

func ConfigMapIndexFunc

func ConfigMapIndexFunc(obj interface{}) ([]string, error)

func MetaNamespaceLabelIndex

func MetaNamespaceLabelIndex(namespace, label string) string

func MetaNamespaceLabelIndexFunc

func MetaNamespaceLabelIndexFunc(label string) cache.IndexFunc

func MetaNodeIDIndexFunc

func MetaNodeIDIndexFunc(obj interface{}) ([]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 interface{}) ([]string, error)

func MetaWorkflowPhaseIndexFunc

func MetaWorkflowPhaseIndexFunc() cache.IndexFunc

func PodPhaseIndexFunc

func PodPhaseIndexFunc(obj interface{}) ([]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