func validateTokenRequest(options *Options) []error { … } func validateAPIPriorityAndFairness(options *Options) []error { … } func validateNodeSelectorAuthorizationFeature() []error { … } func validateUnknownVersionInteroperabilityProxyFeature() []error { … } func validateUnknownVersionInteroperabilityProxyFlags(options *Options) []error { … } // Validate checks Options and return a slice of found errs. func (s *Options) Validate() []error { … }