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.
Click to show internal directories.
Click to hide internal directories.