package
1.0.0
Repository: https://github.com/phanitejak/kptgolib.git
Documentation: pkg.go.dev

# Functions

NewHTTPRequest returns a new HTTPRequest given a method, URL, optional body and urlVariables.
NewHTTPRequestFromRequest returns a new HTTPRequest with given request and urlVariables.
NewInstrumentedDefaultHTTPClient returns default http client with instrumentation capabilities based on given rules for URI templating.
NewInstrumentedDefaultTransport returns given RoundTripper with instrumentation capabilities based on given rules for URI templating.
NewInstrumentedHTTPClient returns given http client with instrumentation capabilities based on given rules for URI templating.
NewInstrumentedTransport returns given RoundTripper with instrumentation capabilities.
NewInstrumentedTransportForKubeAPI returns given RoundTripper with instrumentation capabilities including URI templating for Kube API.
NewInstrumentedTransportWithRules returns given RoundTripper with instrumentation capabilities based on given rules for URI templating.

# Structs

InstrumentedHTTPClient represents standard http.Client with metrics instrumentation capabilities.
InstrumentedTransport is a http.RoundTripper with metrics instrumentation capabilities.