controller

package
v1.59.1 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: Apache-2.0 Imports: 33 Imported by: ? 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

View Source
const (
	ModuleOrderIdx = 2
	ModuleNameIdx  = 3
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DeckhouseController

type DeckhouseController struct {
	// contains filtered or unexported fields
}

func NewDeckhouseController

func NewDeckhouseController(ctx context.Context, config *rest.Config, mm *module_manager.ModuleManager, metricStorage *metric_storage.MetricStorage) (*DeckhouseController, error)

func (*DeckhouseController) InitModulesAndConfigsStatuses added in v1.59.0

func (dml *DeckhouseController) InitModulesAndConfigsStatuses() error

InitModulesAndConfigsStatuses inits and moduleconfigs' status fields at start up

func (*DeckhouseController) LoadModule added in v1.59.0

func (dml *DeckhouseController) LoadModule(_, _ string) (*modules.BasicModule, error)

func (*DeckhouseController) LoadModules

func (dml *DeckhouseController) LoadModules() ([]*modules.BasicModule, error)

func (*DeckhouseController) RunControllers added in v1.59.0

func (dml *DeckhouseController) RunControllers()

RunControllers function starts all child controllers linked with Modules

func (*DeckhouseController) Start

func (dml *DeckhouseController) Start(moduleEventC <-chan events.ModuleEvent, deckhouseConfigC <-chan utils.Values) error

Start runs preflight checks and load all deckhouse modules from the FS it doesn't start controllers for ModuleSource/ModuleRelease objects

Directories

Path Synopsis
module-controllers

Jump to

Keyboard shortcuts

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