Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateSecretURL ¶ added in v0.80.0
ValidateSecretURL against config.URL This is for URLs which are retrieved from secrets and should not logged as part of the err.
func ValidateTemplateURL ¶ added in v0.88.1
ValidateTemplateURL validates a URL string against the config.URL. If the value is a Go template then the function ensures that the template definition is valid.
func ValidateTemplateURLPtr ¶ added in v0.88.1
ValidateTemplateURLPtr validates a URL string pointer which can be a Go template. If the pointer is nil, it will return no error.
func ValidateURL ¶
ValidateURL validates a URL string 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.
func ValidateURLPtr ¶ added in v0.88.0
ValidateURLPtr validates a URL string pointer. If the pointer is nil, it will return no error.
Types ¶
This section is empty.