Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // AuthDirectory default directory used to store files // to authenticate request AuthDirectory = "/etc/ingress-controller/auth" )
Functions ¶
func NewParser ¶
func NewParser(authDirectory string, cfg resolver.Configuration, sr resolver.Secret) parser.IngressAnnotation
NewParser creates a new authentication annotation parser
Types ¶
type BasicDigest ¶
type BasicDigest struct { Type string `json:"type"` Realm string `json:"realm"` ListName string `json:"listName"` File string `json:"file"` Secured bool `json:"secured"` FileSHA string `json:"fileSha"` }
BasicDigest returns authentication configuration for an Ingress rule
func (*BasicDigest) Equal ¶
func (bd1 *BasicDigest) Equal(bd2 *BasicDigest) bool
Equal tests for equality between two BasicDigest types
Click to show internal directories.
Click to hide internal directories.