servers

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2024 License: Apache-2.0 Imports: 82 Imported by: 1

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

Index

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

func CreateProxyTransport() *http.Transport

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)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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