jfrog

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidDomain = errors.New("invalid domain: must contain *.jfrog.io")

Functions

func GetHostnameFromURLorHost

func GetHostnameFromURLorHost(serverUrl string) (string, error)

Returns the hostname of either a URL or a hostname string.

func GetServerIdFromUrl

func GetServerIdFromUrl(serverURL string) (string, error)

Gets the default server ID used by JFrog for an artifactory URL.

Types

This section is empty.

Jump to

Keyboard shortcuts

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