validation

package
v0.86.1 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2025 License: Apache-2.0 Imports: 3 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateSecretURL added in v0.80.0

func ValidateSecretURL(url string) error

ValidateSecretURL against config.URL This is for URLs which are retrieved from secrets and should not logged as part of the err.

func ValidateURL

func ValidateURL(url string) (*config.URL, error)

ValidateURL against the config.URL This could potentially become a regex and be validated via OpenAPI but right now, since we know we need to unmarshal into an upstream type after conversion, we validate we don't error when doing so.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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