kubernetesk8s.io/kubernetes/pkg/util/taints Index | Files

package taints

import "k8s.io/kubernetes/pkg/util/taints"

package taints implements uitilites for working with taints

Index

Functions

func NewTaintsVar

func NewTaintsVar(ptr *[]api.Taint) taintsVar

NewTaintsVar wraps []api.Taint in a struct that implements flag.Value to allow taints to be bound to command line flags.

func ParseTaint

func ParseTaint(st string) (v1.Taint, error)

ParseTaint parses a taint from a string. Taint must be of the format '<key>=<value>:<effect>'.

Source Files

taints.go

Version
v1.7.4
Published
Aug 17, 2017
Platform
js/wasm
Imports
5 packages
Last checked
4 seconds ago

Tools for package owners.