Documentation
¶
Overview ¶
Package transportsecurity enforces encrypted connector transport independently of host access policy.
Index ¶
- func CheckRedirect(req *http.Request, via []*http.Request) error
- func HTTPTransport(base http.RoundTripper, allowPlaintext bool) http.RoundTripper
- func PlaintextAllowed(ctx context.Context) bool
- func TLS(host string) *tls.Config
- func ValidateURL(target *url.URL, allowPlaintext bool) error
- func WithPlaintext(ctx context.Context) context.Context
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckRedirect ¶
CheckRedirect forbids downgrades even when local development permits an initial HTTP endpoint.
func HTTPTransport ¶
func HTTPTransport(base http.RoundTripper, allowPlaintext bool) http.RoundTripper
HTTPTransport also checks dynamically constructed execution URLs before any credentials reach the network.
func PlaintextAllowed ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.