Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
Config is a wrapper over the config section which provides access to Shard configurations.
func (*Config) BlobStor ¶
func (x *Config) BlobStor() *blobstorconfig.Config
BlobStor returns "blobstor" subsection as a blobstorconfig.Config.
func (*Config) Metabase ¶
func (x *Config) Metabase() *metabaseconfig.Config
Metabase returns "metabase" subsection as a metabaseconfig.Config.
func (*Config) Mode ¶ added in v0.27.3
Mode return value of "mode" config parameter.
Panics if read value is not one of predefined shard modes.
func (*Config) RefillMetabase ¶ added in v0.25.0
RefillMetabase returns value of "resync_metabase" config parameter.
Returns false if value is not a valid bool.
func (*Config) WriteCache ¶
func (x *Config) WriteCache() *writecacheconfig.Config
WriteCache returns "writecache" subsection as a writecacheconfig.Config.
Click to show internal directories.
Click to hide internal directories.