kubernetesk8s.io/kubernetes/pkg/controlplane/apiserver Index | Files

package apiserver

import "k8s.io/kubernetes/pkg/controlplane/apiserver"

Index

Functions

func BuildAuthorizer

BuildAuthorizer constructs the authorizer

func BuildGenericConfig

func BuildGenericConfig(
	s *options.ServerRunOptions,
	schemes []*runtime.Scheme,
	getOpenAPIDefinitions func(ref openapicommon.ReferenceCallback) map[string]openapicommon.OpenAPIDefinition,
) (
	genericConfig *genericapiserver.Config,
	versionedInformers clientgoinformers.SharedInformerFactory,
	storageFactory *serverstorage.DefaultStorageFactory,

	lastErr error,
)

BuildGenericConfig takes the master server options and produces the genericapiserver.Config associated with it

func BuildPriorityAndFairness

BuildPriorityAndFairness constructs the guts of the API Priority and Fairness filter

func CreateAPIExtensionsConfig

func CreateAPIExtensionsConfig(
	kubeAPIServerConfig server.Config,
	kubeInformers informers.SharedInformerFactory,
	pluginInitializers []admission.PluginInitializer,
	commandOptions *options.ServerRunOptions,
	masterCount int,
	serviceResolver webhook.ServiceResolver,
	authResolverWrapper webhook.AuthenticationInfoResolverWrapper,
) (*apiextensionsapiserver.Config, error)

Source Files

apiextensions.go config.go

Version
v1.28.0-alpha.3
Published
Jun 20, 2023
Platform
js/wasm
Imports
33 packages
Last checked
30 seconds ago

Tools for package owners.