Documentation
¶
Overview ¶
Package providerhttp provides hardened outbound HTTP policy for configured providers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddressAllowed ¶
AddressAllowed applies the provider destination policy to one resolved address.
func HostAllowed ¶
HostAllowed rejects known metadata names and disallowed literal addresses.
func NewTransport ¶
NewTransport returns a transport that ignores ambient proxies and validates every DNS answer before dialing the validated IP directly.
func NormalizeOrigin ¶
NormalizeOrigin validates and canonicalizes an exact HTTP(S) origin.
Types ¶
Click to show internal directories.
Click to hide internal directories.