Struct garage_model::garage::Garage
source · [−]pub struct Garage {
pub config: Config,
pub db: Db,
pub background: Arc<BackgroundRunner>,
pub system: Arc<System>,
pub block_manager: Arc<BlockManager>,
pub bucket_table: Arc<Table<BucketTable, TableFullReplication>>,
pub bucket_alias_table: Arc<Table<BucketAliasTable, TableFullReplication>>,
pub key_table: Arc<Table<KeyTable, TableFullReplication>>,
pub object_table: Arc<Table<ObjectTable, TableShardedReplication>>,
pub version_table: Arc<Table<VersionTable, TableShardedReplication>>,
pub block_ref_table: Arc<Table<BlockRefTable, TableShardedReplication>>,
}
Expand description
An entire Garage full of data
Fields
config: Config
The parsed configuration Garage is running
db: Db
The local database
background: Arc<BackgroundRunner>
A background job runner
system: Arc<System>
The membership manager
block_manager: Arc<BlockManager>
The block manager
bucket_table: Arc<Table<BucketTable, TableFullReplication>>
Table containing informations about buckets
bucket_alias_table: Arc<Table<BucketAliasTable, TableFullReplication>>
Table containing informations about bucket aliases
key_table: Arc<Table<KeyTable, TableFullReplication>>
Table containing informations about api keys
object_table: Arc<Table<ObjectTable, TableShardedReplication>>
version_table: Arc<Table<VersionTable, TableShardedReplication>>
block_ref_table: Arc<Table<BlockRefTable, TableShardedReplication>>
Implementations
Create and run garage
Use this for shutdown
Auto Trait Implementations
impl !RefUnwindSafe for Garage
impl !UnwindSafe for Garage
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more