Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
deckhouse-controller
command
Code generated by "register.go" DO NOT EDIT.
|
Code generated by "register.go" DO NOT EDIT. |
|
internal
|
|
|
app
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. |
|
crd
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. |
|
hookcache
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. |
|
metrics
Package metrics provides centralized metric label key constants for deckhouse-controller.
|
Package metrics provides centralized metric label key constants for deckhouse-controller. |
|
packages/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. |
|
packages/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. |
|
packages/apps
Package apps provides the Application type representing a running package instance.
|
Package apps provides the Application type representing a running package instance. |
|
packages/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. |
|
packages/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. |
|
packages/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. |
|
packages/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). |
|
packages/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. |
|
packages/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. |
|
packages/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. |
|
packages/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. |
|
packages/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. |
|
packages/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. |
|
packages/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. |
|
packages/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. |
|
packages/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. |
|
packages/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. |
|
packages/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. |
|
packages/engine/objectpatcher
Package objectpatcher is the patcher of the hooks' patches.
|
Package objectpatcher is the patcher of the hooks' patches. |
|
packages/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?". |
|
packages/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. |
|
packages/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. |
|
packages/engine/schedule/rule/dynamic
Package dynamic is a module's enable intent rule.
|
Package dynamic is a module's enable intent rule. |
|
packages/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. |
|
packages/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. |
|
packages/nelm/drift
Package monitor provides resource monitoring for Helm releases deployed via nelm.
|
Package monitor provides resource monitoring for Helm releases deployed via nelm. |
|
packages/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. |
|
packages/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. |
|
packages/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. |
|
pkg
|
|
|
addonutils
Package addonutils is the single point where this repository depends on addon-operator's values machinery.
|
Package addonutils is the single point where this repository depends on addon-operator's values machinery. |
|
apis/deckhouse.io/v1alpha1
+kubebuilder:object:generate=true +groupName=deckhouse.io
|
+kubebuilder:object:generate=true +groupName=deckhouse.io |
|
apis/deckhouse.io/v1alpha2
+kubebuilder:object:generate=true +groupName=deckhouse.io
|
+kubebuilder:object:generate=true +groupName=deckhouse.io |
|
apis/deckhouse.io/v1beta1
+kubebuilder:object:generate=true +groupName=deckhouse.io
|
+kubebuilder:object:generate=true +groupName=deckhouse.io |
|
apis/deckhouse.io/validation/resourcerequests
Package resourcerequests validates the autoscaling ranges in spec.resourceRequests of an Application.
|
Package resourcerequests validates the autoscaling ranges in spec.resourceRequests of an Application. |
|
client/clientset/versioned/fake
This package has the automatically generated fake clientset.
|
This package has the automatically generated fake clientset. |
|
client/clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
|
This package contains the scheme of the automatically generated clientset. |
|
client/clientset/versioned/typed/deckhouse.io/v1alpha1
This package has the automatically generated typed clients.
|
This package has the automatically generated typed clients. |
|
client/clientset/versioned/typed/deckhouse.io/v1alpha1/fake
Package fake has the automatically generated clients.
|
Package fake has the automatically generated clients. |
|
client/clientset/versioned/typed/deckhouse.io/v1alpha2
This package has the automatically generated typed clients.
|
This package has the automatically generated typed clients. |
|
client/clientset/versioned/typed/deckhouse.io/v1alpha2/fake
Package fake has the automatically generated clients.
|
Package fake has the automatically generated clients. |
|
client/clientset/versioned/typed/deckhouse.io/v1beta1
This package has the automatically generated typed clients.
|
This package has the automatically generated typed clients. |
|
client/clientset/versioned/typed/deckhouse.io/v1beta1/fake
Package fake has the automatically generated clients.
|
Package fake has the automatically generated clients. |
|
controller/packages/module-package-version
Package modulepackageversion reconciles ModulePackageVersion resources by fetching package metadata from the registry and promoting drafts to ready.
|
Package modulepackageversion reconciles ModulePackageVersion resources by fetching package metadata from the registry and promoting drafts to ready. |
|
envconfig
Package envconfig owns the environment-variable contract between the deckhouse-controller deployment manifest and the addon-operator / shell-operator runtime libraries.
|
Package envconfig owns the environment-variable contract between the deckhouse-controller deployment manifest and the addon-operator / shell-operator runtime libraries. |
Click to show internal directories.
Click to hide internal directories.