package urlutil
import "github.com/docker/docker/pkg/urlutil"
Package urlutil provides helper function to check urls kind. It supports http urls, git urls and transport url (tcp://, …)
Index ¶
Functions ¶
func IsGitURL ¶
IsGitURL returns true if the provided str is a git repository URL.
func IsTransportURL ¶
IsTransportURL returns true if the provided str is a transport (tcp, tcp+tls, udp, unix) URL.
func IsURL ¶
IsURL returns true if the provided str is an HTTP(S) URL.
Source Files ¶
- Version
- v20.10.25+incompatible
- Published
- May 4, 2023
- Platform
- js/wasm
- Imports
- 2 packages
- Last checked
- 2 hours ago –
Tools for package owners.