annotations

package
v0.0.0-...-306ed92 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2018 License: Apache-2.0 Imports: 37 Imported by: 0

Documentation

Index

Constants

View Source
const DeniedKeyName = "Denied"

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

Variables

This section is empty.

Functions

This section is empty.

Types

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
	Alias                string
	BasicDigestAuth      auth.Config
	CertificateAuth      authtls.Config
	ClientBodyBufferSize string
	ConfigurationSnippet string
	Connection           connection.Config
	CorsConfig           cors.Config
	DefaultBackend       string
	Denied               error
	ExternalAuth         authreq.Config
	HealthCheck          healthcheck.Config
	Proxy                proxy.Config
	RateLimit            ratelimit.Config
	Redirect             redirect.Config
	Rewrite              rewrite.Config
	SecureUpstream       secureupstream.Config
	ServerSnippet        string
	ServiceUpstream      bool
	SessionAffinity      sessionaffinity.Config
	SSLPassthrough       bool
	UsePortInRedirects   bool
	UpstreamHashBy       string
	LoadBalancing        string
	UpstreamVhost        string
	VtsFilterKey         string
	Whitelist            ipwhitelist.SourceRange
	XForwardedPrefix     bool
	SSLCiphers           string
	Logs                 log.Config
	GRPC                 bool
	LuaRestyWAF          luarestywaf.Config
}

Ingress defines the valid annotations present in one NGINX Ingress rule

Jump to

Keyboard shortcuts

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