Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAdmissionOptions ¶
func NewAdmissionOptions() *genericoptions.AdmissionOptions
NewAdmissionOptions creates a new instance of AdmissionOptions this is eidentical to the options created by upstream apiserver, but omits validatingadmissionpoicy.
func StartAPIServer ¶
func StartAPIServer(opts *StartOptions) error
Types ¶
type ServerOptions ¶
type ServerOptions struct {
RecommendedOptions *genericoptions.RecommendedOptions
APIBuilders []*builders.APIGroupBuilder
GetOpenAPIDefinitions openapi.GetOpenAPIDefinitions
DisableWebhooks bool
}
func (*ServerOptions) GenericConfig ¶
func (o *ServerOptions) GenericConfig( tweakConfig func(config *genericapiserver.RecommendedConfig) error, ) (*genericapiserver.RecommendedConfig, error)
func (*ServerOptions) RunServer ¶
func (o *ServerOptions) RunServer( APIServerVersion *version.Info, stopCh <-chan struct{}, authorizer authorizer.Authorizer, tweakServerConfig func(config *genericapiserver.RecommendedConfig) error, ) error
type StartOptions ¶
type StartOptions struct {
Apis []*builders.APIGroupBuilder
Authorizer authorizer.Authorizer
GetOpenAPIDefinitions openapi.GetOpenAPIDefinitions
Version *version.Info
TweakServerOptions func(options *ServerOptions)
TweakServerConfig func(config *genericapiserver.RecommendedConfig) error
StopChan <-chan struct{}
DisableCommandFlags bool
}
Click to show internal directories.
Click to hide internal directories.