# Steward v0.1.0 - API Reference

## Modules

- Core
  - [Steward](Steward.md): 
  - [Steward.Controller](Steward.Controller.md): A controller groups resources of one type and defines the workers to reconcile for them.
  - [Steward.Oban](Steward.Oban.md): Helper functions for dealing with Steward managed jobs.

  - [Steward.Resource](Steward.Resource.md): A resource object, the unit of reconciliation.
  - [Steward.Spec](Steward.Spec.md): The jobs a resource's workers desire, built by their `c:Steward.Worker.spec/3` callbacks.
  - [Steward.Worker](Steward.Worker.md): A wrapper around `Oban.Worker` integrating it with Steward's reconciliation engine.

- Setup
  - [Steward.Config](Steward.Config.md): Interface and validation for global Steward configuration.
  - [Steward.Migrations](Steward.Migrations.md): Migrations for Steward's database tables.
  - [Steward.Plugin](Steward.Plugin.md): Supervisor for Steward's active components.
  - [Steward.Telemetry](Steward.Telemetry.md): Telemetry events emitted by Steward.

- Testing
  - [Steward.Testing](Steward.Testing.md): Helpers for testing applications using Steward.

- Errors
  - [Steward.ResourceAlreadyPrunedError](Steward.ResourceAlreadyPrunedError.md): Raised when resuming a resource whose jobs were already pruned, see
`Steward.Controller.resume_resource!/2`.

  - [Steward.ResourceNotFoundError](Steward.ResourceNotFoundError.md): Raised when a resource doesn't exist for the given controller, e.g. by
`Steward.Controller.schedule_resource!/2`.

