tailscale.comtailscale.com/k8s-operator/api-proxy Index | Files

package apiproxy

import "tailscale.com/k8s-operator/api-proxy"

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

Index

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

Source Files

doc.go env.go proxy.go

Version
v1.84.0 (latest)
Published
May 21, 2025
Platform
linux/amd64
Imports
23 packages
Last checked
1 day ago

Tools for package owners.