pub struct FlociContainer { /* private fields */ }Expand description
A floci.io cloud emulator container — one AWS/Azure/GCP variant, picked via
FlociContainer::aws/FlociContainer::azure/FlociContainer::gcp.
Implementations§
Source§impl FlociContainer
impl FlociContainer
Sourcepub fn aws() -> Self
pub fn aws() -> Self
The AWS emulator (floci/floci:1.5.30), guest port 4566 — S3, DynamoDB, SQS,
etc.
Sourcepub fn aws_with_image(image: &str) -> Self
pub fn aws_with_image(image: &str) -> Self
The AWS emulator, from a caller-chosen image.
Sourcepub fn azure_with_image(image: &str) -> Self
pub fn azure_with_image(image: &str) -> Self
The Azure emulator, from a caller-chosen image.
Sourcepub fn gcp_with_image(image: &str) -> Self
pub fn gcp_with_image(image: &str) -> Self
The GCP emulator, from a caller-chosen image.
Sourcepub async fn start(self) -> Result<FlociGuard>
pub async fn start(self) -> Result<FlociGuard>
Boots the container.
Auto Trait Implementations§
impl !RefUnwindSafe for FlociContainer
impl !UnwindSafe for FlociContainer
impl Freeze for FlociContainer
impl Send for FlociContainer
impl Sync for FlociContainer
impl Unpin for FlociContainer
impl UnsafeUnpin for FlociContainer
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more