Documentation ¶
Overview ¶
The kubapiserver package holds code that is common to both the kube-apiserver and the federation-apiserver, but isn't part of a generic API server. For instance, the non-delegated authorization options are used by those two servers, but no generic API server is likely to use them.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildDefaultStorageFactory ¶
func BuildDefaultStorageFactory(storageConfig storagebackend.Config, defaultMediaType string, serializer runtime.StorageSerializer, defaultResourceEncoding *genericapiserver.DefaultResourceEncodingConfig, storageEncodingOverrides map[string]schema.GroupVersion, resourceEncodingOverrides []schema.GroupVersionResource, defaultAPIResourceConfig *genericapiserver.ResourceConfig, resourceConfigOverrides utilflag.ConfigurationMap) (*genericapiserver.DefaultStorageFactory, error)
Builds the DefaultStorageFactory. Merges defaultResourceConfig with the user specified overrides and merges defaultAPIResourceConfig with the corresponding user specified overrides as well.
Types ¶
type RESTOptionsFactory ¶
type RESTOptionsFactory struct { DeleteCollectionWorkers int EnableGarbageCollection bool EnableWatchCache bool StorageFactory genericapiserver.StorageFactory }
RESTOptionsFactory is a RESTOptionsGetter for kube apiservers since they do complicated stuff
func (*RESTOptionsFactory) GetRESTOptions ¶
func (f *RESTOptionsFactory) GetRESTOptions(resource schema.GroupResource) (generic.RESTOptions, error)
Click to show internal directories.
Click to hide internal directories.