Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GetOpenApiDefinition openapi.GetOpenAPIDefinitions
Functions ¶
func StartApiServer ¶
func StartApiServer(etcdPath string, apis []*builders.APIGroupBuilder, openapidefs openapi.GetOpenAPIDefinitions, title, version string)
StartApiServer starts an apiserver hosting the provider apis and openapi definitions.
Types ¶
type BufferedResponse ¶
func (BufferedResponse) Header ¶
func (BufferedResponse) Header() http.Header
func (BufferedResponse) WriteHeader ¶
func (BufferedResponse) WriteHeader(int)
type PostStartHook ¶
type PostStartHook struct { Fn genericapiserver.PostStartHookFunc Name string }
type ServerOptions ¶
type ServerOptions struct { RecommendedOptions *genericoptions.RecommendedOptions APIBuilders []*builders.APIGroupBuilder PrintBearerToken bool PrintOpenapi bool RunDelegatedAuth bool BearerToken string Kubeconfig string PostStartHooks []PostStartHook }
func NewCommandStartServer ¶
func NewCommandStartServer(etcdPath string, out, errOut io.Writer, builders []*builders.APIGroupBuilder, stopCh <-chan struct{}, title, version string) (*cobra.Command, *ServerOptions)
NewCommandStartMaster provides a CLI handler for 'start master' command
func NewServerOptions ¶
func NewServerOptions(etcdPath string, out, errOut io.Writer, b []*builders.APIGroupBuilder) *ServerOptions
func (*ServerOptions) Complete ¶
func (o *ServerOptions) Complete() error
func (*ServerOptions) RunServer ¶
func (o *ServerOptions) RunServer(stopCh <-chan struct{}, title, version string) error
func (ServerOptions) Validate ¶
func (o ServerOptions) Validate(args []string) error
Click to show internal directories.
Click to hide internal directories.