Documentation
¶
Overview ¶
Package dockerfileurl classifies Dockerfile URLs and makes them safe to display.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ForDisplay ¶
ForDisplay removes sensitive URL components from HTTP(S) Dockerfile values and leaves local paths unchanged.
func ForRequestError ¶
ForRequestError removes sensitive components from an absolute or relative URL reference returned by net/http.
func LooksLikeURL ¶
LooksLikeURL reports whether value starts with an HTTP(S) scheme, including malformed values that should fail closed instead of being treated as paths.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.