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 off the format '<key>=<value>:<effect>'.

Source Files

taints.go

Version
v1.6.2
Published
Apr 19, 2017
Platform
js/wasm
Imports
5 packages
Last checked
8 seconds ago

Tools for package owners.