apiserver

package
v3.7.0-alpha.1+incompa... Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2017 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TemplateConfig

type TemplateConfig struct {
	GenericConfig *genericapiserver.Config

	// AuthorizationClient is used to run SAR checks.  It should point to the master.
	AuthorizationClient authorizationinternalversion.AuthorizationInterface

	// TODO these should all become local eventually
	Scheme   *runtime.Scheme
	Registry *registered.APIRegistrationManager
	Codecs   serializer.CodecFactory
	// contains filtered or unexported fields
}

func (*TemplateConfig) Complete

func (c *TemplateConfig) Complete() completedConfig

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

func (*TemplateConfig) SkipComplete

func (c *TemplateConfig) SkipComplete() completedConfig

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

func (*TemplateConfig) V1RESTStorage

func (c *TemplateConfig) V1RESTStorage() (map[string]rest.Storage, error)

type TemplateServer

type TemplateServer struct {
	GenericAPIServer *genericapiserver.GenericAPIServer
}

TemplateServer contains state for a Kubernetes cluster master/api server.

Jump to

Keyboard shortcuts

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