Documentation ¶
Overview ¶
Copyright Contributors to the Open Cluster Management project
package kubeapiserver does all of the work necessary to create a Kubernetes APIServer by binding together the API, master and APIServer infrastructure. It can be configured and called directly or via the hyperkube framework.
Copyright Contributors to the Open Cluster Management project ¶
Copyright Contributors to the Open Cluster Management project
Index ¶
- func BuildPriorityAndFairness(serverRunOptions *genericoptions.ServerRunOptions, ...) (utilflowcontrol.Interface, error)
- func CreateProxyTransport() *http.Transport
- func NewServer(options options.ServerRunOptions) *server
- func ParseWatchCacheSizes(cacheSizes []string) (map[schema.GroupResource]int, error)
- type Server
- type SimpleRestOptionsFactory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildPriorityAndFairness ¶
func BuildPriorityAndFairness(serverRunOptions *genericoptions.ServerRunOptions, extclient clientgoclientset.Interface, versionedInformer clientgoinformers.SharedInformerFactory) (utilflowcontrol.Interface, error)
BuildPriorityAndFairness constructs the guts of the API Priority and Fairness filter
func CreateProxyTransport ¶
CreateProxyTransport creates the dialer infrastructure to connect to the nodes.
func NewServer ¶
func NewServer(options options.ServerRunOptions) *server
func ParseWatchCacheSizes ¶
func ParseWatchCacheSizes(cacheSizes []string) (map[schema.GroupResource]int, error)
ParseWatchCacheSizes turns a list of cache size values into a map of group resources to requested sizes.
Types ¶
type Server ¶
type Server interface { AddController(name string, controller controllers.Controller) Start() error }
type SimpleRestOptionsFactory ¶
type SimpleRestOptionsFactory struct { Options genericoptions.EtcdOptions TransformerOverrides map[schema.GroupResource]value.Transformer }
func (*SimpleRestOptionsFactory) GetRESTOptions ¶
func (f *SimpleRestOptionsFactory) GetRESTOptions(resource schema.GroupResource) (generic.RESTOptions, error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.