authenticator

package
v0.37.2 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package authenticator contains helper code for dealing with *Authenticator CRDs.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CABundle

func CABundle(spec *auth1alpha1.TLSSpec) (*x509.CertPool, []byte, error)

CABundle returns a PEM-encoded CA bundle from the provided spec. If the provided spec is nil, a nil CA bundle will be returned. If the provided spec contains a CA bundle that is not properly encoded, an error will be returned.

Types

type Closer

type Closer interface {
	Close()
}

Closer is a type that can be closed idempotently.

This type is slightly different from io.Closer, because io.Closer can return an error and is not necessarily idempotent.

Directories

Path Synopsis
Package authncache implements a cache of active authenticators.
Package authncache implements a cache of active authenticators.
Package cachecleaner implements a controller for garbage collecting authenticators from an authenticator cache.
Package cachecleaner implements a controller for garbage collecting authenticators from an authenticator cache.
Package jwtcachefiller implements a controller for filling an authncache.Cache with each added/updated JWTAuthenticator.
Package jwtcachefiller implements a controller for filling an authncache.Cache with each added/updated JWTAuthenticator.
Package webhookcachefiller implements a controller for filling an authncache.Cache with each added/updated WebhookAuthenticator.
Package webhookcachefiller implements a controller for filling an authncache.Cache with each added/updated WebhookAuthenticator.

Jump to

Keyboard shortcuts

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