apiserver

package
v3.11.0 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2018 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CompletedConfig added in v3.8.0

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

func (CompletedConfig) New added in v3.8.0

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

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

func (CompletedConfig) V1RESTStorage added in v3.8.0

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

type ExtraConfig added in v3.8.0

type ExtraConfig struct {
	KubeAPIServerClientConfig *restclient.Config
	// SCCStorage is actually created with a kubernetes restmapper options to have the correct prefix,
	// so we have to have it special cased here to point to the right spot.
	SCCStorage            *sccstorage.REST
	SecurityInformers     securityinformer.SharedInformerFactory
	KubeInternalInformers kinternalinformers.SharedInformerFactory
	Authorizer            authorizer.Authorizer

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

type SecurityAPIServer

type SecurityAPIServer struct {
	GenericAPIServer *genericapiserver.GenericAPIServer
}

type SecurityAPIServerConfig

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

func (*SecurityAPIServerConfig) Complete

func (c *SecurityAPIServerConfig) 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
registry
securitycontextconstraints
Package securitycontextconstraints provides Registry interface and its REST implementation for storing SecurityContextConstraints api objects.
Package securitycontextconstraints provides Registry interface and its REST implementation for storing SecurityContextConstraints api objects.

Jump to

Keyboard shortcuts

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