upstreamwatcher

package
v0.3.0 Latest Latest
Warning

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

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

Documentation

Overview

Package upstreamwatcher implements a controller that watches OIDCIdentityProvider objects.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(
	idpCache IDPCache,
	client pinnipedclientset.Interface,
	oidcIdentityProviderInformer idpinformers.OIDCIdentityProviderInformer,
	secretInformer corev1informers.SecretInformer,
	log logr.Logger,
) controllerlib.Controller

New instantiates a new controllerlib.Controller which will populate the provided IDPCache.

Types

type IDPCache

type IDPCache interface {
	SetIDPList([]provider.UpstreamOIDCIdentityProviderI)
}

IDPCache is a thread safe cache that holds a list of validated upstream OIDC IDP configurations.

Jump to

Keyboard shortcuts

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