authtls

package
v0.0.0-...-42c7111 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2018 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"`
}

Config contains the AuthSSLCert used for muthual autentication 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