taints

package
v1.6.0-beta.2 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2017 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 off 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