mirror of
https://github.com/kyverno/kyverno.git
synced 2024-12-15 17:51:20 +00:00
c96199dee1
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
9 lines
160 B
Go
9 lines
160 B
Go
package match
|
|
|
|
import (
|
|
"github.com/kyverno/kyverno/ext/wildcard"
|
|
)
|
|
|
|
func CheckName(expected, actual string) bool {
|
|
return wildcard.Match(expected, actual)
|
|
}
|