urlutil

package
v23.0.12+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 17, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsGitURL deprecated

func IsGitURL(str string) bool

IsGitURL returns true if the provided str is a git repository URL.

Deprecated: use github.com/docker/docker/builder/remotecontext/urlutil.IsGitURL

func IsURL deprecated

func IsURL(str string) bool

IsURL returns true if the provided str is an HTTP(S) URL.

Deprecated: use github.com/docker/docker/builder/remotecontext/urlutil.IsURL to detect build-context type, or use strings.HasPrefix() to check if the string has a https:// or http:// prefix.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL