pub struct ContainerRegistry { /* private fields */ }
Expand description
A container registry storing OCI containers.
Implementations§
Source§impl ContainerRegistry
impl ContainerRegistry
Sourcepub fn builder() -> ContainerRegistryBuilder
pub fn builder() -> ContainerRegistryBuilder
Creates a new builder for a ContainerRegistry
.
See documentation of ContainerRegistryBuilder
for details.
Sourcepub fn make_router(self: Arc<ContainerRegistry>) -> Router
pub fn make_router(self: Arc<ContainerRegistry>) -> Router
Builds an axum::routing::Router
for this registry.
Produces the core entry point for the registry; create and mount the router into an axum
application to use it.
Auto Trait Implementations§
impl Freeze for ContainerRegistry
impl !RefUnwindSafe for ContainerRegistry
impl Send for ContainerRegistry
impl Sync for ContainerRegistry
impl Unpin for ContainerRegistry
impl !UnwindSafe for ContainerRegistry
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