taints

package
v1.76.18 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2026 License: Apache-2.0 Imports: 2 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

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Map

type Map map[string]v1.Taint

func (Map) Slice

func (m Map) Slice() Slice

type Slice

type Slice []v1.Taint

func (Slice) ApplyTemplate

func (s Slice) ApplyTemplate(template []v1.Taint, lastApplied []v1.Taint) (Slice, bool)

ApplyTemplate use "template" slice to add new taints and update existin. lastApplied slice is used to delete excess taints.

func (Slice) Array

func (s Slice) Array() []v1.Taint

func (Slice) Equal

func (s Slice) Equal(in []v1.Taint) bool

Equal returns true if all taints in slice are equal to taints in "in" slice.

func (Slice) ExcessKeys

func (s Slice) ExcessKeys(in []v1.Taint) map[string]struct{}

ExcessKeys returns taint keys without equal keys from "in" taints.

func (Slice) HasKey

func (s Slice) HasKey(key string) bool

func (Slice) Merge

func (s Slice) Merge(in []v1.Taint) Slice

Merge returns new merged slice.

func (Slice) WithoutKey

func (s Slice) WithoutKey(key string) Slice

Jump to

Keyboard shortcuts

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