apiserver

package
v1.1.0-alpha.0....-c00828a Latest Latest
Warning

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

Go to latest
Published: May 12, 2017 License: Apache-2.0 Imports: 46 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func NewCustomResourceHandler

func NewCustomResourceHandler(
	versionDiscoveryHandler *versionDiscoveryHandler,
	groupDiscoveryHandler *groupDiscoveryHandler,
	requestContextMapper apirequest.RequestContextMapper,
	customResourceLister listers.CustomResourceLister,
	delegate http.Handler,
	restOptionsGetter generic.RESTOptionsGetter,
	admission admission.Interface) *customResourceHandler

Types

type Config

type Config struct {
	GenericConfig *genericapiserver.Config

	CustomResourceRESTOptionsGetter genericregistry.RESTOptionsGetter
}

func (*Config) Complete

func (c *Config) Complete() completedConfig

Complete fills in any fields not set that are required to have valid data. It's mutating the receiver.

func (*Config) SkipComplete

func (c *Config) SkipComplete() completedConfig

SkipComplete provides a way to construct a server instance without config completion.

type CustomResourceRESTOptionsGetter

type CustomResourceRESTOptionsGetter struct {
	StorageConfig           storagebackend.Config
	StoragePrefix           string
	EnableWatchCache        bool
	DefaultWatchCacheSize   int
	EnableGarbageCollection bool
	DeleteCollectionWorkers int
}

func (CustomResourceRESTOptionsGetter) GetRESTOptions

type CustomResources

type CustomResources struct {
	GenericAPIServer *genericapiserver.GenericAPIServer
}

type DiscoveryController

type DiscoveryController struct {
	// contains filtered or unexported fields
}

func NewDiscoveryController

func NewDiscoveryController(customResourceInformer informers.CustomResourceInformer, versionHandler *versionDiscoveryHandler, groupHandler *groupDiscoveryHandler) *DiscoveryController

func (*DiscoveryController) Run

func (c *DiscoveryController) Run(stopCh <-chan struct{})

type UnstructuredCopier

type UnstructuredCopier struct{}

func (UnstructuredCopier) Copy

type UnstructuredCreator

type UnstructuredCreator struct{}

func (UnstructuredCreator) New

type UnstructuredDefaulter

type UnstructuredDefaulter struct{}

func (UnstructuredDefaulter) Default

func (UnstructuredDefaulter) Default(in runtime.Object)

type UnstructuredNegotiatedSerializer

type UnstructuredNegotiatedSerializer struct{}

func (UnstructuredNegotiatedSerializer) DecoderToVersion

func (UnstructuredNegotiatedSerializer) EncoderForVersion

func (UnstructuredNegotiatedSerializer) SupportedMediaTypes

func (s UnstructuredNegotiatedSerializer) SupportedMediaTypes() []runtime.SerializerInfo

Jump to

Keyboard shortcuts

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