urls

package
v0.19.5 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReplaceHost

func ReplaceHost(orgURL, host string) string

ReplaceHost replaces the host in a url It supports full URLs and container image URLs If the provided original url is malformed, the are no guarantees that the returned value will be valid If host is empty, it will return the original URL.

Types

This section is empty.

Jump to

Keyboard shortcuts

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