taints

package
v1.7.16-beta.0 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL