options

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ListenerOpts

type ListenerOpts interface {
	AuthTypes() []request.AuthType
	KubernetesControlPlaneURL() *url.URL
	IgnoredGroupNames() []string
	IgnoredImpersonationsGroups() []string
	ImpersonationGroupsRegexp() *regexp.Regexp
	PreferredUsernameClaim() string
	ReverseProxyTransport() (*http.Transport, error)
	BearerToken() string
	SkipImpersonationReview() bool
}

func NewKube

func NewKube(authTypes []request.AuthType, ignoredGroups []string, claimName string, config *rest.Config, ignoredImpersonationGroups []string, impersonationGroupsString string, skipImpersonationReview bool) (ListenerOpts, error)

type ServerOptions

type ServerOptions interface {
	IsListeningTLS() bool
	ListeningPort() uint
	TLSCertificatePath() string
	TLSCertificateKeyPath() string
	GetCertificateAuthorityPool() *x509.CertPool
}

func NewServer

func NewServer(isTLS bool, port uint, crtPath string, keyPath string, config *rest.Config) (ServerOptions, error)

Jump to

Keyboard shortcuts

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