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.