Documentation ¶
Index ¶
- func BuildAuthorizer(s controlplaneapiserver.CompletedOptions, ...) (authorizer.Authorizer, authorizer.RuleResolver, bool, error)
- func BuildGenericConfig(s controlplaneapiserver.CompletedOptions, schemes []*runtime.Scheme, ...) (genericConfig *genericapiserver.Config, ...)
- func BuildPeerProxy(versionedInformer clientgoinformers.SharedInformerFactory, ...) (utilpeerproxy.Interface, error)
- func CreateAPIExtensionsConfig(kubeAPIServerConfig server.Config, ...) (*apiextensionsapiserver.Config, error)
- func CreatePeerEndpointLeaseReconciler(c genericapiserver.Config, storageFactory serverstorage.StorageFactory) (reconcilers.PeerEndpointLeaseReconciler, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildAuthorizer ¶
func BuildAuthorizer(s controlplaneapiserver.CompletedOptions, egressSelector *egressselector.EgressSelector, versionedInformers clientgoinformers.SharedInformerFactory) (authorizer.Authorizer, authorizer.RuleResolver, bool, error)
BuildAuthorizer constructs the authorizer. If authorization is not set in s, it returns nil, nil, false, nil
func BuildGenericConfig ¶
func BuildGenericConfig( s controlplaneapiserver.CompletedOptions, 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 BuildPeerProxy ¶
func BuildPeerProxy(versionedInformer clientgoinformers.SharedInformerFactory, svm storageversion.Manager, proxyClientCertFile string, proxyClientKeyFile string, peerCAFile string, peerAdvertiseAddress reconcilers.PeerAdvertiseAddress, apiServerID string, reconciler reconcilers.PeerEndpointLeaseReconciler, serializer runtime.NegotiatedSerializer) (utilpeerproxy.Interface, error)
func CreateAPIExtensionsConfig ¶
func CreateAPIExtensionsConfig( kubeAPIServerConfig server.Config, kubeInformers informers.SharedInformerFactory, pluginInitializers []admission.PluginInitializer, commandOptions controlplaneapiserver.CompletedOptions, masterCount int, serviceResolver webhook.ServiceResolver, authResolverWrapper webhook.AuthenticationInfoResolverWrapper, ) (*apiextensionsapiserver.Config, error)
func CreatePeerEndpointLeaseReconciler ¶
func CreatePeerEndpointLeaseReconciler(c genericapiserver.Config, storageFactory serverstorage.StorageFactory) (reconcilers.PeerEndpointLeaseReconciler, error)
CreatePeerEndpointLeaseReconciler creates a apiserver endpoint lease reconciliation loop The peer endpoint leases are used to find network locations of apiservers for peer proxy
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.