Files
NikolayandGitHub 590afe3070 go.mod: unpin cloud.google.com/go/storage
Add build tag `disable_grpc_modules` for vmbackup, vmrestore and
vmbackupmanager. Binary size increases only for 3MB with it. It's
acceptable trade-off for security and feature updates.

Related issue:
https://github.com/VictoriaMetrics/VictoriaMetrics/issues/8008
2025-08-19 12:21:54 +02:00

16 lines
780 B
Go

package spiffeid
import "errors"
var (
errBadTrustDomainChar = errors.New("trust domain characters are limited to lowercase letters, numbers, dots, dashes, and underscores")
errBadPathSegmentChar = errors.New("path segment characters are limited to letters, numbers, dots, dashes, and underscores")
errDotSegment = errors.New("path cannot contain dot segments")
errNoLeadingSlash = errors.New("path must have a leading slash")
errEmpty = errors.New("cannot be empty")
errEmptySegment = errors.New("path cannot contain empty segments")
errMissingTrustDomain = errors.New("trust domain is missing")
errTrailingSlash = errors.New("path cannot have a trailing slash")
errWrongScheme = errors.New("scheme is missing or invalid")
)