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
Click to show internal directories.
Click to hide internal directories.