apiserver

package
v3.7.14-1+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2017 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ImageAPIServer

type ImageAPIServer struct {
	GenericAPIServer *genericapiserver.GenericAPIServer
}

type ImageAPIServerConfig

type ImageAPIServerConfig struct {
	GenericConfig *genericapiserver.Config

	CoreAPIServerClientConfig          *restclient.Config
	LimitVerifier                      imageadmission.LimitVerifier
	RegistryHostnameRetriever          imageapi.RegistryHostnameRetriever
	AllowedRegistriesForImport         *configapi.AllowedRegistries
	MaxImagesBulkImportedPerRepository int

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

func (*ImageAPIServerConfig) Complete

func (c *ImageAPIServerConfig) Complete() completedConfig

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

func (*ImageAPIServerConfig) SkipComplete

func (c *ImageAPIServerConfig) SkipComplete() completedConfig

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

func (*ImageAPIServerConfig) V1RESTStorage

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

Jump to

Keyboard shortcuts

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