taint

package
v0.4.48 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeepCopyTaint

func DeepCopyTaint(taint *v1.Taint) v1.Taint

func DeepCopyTaintInternStrings

func DeepCopyTaintInternStrings(taint *v1.Taint, stringInterner func(string) string) v1.Taint

func DeepCopyTaints

func DeepCopyTaints(taints []v1.Taint) []v1.Taint

func DeepCopyTaintsInternStrings

func DeepCopyTaintsInternStrings(taints []v1.Taint, stringInterner func(string) string) []v1.Taint

func FindMatchingUntoleratedTaint

func FindMatchingUntoleratedTaint(taints []v1.Taint, tolerations ...[]v1.Toleration) (v1.Taint, bool)

findMatchingUntoleratedTaint checks if the given tolerations tolerates all the taints, and returns the first taint without a toleration. Returns true if there is an untolerated taint. Returns false if all taints are tolerated.

Types

This section is empty.

Jump to

Keyboard shortcuts

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