1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-10 18:06:55 +00:00
kyverno/pkg/utils/wildcard/match.go
Charles-Edouard Brétéché fc1a4601a7
refactor: introduce wildcard utils package (#4406)
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
2022-08-25 05:23:01 +00:00

9 lines
153 B
Go

package wildcard
import (
wildcard "github.com/kyverno/go-wildcard"
)
func Match(pattern, name string) bool {
return wildcard.Match(pattern, name)
}