Back to godoc.org

Package annotations

v5.2.0-release+incompa...
Latest Go to latest

The latest major version is .

Published: Apr 16, 2020 | License: LGPL-3.0 | Module: github.com/goodrain/rainbond

Index

Constants

const DeniedKeyName = "Denied"

DeniedKeyName name of the key that contains the reason to deny a location

type Extractor

type Extractor struct {
	// contains filtered or unexported fields
}

Extractor defines the annotation parsers to be used in the extraction of annotations

func NewAnnotationExtractor

func NewAnnotationExtractor(cfg resolver.Resolver) Extractor

NewAnnotationExtractor creates a new annotations extractor

func (Extractor) Extract

func (e Extractor) Extract(ing *extensions.Ingress) *Ingress

Extract extracts the annotations from an Ingress

type Ingress

type Ingress struct {
	metav1.ObjectMeta
	Header         header.Config
	Cookie         cookie.Config
	Weight         weight.Config
	Rewrite        rewrite.Config
	L4             l4.Config
	UpstreamHashBy string
	Proxy          proxy.Config
}

Ingress defines the valid annotations present in one NGINX Ingress rule

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier