Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( AddToScheme = localSchemeBuilder.AddToScheme Scheme = runtime.NewScheme() )
Functions ¶
Types ¶
type HarvesterServer ¶
type HarvesterServer struct { Context context.Context RESTConfig *restclient.Config DynamicClient dynamic.Interface ClientSet *kubernetes.Clientset ASL accesscontrol.AccessSetLookup Handler http.Handler // contains filtered or unexported fields }
func New ¶
func New(ctx context.Context, clientConfig clientcmd.ClientConfig, options config.Options) (*HarvesterServer, error)
func (*HarvesterServer) ListenAndServe ¶
func (s *HarvesterServer) ListenAndServe(listenerCfg *dynamiclistener.Config, opts config.Options) error
func (*HarvesterServer) Scaled ¶
func (s *HarvesterServer) Scaled() *config.Scaled
Scaled returns the *config.Scaled, it should call after Start.
type PostStartHook ¶
type StartHook ¶
type StartHook func(context.Context, *steveserver.Server, *steveserver.Controllers, config.Options) error
Click to show internal directories.
Click to hide internal directories.