util

package
v1.0.17 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DumpRequest

func DumpRequest(r *http.Request)

func InitCFClient added in v1.0.16

func InitCFClient()

func LinesFromReader

func LinesFromReader(r io.Reader) (*[]string, error)

func ProvisionObjectFromRequest

func ProvisionObjectFromRequest(r *http.Request, object interface{}) error

func ResolveCredhubCredentials

func ResolveCredhubCredentials()

ResolveCredhubCredentials - Resolve the credentials by querying credhub for the given paths.

We implicitly use the app-containers key/cert and use mTLS to get access to the credhub path.

func WriteHttpResponse

func WriteHttpResponse(w http.ResponseWriter, code int, object interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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