func (o *Options) Validate() error {
	if o.NumWorkers == 0 {
		return errors.New("number of workers cannot be zero")
	}

	if o.ProwJobNamespace == "" {
		return errors.New("namespace containing ProwJobs not configured")
	}

	return o.Options.Validate()
}
func (o *Options) Validate() error {
	if o.NumWorkers == 0 {
		return errors.New("number of workers cannot be zero")
	}

	if o.ProwJobNamespace == "" {
		return errors.New("namespace containing ProwJobs not configured")
	}

	return o.Options.Validate()
}
// Validate ensures that the set of options are
// self-consistent and valid