parser

package
v0.7.5 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBoolAnnotation

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

GetBoolAnnotation extracts a boolean from an Ingress annotation

func GetIntAnnotation

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

GetIntAnnotation extracts an int from an Ingress annotation

func GetStringAnnotation

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

GetStringAnnotation extracts a string from an Ingress annotation

Types

type IngressAnnotation

type IngressAnnotation interface {
	Parse(ing *extensions.Ingress) (interface{}, error)
}

IngressAnnotation has a method to parse annotations located in Ingress

Jump to

Keyboard shortcuts

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