controller

package
v1.78.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 24, 2026 License: Apache-2.0 Imports: 52 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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.

Directories

Path Synopsis
controllers

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL