Documentation
¶
Overview ¶
package taints implements uitilites for working with taints
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
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>'.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.