parser

package
v0.0.0-...-336e61a Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2016 License: Apache-2.0 Imports: 4 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrMissingAnnotations is returned when the ingress rule
	// does not contains annotations related with rate limit
	ErrMissingAnnotations = errors.New("Ingress rule without annotations")

	// ErrInvalidName ...
	ErrInvalidName = errors.New("invalid annotation name")
)

Functions

func GetBoolAnnotation

func GetBoolAnnotation(name string, ing *extensions.Ingress) (bool, error)

GetBoolAnnotation ...

func GetIntAnnotation

func GetIntAnnotation(name string, ing *extensions.Ingress) (int, error)

GetIntAnnotation ...

func GetStringAnnotation

func GetStringAnnotation(name string, ing *extensions.Ingress) (string, error)

GetStringAnnotation ...

Types

This section is empty.

Jump to

Keyboard shortcuts

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