import "sigs.k8s.io/gateway-api/apis/v1beta1/util/validation"
gatewayclass.go
func IsControllerNameValid(controllerName gatewayv1b1.GatewayController) bool
IsControllerNameValid checks that the provided controllerName complies with the expected format. It must be a non-empty domain prefixed path.