Documentation ¶
Index ¶
- Variables
- func CreateNodeDialer() *http.Transport
- func StartApiServer(etcdPath string, apis []*builders.APIGroupBuilder, ...) error
- func StartApiServerWithOptions(opts *StartOptions) error
- type BufferedResponse
- type PostStartHook
- type ServerOptions
- func (o *ServerOptions) Complete() error
- func (o ServerOptions) Config(tweakConfigFuncs ...func(config *apiserver.Config) error) (*apiserver.Config, error)
- func (o *ServerOptions) RunServer(stopCh <-chan struct{}, title, version string, ...) error
- func (o ServerOptions) Validate(args []string) error
- type StartOptions
Constants ¶
This section is empty.
Variables ¶
View Source
var GetOpenApiDefinition openapi.GetOpenAPIDefinitions
Functions ¶
func CreateNodeDialer ¶ added in v0.2.5
CreateNodeDialer creates the dialer infrastructure to connect to the nodes.
func StartApiServer ¶
func StartApiServer(etcdPath string, apis []*builders.APIGroupBuilder, openapidefs openapi.GetOpenAPIDefinitions, title, version string, tweakConfigFuncs ...func(apiServer *apiserver.Config) error) error
StartApiServer starts an apiserver hosting the provider apis and openapi definitions.
func StartApiServerWithOptions ¶
func StartApiServerWithOptions(opts *StartOptions) error
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 InsecureServingOptions *genericoptions.DeprecatedInsecureServingOptionsWithLoopback PrintBearerToken bool PrintOpenapi bool RunDelegatedAuth bool BearerToken string PostStartHooks []PostStartHook }
func NewCommandStartServer ¶
func NewCommandStartServer(etcdPath string, builders []*builders.APIGroupBuilder, stopCh <-chan struct{}, title, version string, tweakConfigFuncs ...func(apiServer *apiserver.Config) error) (*cobra.Command, *ServerOptions, error)
NewCommandStartMaster provides a CLI handler for 'start master' command
func NewServerOptions ¶
func NewServerOptions(etcdPath string, b []*builders.APIGroupBuilder) (*ServerOptions, error)
func (*ServerOptions) Complete ¶
func (o *ServerOptions) Complete() error
func (ServerOptions) Validate ¶
func (o ServerOptions) Validate(args []string) error
type StartOptions ¶
Click to show internal directories.
Click to hide internal directories.