k8shttpauth

package module
v0.4.6 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2022 License: MIT Imports: 3 Imported by: 0

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.

Documentation

Overview

Kubernetes HTTP auth things with support for projected service account token auth.

Index

Constants

This section is empty.

Variables

View Source
var (
	// NewClientInterface returns an interface for getting the
	// client ID and building http requests with the necessary
	// header.
	NewClientInterface = client.New

	// NewMiddleware returns a new Middleware for use with
	// http mux (router).
	NewMiddleware = middleware.New

	// NewMiddlewareFunc returns a new middleware Func for use with
	// http mux (router).
	NewMiddlewareFunc = middleware.NewFunc

	// NewReviewer returns a reviewer for general token review
	// needs.
	NewReviewer = reviewer.New
)

Functions

This section is empty.

Types

type ClientInterface

type ClientInterface = client.Interface

type Middleware

type Middleware = middleware.Middleware

type MiddlewareFunc

type MiddlewareFunc = middleware.Func

type Reviewer

type Reviewer = reviewer.Reviewer

Directories

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

Jump to

Keyboard shortcuts

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