auth

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2019 License: Apache-2.0, Apache-2.0 Imports: 11 Imported by: 0

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, 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"`
	File    string `json:"file"`
	Secured bool   `json:"secured"`
}

BasicDigest returns authentication configuration for an Ingress rule

func (*BasicDigest) Equal

func (bd1 *BasicDigest) Equal(bd2 *BasicDigest) bool

Jump to

Keyboard shortcuts

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