dataflow

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2025 License: Apache-2.0 Imports: 13 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

View Source
const (
	// DataflowAffinity Enable affinity inheritance for dataflow operations.
	DataflowAffinity featuregate.Feature = "DataflowAffinity"
)

Variables

This section is empty.

Functions

func Enabled

func Enabled(f featuregate.Feature) bool

Enabled is helper for `utilfeature.DefaultFeatureGate.Enabled()`

func GenerateNodeAffinity

func GenerateNodeAffinity(job *batchv1.Job) (*corev1.NodeAffinity, error)

func InjectAffinityAnnotation added in v1.0.2

func InjectAffinityAnnotation(opAnnotation map[string]string, podAnnotation map[string]string) map[string]string

InjectAffinityAnnotation inject the affinity annotation for the pod.

func InjectAffinityByRunAfterOp

func InjectAffinityByRunAfterOp(c client.Client, runAfter *datav1alpha1.OperationRef, opNamespace string, currentAffinity *v1.Affinity) (*v1.Affinity, error)

InjectAffinityByRunAfterOp inject the affinity based on preceding operation

Types

This section is empty.

Jump to

Keyboard shortcuts

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