MCPcopy Create free account
hub / github.com/docker/secrets-engine / isValidPatternRune

Function isValidPatternRune

x/secrets/pattern.go:76–78  ·  view source on GitHub ↗
(c rune)

Source from the content-addressed store, hash-verified

74}
75
76func isValidPatternRune(c rune) bool {
77 return isValidRune(c) || c == '*'
78}
79
80// Pattern can be used to match secret identifiers.
81// Valid patterns must follow the same validation rules as secret identifiers, with the exception

Callers 1

validPatternFunction · 0.85

Calls 1

isValidRuneFunction · 0.85

Tested by

no test coverage detected