util

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Copyright Jetstack Ltd. See LICENSE for details.

Copyright Jetstack Ltd. See LICENSE for details.

Copyright Jetstack Ltd. See LICENSE for details.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FakeJWT

func FakeJWT(issuerURL string) (string, error)

fakeJWT generates a valid JWT using the passed input parameters which is signed by a generated key. This is useful for checking the status of a signer.

func FreePort

func FreePort() (string, error)

func ParseTokenFromRequest

func ParseTokenFromRequest(req *http.Request) (string, bool)

Return just the token from the header of the request, without 'bearer'.

func SignalHandler

func SignalHandler() chan struct{}

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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