authtls

package
v0.0.0-...-cfb183a Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewParser

func NewParser(resolver resolver.Resolver) parser.IngressAnnotation

NewParser creates a new TLS authentication annotation parser

Types

type Config

type Config struct {
	resolver.AuthSSLCert
	VerifyClient       string `json:"verify_client"`
	ValidationDepth    int    `json:"validationDepth"`
	ErrorPage          string `json:"errorPage"`
	PassCertToUpstream bool   `json:"passCertToUpstream"`
	AuthTLSError       string
}

Config contains the AuthSSLCert used for mutual authentication and the configured ValidationDepth

func (*Config) Equal

func (assl1 *Config) Equal(assl2 *Config) bool

Equal tests for equality between two Config types

Jump to

Keyboard shortcuts

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