1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-14 11:57:48 +00:00
kyverno/pkg/utils/wildcard/match.go
Charles-Edouard Brétéché bc4bf5ee27
chore: switch to github.com/IGLOU-EU/go-wildcard (#4563)
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>

Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
Co-authored-by: Jim Bugwadia <jim@nirmata.com>
2022-09-10 17:30:13 +00:00

9 lines
154 B
Go

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