code: func (s *ServerRunOptions) Validate() []error {
  	var errs []error
  	if s.MasterCount <= 0 {
  		errs = append(errs, fmt.Errorf("--apiserver-count should be a positive number, but value '%d' provided", s.MasterCount))
  	}
  	errs = append(errs, s.Etcd.Validate()...)
  	errs = append(errs, validateClusterIPFlags(s)...)
  	errs = append(errs, validateServiceNodePort(s)...)
  	errs = append(errs, s.SecureServing.Validate()...)
  	errs = append(errs, s.Authentication.Validate()...)
  	errs = append(errs, s.Authorization.Validate()...)
  	errs = append(errs, s.Audit.Validate()...)
  	errs = append(errs, s.Admission.Validate()...)
  	errs = append(errs, s.InsecureServing.Validate()...)
  	errs = append(errs, s.APIEnablement.Validate(legacyscheme.Scheme, apiextensionsapiserver.Scheme, aggregatorscheme.Scheme)...)
  	errs = append(errs, validateTokenRequest(s)...)
  
  	return errs
  }
docs: // Validate checks ServerRunOptions and return a slice of found errs.