Skip to main content

Module types

Module types 

Source

Structs§

Commands
DirContext
Directory-level context emitted by context signals. Describes a directory’s language, runtime, framework, commands, and env vars without knowing how many services live there.
Discovery
ElixirConfig
EnvVar
GoConfig
JavaConfig
Monorepo
MonorepoPackage
NodeConfig
PackageManagerInfo
Which package manager the project uses and its pinned version.
PhpConfig
PythonConfig
Resources
RubyConfig
Runtime
One language runtime within a service. A Rails+React service has two: one for Ruby, one for Node.
RuntimeInfo
What runtime to install and how to get the right version. Used internally in DirContext; flattened into Runtime for the public API.
RustConfig
Service
Volume

Enums§

ExecMode
Language
LanguageConfig
Network
Restart

Functions§

merge_env_vars
Merge env vars from other into base. For duplicate keys: base wins for value/default, but detected_by is collected from both. New keys from other are appended.
merge_string_vecs
Merge string vecs with dedup. Items from other are appended if not already in base.