Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func K8SAuthenticator ¶
func K8SAuthenticator(client kubernetes.Interface) gin.HandlerFunc
K8SAuthenticator returns gin middleware that authenticates a request against a Kubernetes apiserver. If the authentication is successful, the middleware provides the k8s user info via the "k8s-user-info" context key.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.