proxy

package
v0.0.0-...-974b44e Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const KUBERNETES_SERVICE = "kubernetes.default"

Variables

This section is empty.

Functions

func New

func New(config Config, authorizer authorizer.Authorizer, authenticator authenticator.Request, metrics *monitoring.ProxyMetrics) *kubeRBACProxy

New creates an authenticator, an authorizer, and a matching authorizer attributes getter compatible with the kube-rbac-proxy

Types

type Config

type Config struct {
	Authentication *authn.AuthnConfig
	Authorization  *authz.Config
}

Config holds proxy authorization and authentication settings

func (*Config) DeepCopy

func (c *Config) DeepCopy() *Config

DeepCopy of Proxy Configuration

Jump to

Keyboard shortcuts

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