apiserver

package
v3.11.2-1+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2018 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CompletedConfig

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

func (CompletedConfig) New

func (c CompletedConfig) New(delegationTarget genericapiserver.DelegationTarget) (*ProjectAPIServer, error)

New returns a new instance of ProjectAPIServer from the given config.

func (CompletedConfig) V1RESTStorage

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

type ExtraConfig

type ExtraConfig struct {
	KubeAPIServerClientConfig *restclient.Config
	KubeInternalInformers     kinternalinformers.SharedInformerFactory
	ProjectAuthorizationCache *projectauth.AuthorizationCache
	ProjectCache              *projectcache.ProjectCache
	ProjectRequestTemplate    string
	ProjectRequestMessage     string
	RESTMapper                meta.RESTMapper

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

type ProjectAPIServer

type ProjectAPIServer struct {
	GenericAPIServer *genericapiserver.GenericAPIServer
}

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

type ProjectAPIServerConfig

type ProjectAPIServerConfig struct {
	GenericConfig *genericapiserver.RecommendedConfig
	ExtraConfig   ExtraConfig
}

func (*ProjectAPIServerConfig) Complete

func (c *ProjectAPIServerConfig) Complete() completedConfig

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

Directories

Path Synopsis
admission
apis/requestlimit
Package api is the internal version of the API.
Package api is the internal version of the API.
apis/requestlimit/v1
Package v1 is the v1 version of the API.
Package v1 is the v1 version of the API.
registry

Jump to

Keyboard shortcuts

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