func init() { … }
func NewAPIServerCommand() *cobra.Command { … }
func Run(ctx context.Context, opts options.CompletedOptions) error { … }
func CreateServerChain(config CompletedConfig) (*aggregatorapiserver.APIAggregator, error) { … }
func CreateKubeAPIServerConfig(
opts options.CompletedOptions,
genericConfig *genericapiserver.Config,
versionedInformers clientgoinformers.SharedInformerFactory,
storageFactory *serverstorage.DefaultStorageFactory,
) (
*controlplane.Config,
aggregatorapiserver.ServiceResolver,
[]admission.PluginInitializer,
error,
) { … }
var testServiceResolver …
func SetServiceResolverForTests(resolver webhook.ServiceResolver) func() { … }
func buildServiceResolver(enabledAggregatorRouting bool, hostname string, informer clientgoinformers.SharedInformerFactory) webhook.ServiceResolver { … }