Crate shuttle_service
source ·Re-exports§
pub use crate::error::CustomError;
pub use crate::error::Error;
Modules§
- Types representing various errors that can occur in the process of building and deploying a service.
Structs§
- Used to request a container from the local run provisioner
- Response from requesting a container from the local run provisioner
- Holds the data for building a database connection string.
- The input given to Shuttle DB resources
- A factory for getting metadata when building resources
- Wrapper type for secret values such as passwords or authentication keys.
- Store that holds all the secrets available to a deployment
- Returned when provisioning a Shuttle resource
Enums§
- The output produced by Shuttle DB resources
- The environment this project is running in
Traits§
- Implement this on an
ResourceInputBuilder::Output
type to turn the base resource into the end type exposed to the Shuttle main function. - Allows implementing plugins for the Shuttle main function.
- The core trait of the Shuttle platform. Every service deployed to Shuttle needs to implement this trait.