tolerations

package
v1.31.1 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2024 License: Apache-2.0 Imports: 3 Imported by: 28

Documentation

Overview

Package tolerations provides utilities to work with pod spec tolerations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MergeTolerations

func MergeTolerations(first, second []api.Toleration) []api.Toleration

MergeTolerations merges two sets of tolerations into one. If one toleration is a superset of another, only the superset is kept.

func VerifyAgainstWhitelist

func VerifyAgainstWhitelist(tolerations, whitelist []api.Toleration) bool

VerifyAgainstWhitelist checks if the provided tolerations satisfy the provided whitelist and returns true, otherwise returns false

Types

This section is empty.

Jump to

Keyboard shortcuts

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