Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller drives modules through the package engine alone, without addon-operator.
func Build ¶
func Build(ctx context.Context, client *klient.Client, ms metricsstorage.Storage, logger *log.Logger) (*Controller, error)
Build assembles the manager, the package engine and the shared containers; it starts nothing.
func (*Controller) PackageEngine ¶
func (c *Controller) PackageEngine() *engine.Engine
PackageEngine returns the package engine.
func (*Controller) Start ¶
func (c *Controller) Start(ctx context.Context) error
Start runs the manager, cleans the disk up and boots the engine from the cluster: Global, every installed module and application. Boot restores each from its status.currentVersion and status.lastAppliedConfiguration; a Boot error stops deckhouse.
func (*Controller) Stop ¶
func (c *Controller) Stop()
Stop waits for a Start in progress (the engine may stop only after Boot returned), then stops the package engine; a Start after it does nothing.