rainbond: github.com/goodrain/rainbond/gateway/annotations Index | Files | Directories

package annotations

import "github.com/goodrain/rainbond/gateway/annotations"

Index

Package Files

annotations.go

Constants

const DeniedKeyName = "Denied"

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

type Extractor Uses

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

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

func NewAnnotationExtractor Uses

func NewAnnotationExtractor(cfg resolver.Resolver) Extractor

NewAnnotationExtractor creates a new annotations extractor

func (Extractor) Extract Uses

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

Extract extracts the annotations from an Ingress

type Ingress Uses

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

Directories

PathSynopsis
cookie
header
l4
parser
proxy
resolver
rewrite
upstreamhashby
wight

Package annotations imports 14 packages (graph) and is imported by 1 packages. Updated 2019-09-19. Refresh now. Tools for package owners.