taints

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package taints implements taint helper functions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HasTaint added in v1.5.0

func HasTaint(taints []corev1.Taint, targetTaint corev1.Taint) bool

HasTaint returns true if the targetTaint is in the list of taints.

func RemoveNodeTaint

func RemoveNodeTaint(node *corev1.Node, drop corev1.Taint) bool

RemoveNodeTaint drops the taint from the list of node taints. It returns true if the taints are modified, false otherwise.

Types

This section is empty.

Jump to

Keyboard shortcuts

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