routes

package
v1.20.6 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2021 License: Apache-2.0 Imports: 5 Imported by: 42

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 added in v1.18.0

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

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

func NewOpenIDMetadataServer added in v1.18.0

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 added in v1.18.0

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