Skip to main contentModule rules
Source pub use xml_config::NotificationConfiguration;pub use xml_config::ParseConfigError;pub use xml_config::ParseConfigError as BucketNotificationConfigError;
- pattern
- xml_config
- BucketNotificationConfig
- Configuration for bucket notifications.
This struct now holds the parsed and validated rules in the new RulesMap format.
- BucketRulesSnapshot
- Represents a bucket’s notification subscription view snapshot (immutable).
- PatternRules
- PatternRules - Event rule that maps object name patterns to TargetID collections.
event.Rules (map[string]TargetIDSet) in the Go code - RulesMap
- RulesMap - Rule mapping organized by event name。
event.RulesMap (map[Name]Rules) in the corresponding Go code - SubscriberIndex
- A global bucket -> snapshot index.
- RuleEvents
- Let the rules structure provide “what events it is subscribed to”.
This way BucketRulesSnapshot does not need to know the internal shape of rules.
- RulesContainer
- Let the rules container provide the ability to iterate over all rules (abstracting only to the minimum necessary).
- BucketSnapshotRef
- Expose Arc form to facilitate sharing.
- DynRulesContainer
- Unify trait-object snapshot types (fix Sized / missing generic arguments)
- TargetIdSet
- TargetIDSet - A collection representation of TargetID.