tree: e11333e741f85d80e9f73a77822ea14e8ae2a9cd [path history] [tgz]
  1. capabilities/
  2. images/
  3. component_manager.md
  4. component_manifests.md
  5. components_vs_processes.md
  6. declarations.md
  7. design_principles.md
  8. elf_runner.md
  9. environments.md
  10. hub.md
  11. introduction.md
  12. life_of_a_protocol_open.md
  13. lifecycle.md
  14. monikers.md
  15. opaque_test.md
  16. README.md
  17. realms.md
  18. resolvers.md
  19. runners.md
  20. services.md
  21. topology.md
docs/concepts/components/v2/README.md

Components v2

This section contains documentation about components in the new component framework (components v2).

Components are the basic unit of executable software on Fuchsia.

Note: The component framework is under active development. This document only covers the new architecture (components v2) implemented by component_manager. The old architecture (components v1) implemented by appmgr is still in use but will be removed once the transition to the new architecture is complete.

Architectural concepts

  • Introduction: What are components and the component framework.
  • Component manager: The runtime.
  • Declarations: Describe components themselves.
  • Lifecycle: Component instance progression from creation to destruction.
  • Topology: The relationships among component instances.
  • Realms: Sub-trees of the component instance topology.
  • Monikers: Identifiers for component instances based on the component topology.

Developing components

  • Capabilities: Different types of capabilities and how to route them between components.
  • Component manifests: How to define a component for the framework.
  • ELF runner: How to launch a component from an ELF file. Typically useful for developing system components in C++, Rust, or Go.

Extending the component framework

  • Runners: Instantiate components; add support for more runtimes.
  • Resolvers: Find components from URLs; add support for methods of software packaging and distribution.

Debugging and troubleshooting

  • Hub: A live view of the component topology at runtime.
  • OpaqueTest: Hermetic testing framework.

Internals

Components (either version)