Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultAPIResourceConfigSource ¶
func DefaultAPIResourceConfigSource() *serverstorage.ResourceConfig
DefaultAPIResourceConfigSource default api resource config
func DefaultRESTStorageProvider ¶
func DefaultRESTStorageProvider() []apiserver.RESTStorageProvider
DefaultRESTStorageProvider build default install api rest provider
func NewController ¶
func NewController(para []interface{}) (*apiserver.ControllerProvider, error)
NewController create controller
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller controller
func (*Controller) PostStartHook ¶
func (c *Controller) PostStartHook(hookContext genericapiserver.PostStartHookContext) error
PostStartHook when apiserver startup call this hook
func (*Controller) PreShutdownHook ¶
func (c *Controller) PreShutdownHook() error
PreShutdownHook when apiserver shutdown call this hook
func (*Controller) Start ¶
func (c *Controller) Start()
Start begins the core controller loops that must exist for bootstrapping a cluster.
Click to show internal directories.
Click to hide internal directories.