apiserver

package
v0.0.0-...-cca2926 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2024 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LoopbackClientServerNameOverride = "apiserver-loopback-client"
)

Variables

View Source
var SpecialDefaultResourcePrefixes = map[schema.GroupResource]string{}

Functions

func ApplySecureServTo

func ApplySecureServTo(certFile, keyFile string, genericConfig *genericapiserver.Config)

func CreateRESTOptionsGetter

func CreateRESTOptionsGetter(Codecs *serializer.CodecFactory, Scheme *runtime.Scheme) generic.RESTOptionsGetter

func InstallAPIGroups

func InstallAPIGroups(apiServer *genericapiserver.GenericAPIServer, apiGroups ...*genericapiserver.APIGroupInfo) error

Types

type ApiServer

type ApiServer struct {
	GenericAPIServer *genericapiserver.GenericAPIServer
}

ApiServer represent server

func NewServer

func NewServer(cc *ControlplaneConfig, delegationTarget genericapiserver.DelegationTarget) *ApiServer

func (*ApiServer) Run

func (s *ApiServer) Run(stopCh chan struct{})

PreRun [#TODO](should add some comments)

type ControlplaneConfig

type ControlplaneConfig struct {
	Generic *genericapiserver.CompletedConfig
}

ControlplaneConfig represent apiserverconfig

func NewConfig

func NewConfig() *ControlplaneConfig

func (*ControlplaneConfig) New

func (c *ControlplaneConfig) New() *ApiServer

New [#TODO](should add some comments)

type Extra

type Extra struct {
}

Extra represent extra

Jump to

Keyboard shortcuts

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