Crate shuttle_service

Source

Re-exports§

pub use crate::error::CustomError;
pub use crate::error::Error;

Modules§

error
Types representing various errors that can occur in the process of building and deploying a service.
resource

Structs§

ContainerRequest
Used to request a container from the local run provisioner
ContainerResponse
Response from requesting a container from the local run provisioner
DatabaseInfo
Holds the data for building a database connection string.
DbInput
The input given to Shuttle DB resources
DeploymentMetadata
ResourceFactory
A factory for getting metadata when building resources
Secret
Wrapper type for secret values such as passwords or authentication keys.
SecretStore
Store that holds all the secrets available to a deployment

Enums§

DatabaseResource
The output produced by Shuttle DB resources
Environment
The environment this project is running in

Traits§

IntoResource
Implement this on an ResourceInputBuilder::Output type to turn the base resource into the end type exposed to the Shuttle main function.
ResourceInputBuilder
Allows implementing plugins for the Shuttle main function.
Service
The core trait of the Shuttle platform. Every service deployed to Shuttle needs to implement this trait.