Categorygithub.com/rstudio/k8s-http-auth
modulepackage
0.4.6
Repository: https://github.com/rstudio/k8s-http-auth.git
Documentation: pkg.go.dev

# README

k8s-http-auth

Kubernetes HTTP auth things.

Go Reference

middleware

HTTP middleware to implement intra-cluster communication with service account token volume projection.

client library

Client library to build requests that include a header to interact with services that use the middleware.

examples

A full example is available that includes an api service that accesses a backing db service.

# Packages

Kubernetes HTTP auth client interface for reading client IDs and building requests.
Kubernetes HTTP auth middleware for managing access via client ID (service account token) present in request header.
Kubernetes client id reviewer.

# Variables

NewClientInterface returns an interface for getting the client ID and building http requests with the necessary header.
NewMiddleware returns a new Middleware for use with http mux (router).
NewMiddlewareFunc returns a new middleware Func for use with http mux (router).
NewReviewer returns a reviewer for general token review needs.

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author