code: func ValidateEventType(eventtype string) bool {
  	switch eventtype {
  	case v1.EventTypeNormal, v1.EventTypeWarning:
  		return true
  	}
  	return false
  }
docs: // ValidateEventType checks that eventtype is an expected type of event