LCOV - code coverage report
Current view:
top level
-
pageserver/src/tenant
- config.rs
(
source
/ functions)
Coverage
Total
Hit
Test:
a43a77853355b937a79c57b07a8f05607cf29e6c.info
Lines:
26.1 %
257
67
Test Date:
2024-09-19 12:04:32
Functions:
9.8 %
153
15
Function Name
Hit count
<<pageserver::tenant::config::AttachedLocationConfig as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting
0
<
::deserialize::__Field as serde::de::Deserialize>::deserialize::
>
0
<
::deserialize::__Field as serde::de::Deserialize>::deserialize::
0
<
::deserialize::__FieldVisitor as serde::de::Visitor>::expecting
0
<
::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<_>
0
<
::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::
0
<
::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::<_>
0
<
::deserialize::__Visitor as serde::de::Visitor>::expecting
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_map::
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_map::
>
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_map::
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_seq::
0
<<pageserver::tenant::config::AttachmentMode as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting
0
<
::deserialize::__Field as serde::de::Deserialize>::deserialize::
>
0
<
::deserialize::__Field as serde::de::Deserialize>::deserialize::
>
0
<
::deserialize::__FieldVisitor as serde::de::Visitor>::expecting
0
<
::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<_>
0
<
::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::
0
<
::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::<_>
0
<
::deserialize::__Visitor as serde::de::Visitor>::expecting
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_enum::
>
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_enum::
0
<<pageserver::tenant::config::LocationConf as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting
0
<
::deserialize::__Field as serde::de::Deserialize>::deserialize::
>
0
<
::deserialize::__Field as serde::de::Deserialize>::deserialize::
0
<
::deserialize::__FieldVisitor as serde::de::Visitor>::expecting
0
<
::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<_>
0
<
::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::
0
<
::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::<_>
0
<
::deserialize::__Visitor as serde::de::Visitor>::expecting
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_map::
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_map::
>
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_map::
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_seq::
0
<<pageserver::tenant::config::LocationMode as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting
0
<
::deserialize::__Field as serde::de::Deserialize>::deserialize::
>
0
<
::deserialize::__Field as serde::de::Deserialize>::deserialize::
>
0
<
::deserialize::__FieldVisitor as serde::de::Visitor>::expecting
0
<
::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<_>
0
<
::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::
0
<
::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::<_>
0
<
::deserialize::__Visitor as serde::de::Visitor>::expecting
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_enum::
>
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_enum::
0
<<pageserver::tenant::config::SecondaryLocationConfig as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting
0
<
::deserialize::__Field as serde::de::Deserialize>::deserialize::
>
0
<
::deserialize::__Field as serde::de::Deserialize>::deserialize::
0
<
::deserialize::__FieldVisitor as serde::de::Visitor>::expecting
0
<
::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<_>
0
<
::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::
0
<
::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::<_>
0
<
::deserialize::__Visitor as serde::de::Visitor>::expecting
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_map::
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_map::
>
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_map::
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_seq::
0
<pageserver::tenant::config::AttachedLocationConfig>::may_upload_layers_hint
0
<pageserver::tenant::config::LocationConf as core::default::Default>::default
0
<pageserver::tenant::config::LocationConf as core::fmt::Debug>::fmt
0
<pageserver::tenant::config::LocationConf>::attach_in_generation
0
<pageserver::tenant::config::LocationConf>::try_from
0
<pageserver::tenant::config::LocationConf>::try_from::get_generation
0
<pageserver::tenant::config::LocationConf>::try_from::get_generation::{closure#0}
0
<pageserver::tenant::config::LocationConf>::try_from::{closure#0}
0
<pageserver::tenant::config::TenantConfOpt as core::convert::TryFrom<toml_edit::item::Item>>::try_from
0
<pageserver::tenant::config::TenantConfOpt as core::convert::TryFrom<toml_edit::item::Item>>::try_from::{closure#0}
0
<pageserver::tenant::config::TenantConfOpt as core::convert::TryFrom<toml_edit::item::Item>>::try_from::{closure#1}
0
<pageserver::tenant::config::TenantConfOpt>::merge
0
<pageserver_api::models::TenantConfig as core::convert::From<pageserver::tenant::config::TenantConfOpt>>::from
0
<pageserver_api::models::TenantConfig as core::convert::From<pageserver::tenant::config::TenantConfOpt>>::from::humantime
0
pageserver::tenant::config::tests::de_serializing_pageserver_config_omits_empty_values
6
pageserver::tenant::config::tests::test_try_from_models_tenant_config_err
6
pageserver::tenant::config::tests::test_try_from_models_tenant_config_success
6
<pageserver::tenant::config::TenantConfOpt as core::convert::TryFrom<&pageserver_api::models::TenantConfig>>::try_from
12
<<pageserver::tenant::config::TenantConfOpt as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting
588
<<
::deserialize::__Visitor as serde::de::Visitor>::visit_map::__DeserializeWith as serde::de::Deserialize>::deserialize::<&mut serde_json::de::Deserializer
>
0
<<
::deserialize::__Visitor as serde::de::Visitor>::visit_map::__DeserializeWith as serde::de::Deserialize>::deserialize::
>
0
<<
::deserialize::__Visitor as serde::de::Visitor>::visit_map::__DeserializeWith as serde::de::Deserialize>::deserialize::
>
0
<<
::deserialize::__Visitor as serde::de::Visitor>::visit_map::__DeserializeWith as serde::de::Deserialize>::deserialize::
>>
0
<<
::deserialize::__Visitor as serde::de::Visitor>::visit_map::__DeserializeWith as serde::de::Deserialize>::deserialize::
>>
0
<<
::deserialize::__Visitor as serde::de::Visitor>::visit_map::__DeserializeWith as serde::de::Deserialize>::deserialize::
>
0
<<
::deserialize::__Visitor as serde::de::Visitor>::visit_map::__DeserializeWith as serde::de::Deserialize>::deserialize::
0
<<
::deserialize::__Visitor as serde::de::Visitor>::visit_seq::__DeserializeWith as serde::de::Deserialize>::deserialize::<&mut serde_json::de::Deserializer
>
0
<<
::deserialize::__Visitor as serde::de::Visitor>::visit_seq::__DeserializeWith as serde::de::Deserialize>::deserialize::
>
0
<<
::deserialize::__Visitor as serde::de::Visitor>::visit_seq::__DeserializeWith as serde::de::Deserialize>::deserialize::
>
0
<<
::deserialize::__Visitor as serde::de::Visitor>::visit_seq::__DeserializeWith as serde::de::Deserialize>::deserialize::
0
<
::deserialize::__Field as serde::de::Deserialize>::deserialize::
>
0
<
::deserialize::__Field as serde::de::Deserialize>::deserialize::
>>
0
<
::deserialize::__Field as serde::de::Deserialize>::deserialize::
>
0
<
::deserialize::__FieldVisitor as serde::de::Visitor>::expecting
0
<
::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<_>
0
<
::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::<_>
0
<
::deserialize::__Visitor as serde::de::Visitor>::expecting
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_map::
>
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_map::
>>
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_map::
>
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_map::
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_map::
>
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_seq::
>
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_seq::
>::{closure#0}
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_seq::
>::{closure#1}
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_seq::
>::{closure#2}
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_seq::
>::{closure#3}
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_seq::
>::{closure#4}
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_seq::
>::{closure#5}
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_seq::
>::{closure#6}
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_seq::
>::{closure#7}
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_seq::
>::{closure#8}
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_seq::
>::{closure#9}
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_seq::
>
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_seq::
>::{closure#0}
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_seq::
>::{closure#1}
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_seq::
>::{closure#2}
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_seq::
>::{closure#3}
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_seq::
>::{closure#4}
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_seq::
>::{closure#5}
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_seq::
>::{closure#6}
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_seq::
>::{closure#7}
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_seq::
>::{closure#8}
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_seq::
>::{closure#9}
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_seq::
>
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_seq::
>::{closure#0}
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_seq::
>::{closure#1}
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_seq::
>::{closure#2}
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_seq::
>::{closure#3}
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_seq::
>::{closure#4}
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_seq::
>::{closure#5}
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_seq::
>::{closure#6}
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_seq::
>::{closure#7}
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_seq::
>::{closure#8}
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_seq::
>::{closure#9}
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_seq::
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_seq::
::{closure#0}
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_seq::
::{closure#1}
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_seq::
::{closure#2}
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_seq::
::{closure#3}
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_seq::
::{closure#4}
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_seq::
::{closure#5}
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_seq::
::{closure#6}
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_seq::
::{closure#7}
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_seq::
::{closure#8}
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_seq::
::{closure#9}
0
<
::serialize::__SerializeWith as serde::ser::Serialize>::serialize::<&mut serde_json::ser::Serializer<&mut alloc::vec::Vec
>>
0
<
::serialize::__SerializeWith as serde::ser::Serialize>::serialize::<&mut toml_edit::ser::map::MapValueSerializer>
0
<
::serialize::__SerializeWith as serde::ser::Serialize>::serialize::
, serde_json::ser::CompactFormatter>>
0
<
::serialize::__SerializeWith as serde::ser::Serialize>::serialize::
0
<
::serialize::__SerializeWith as serde::ser::Serialize>::serialize::
0
<
::serialize::__SerializeWith as serde::ser::Serialize>::serialize::
0
<
::deserialize::__Field as serde::de::Deserialize>::deserialize::
>
6
<
::deserialize::__Field as serde::de::Deserialize>::deserialize::
6
<
::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::
6
<
::deserialize::__Visitor as serde::de::Visitor>::visit_map::
>
6
<
::deserialize::__Visitor as serde::de::Visitor>::visit_map::
6
<
::deserialize::__Visitor as serde::de::Visitor>::visit_map::
>
12
<<
::deserialize::__Visitor as serde::de::Visitor>::visit_map::__DeserializeWith as serde::de::Deserialize>::deserialize::
>
96
<
::deserialize::__Field as serde::de::Deserialize>::deserialize::
>
222
<
::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::
228
<pageserver::tenant::config::LocationConf>::attached_single
588
<pageserver::tenant::config::AttachedLocationConfig>::may_delete_layers_hint
2262
Generated by:
LCOV version 2.1-beta