apiproxy

package
v1.84.3 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2025 License: BSD-3-Clause Imports: 23 Imported by: 0

Documentation

Overview

Package apiproxy contains the Kubernetes API Proxy implementation used by k8s-operator and k8s-proxy.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MaybeLaunchAPIServerProxy

func MaybeLaunchAPIServerProxy(zlog *zap.SugaredLogger, restConfig *rest.Config, s *tsnet.Server, mode APIServerProxyMode)

maybeLaunchAPIServerProxy launches the auth proxy, which is a small HTTP server that authenticates requests using the Tailscale LocalAPI and then proxies them to the kube-apiserver.

Types

type APIServerProxyMode

type APIServerProxyMode int
const (
	APIServerProxyModeDisabled APIServerProxyMode = iota
	APIServerProxyModeEnabled
	APIServerProxyModeNoAuth
)

func ParseAPIProxyMode

func ParseAPIProxyMode() APIServerProxyMode

func (APIServerProxyMode) String

func (a APIServerProxyMode) String() string

Jump to

Keyboard shortcuts

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