kubeapiserver

package
v0.12.1-0...-0a124f2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 11, 2017 License: Apache-2.0 Imports: 11 Imported by: 0

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)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL