tolerations

package
v0.0.0-...-d88c8b5 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

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