// TODO: Longer term we should read this from some config store, rather than a flag. // validateClusterIPFlags is expected to be called after Complete() func validateClusterIPFlags(options Extra) []error { … } func validateMaxCIDRRange(cidr net.IPNet, maxCIDRBits int, cidrFlag string) error { … } func validateServiceNodePort(options Extra) []error { … } func validatePublicIPServiceClusterIPRangeIPFamilies(extra Extra, generic genericoptions.ServerRunOptions) []error { … } // Validate checks ServerRunOptions and return a slice of found errs. func (s CompletedOptions) Validate() []error { … }