internal/

directory
v1.78.0 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2026 License: Apache-2.0

Directories

Path Synopsis
Package app is deckhouse's single entry point for application configuration: constants, settings, CLI flags and environment variables.
Package app is deckhouse's single entry point for application configuration: constants, settings, CLI flags and environment variables.
Package crd installs CustomResourceDefinitions bundled with Deckhouse packages (modules) and reports the GroupVersionKinds of Deckhouse-managed CRDs present in the cluster.
Package crd installs CustomResourceDefinitions bundled with Deckhouse packages (modules) and reports the GroupVersionKinds of Deckhouse-managed CRDs present in the cluster.
Package hookcache shrinks the objects that the informers of hooks keep in memory.
Package hookcache shrinks the objects that the informers of hooks keep in memory.
Package metrics provides centralized metric label key constants for deckhouse-controller.
Package metrics provides centralized metric label key constants for deckhouse-controller.
module
packages
api
api/handlers/root
Package root composes the root endpoint tree of an API server: the versioned API, the process probes, pprof and the route listing.
Package root composes the root endpoint tree of an API server: the versioned API, the process probes, pprof and the route listing.
api/handlers/root/v1/converge
Package converge serves what the convergence of modules and Global waits for.
Package converge serves what the convergence of modules and Global waits for.
apps
Package apps provides the Application type representing a running package instance.
Package apps provides the Application type representing a running package instance.
dto
engine
Package engine is the package engine of deckhouse-controller: it installs, updates, configures, disables and removes applications and, with EnableModuleV2, modules and Global; without it it runs applications only, beside addon-operator.
Package engine is the package engine of deckhouse-controller: it installs, updates, configures, disables and removes applications and, with EnableModuleV2, modules and Global; without it it runs applications only, beside addon-operator.
engine/core
Package core is the engine core: the registry of package Reconcilers, Global, the boot, the dispatcher of scheduler events and readiness.
Package core is the engine core: the registry of package Reconcilers, Global, the boot, the dispatcher of scheduler events and readiness.
engine/enginetest
Package enginetest is the scenario kit of the package engine: a real core, scheduler, package Reconcilers, Currents and Global over fakes of the disk, the loader, nelm, the hook bindings, the orphan purge and Global's CRD and webhook services.
Package enginetest is the scenario kit of the package engine: a real core, scheduler, package Reconcilers, Currents and Global over fakes of the disk, the loader, nelm, the hook bindings, the orphan purge and Global's CRD and webhook services.
engine/lifecycle
Package lifecycle is the package Reconciler, one per package name: it decides which revision of the package runs and owns the two things that run it, Current (the running revision, lifecycle/current) and the Candidate (the preparation of the desired one).
Package lifecycle is the package Reconciler, one per package name: it decides which revision of the package runs and owns the two things that run it, Current (the running revision, lifecycle/current) and the Candidate (the preparation of the desired one).
engine/lifecycle/configstate
Package configstate holds the configuration state Current and Global share: what was pushed, what is in force, and the checksum every configuration is identified by.
Package configstate holds the configuration state Current and Global share: what was pushed, what is in force, and the checksum every configuration is identified by.
engine/lifecycle/current
Package current runs the working revision of one package: its configuration, hooks and release.
Package current runs the working revision of one package: its configuration, hooks and release.
engine/lifecycle/gate
Package gate is the update decision of one package: Decide answers whether the desired revision is Current, must be prepared, is blocked, or may be activated.
Package gate is the update decision of one package: Decide answers whether the desired revision is Current, must be prepared, is blocked, or may be activated.
engine/lifecycle/global
Package global runs Global: the global hooks, the global settings and the global run, which ensures the CRDs and conversion webhooks of the enabled modules and publishes the enabled set into the global values.
Package global runs Global: the global hooks, the global settings and the global run, which ensures the CRDs and conversion webhooks of the enabled modules and publishes the enabled set into the global values.
engine/lifecycle/hooklane
Package hooklane runs a package's runtime and synchronization hooks in lanes: one lane per hook queue of the package, a FIFO with one goroutine, so the hooks of one queue run one at a time in event order and the queues run in parallel, beside the package's operations.
Package hooklane runs a package's runtime and synchronization hooks in lanes: one lane per hook queue of the package, a FIFO with one goroutine, so the hooks of one queue run one at a time in event order and the queues run in parallel, beside the package's operations.
engine/lifecycle/inbox
Package inbox holds the latest value of every input of a loop plus a wake signal: inputs are states passed whole, so a loop that wakes late loses nothing by reading only the last one.
Package inbox holds the latest value of every input of a loop plus a wake signal: inputs are states passed whole, so a loop that wakes late loses nothing by reading only the last one.
engine/lifecycle/model
Package model is the vocabulary of the package lifecycle: the data that flows between Engine, the package Reconciler, Current and Global, and the Report.
Package model is the vocabulary of the package lifecycle: the data that flows between Engine, the package Reconciler, Current and Global, and the Report.
engine/lifecycle/operation
Package operation runs one operation of Current, Global or the package Reconciler (the preparation of a candidate): its steps, in order, in a worker goroutine that the owner's loop starts and cancels.
Package operation runs one operation of Current, Global or the package Reconciler (the preparation of a candidate): its steps, in order, in a worker goroutine that the owner's loop starts and cancels.
engine/lifecycle/report
Package report stores the Report of one package or of Global.
Package report stores the Report of one package or of Global.
engine/lifecycle/retry
Package retry is the backoff of every execution failure in the lifecycle and the Clock its deadlines are read with.
Package retry is the backoff of every execution failure in the lifecycle and the Clock its deadlines are read with.
engine/notify
Package notify sends the update notifications of packages to the webhook of the notification settings (applications.update.notification); the package Reconciler decides when.
Package notify sends the update notifications of packages to the webhook of the notification settings (applications.update.notification); the package Reconciler decides when.
engine/objectpatcher
Package objectpatcher is the patcher of the hooks' patches.
Package objectpatcher is the patcher of the hooks' patches.
engine/schedule
Package schedule is the scheduler: one graph of every package node (modules, applications and Global) and one computation that answers, for every node at once, "may it run now?".
Package schedule is the scheduler: one graph of every package node (modules, applications and Global) and one computation that answers, for every node at once, "may it run now?".
engine/schedule/rule
Package rule is the enable/disable signal the scheduler folds to decide whether a package runs.
Package rule is the enable/disable signal the scheduler folds to decide whether a package runs.
engine/schedule/rule/bundle
Package bundle is a module intent rule: Enable when the active bundle of the active edition enables the module, a soft Disable otherwise.
Package bundle is a module intent rule: Enable when the active bundle of the active edition enables the module, a soft Disable otherwise.
engine/schedule/rule/dynamic
Package dynamic is a module's enable intent rule.
Package dynamic is a module's enable intent rule.
engine/schedule/rule/script
Package script is a module's enabled script as a scheduler rule.
Package script is a module's enabled script as a scheduler rule.
grants
Package grants resolves per-project cluster resource grants (multitenancy-manager AvailableClusterResource) so that Application package settings fields tagged with x-deckhouse-grantable-resource can be defaulted and validated against what a project may use.
Package grants resolves per-project cluster resource grants (multitenancy-manager AvailableClusterResource) so that Application package settings fields tagged with x-deckhouse-grantable-resource can be defaulted and validated against what a project may use.
nelm/drift
Package monitor provides resource monitoring for Helm releases deployed via nelm.
Package monitor provides resource monitoring for Helm releases deployed via nelm.
observed
Package observed holds what the cluster-facing services observe about each package: workload health, the release progress, the endpoints, whether the release has workloads, the last failure of a hook that ran outside the package's operations and the last verdict of its readiness probe.
Package observed holds what the cluster-facing services observe about each package: workload health, the release progress, the endpoints, whether the release has workloads, the last failure of a hook that ran outside the package's operations and the last verdict of its readiness probe.
orphans
Package orphans deletes what an application instance leaves beside its Helm release: objects its workloads or hooks create at runtime, and the rendered objects an uninstall does not delete — the release hooks, the objects owned by anyone, such as a Job deployed on install only, and the objects a werf resource policy keeps.
Package orphans deletes what an application instance leaves beside its Helm release: objects its workloads or hooks create at runtime, and the rendered objects an uninstall does not delete — the release hooks, the objects owned by anyone, such as a Job deployed on install only, and the objects a werf resource policy keeps.
resourcesize
Package resourcesize translates the per-workload resource footprint declared in a package CR (spec.resourceRequests) - replicas, container resources and the disk sizes of volume claim templates - into nelm render patches, which nelm applies to the rendered manifests both when it renders the chart and when it installs the release.
Package resourcesize translates the per-workload resource footprint declared in a package CR (spec.resourceRequests) - replicas, container resources and the disk sizes of volume claim templates - into nelm render patches, which nelm applies to the rendered manifests both when it renders the chart and when it installs the release.
tools

Jump to

Keyboard shortcuts

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