tree: b4eb7d569ee82a6d491fc4ef24fd96363b2bdf02 [path history] [tgz]
  1. capabilities/
  2. images/
  3. _toc.yaml
  4. capability_routing_example.png
  5. collection_example.png
  6. component_manager.md
  7. component_manifests.md
  8. component_urls.md
  9. components_and_processes.md
  10. declarations.md
  11. design_principles.md
  12. elf_runner.md
  13. environments.md
  14. hub.md
  15. introduction.md
  16. life_of_a_protocol_open.md
  17. lifecycle.md
  18. monikers.md
  19. opaque_test.md
  20. README.md
  21. realm_example.png
  22. realms.md
  23. resolvers.md
  24. runners.md
  25. services.md
  26. topology.md
docs/concepts/components/v2/README.md

Components

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

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