routes

package
v0.0.0-...-d88c8b5 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package routes holds a collection of optional master http handlers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logs

type Logs struct{}

Logs adds handlers for the /logs path serving log files from /var/log.

func (Logs) Install

func (l Logs) Install(c *restful.Container)

Install func registers the logs handler.

type OpenIDMetadataServer

type OpenIDMetadataServer struct {
	// contains filtered or unexported fields
}

OpenIDMetadataServer is an HTTP server for metadata of the KSA token issuer.

func NewOpenIDMetadataServer

func NewOpenIDMetadataServer(configJSON, keysetJSON []byte) *OpenIDMetadataServer

NewOpenIDMetadataServer creates a new OpenIDMetadataServer. The issuer is the OIDC issuer; keys are the keys that may be used to sign KSA tokens.

func (*OpenIDMetadataServer) Install

func (s *OpenIDMetadataServer) Install(c *restful.Container)

Install adds this server to the request router c.

Jump to

Keyboard shortcuts

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