class TestRGWUser : public sal::RGWUser {
public:
+ virtual std::unique_ptr<RGWUser> clone() override {
+ return std::unique_ptr<RGWUser>(new TestRGWUser(*this));
+ }
+
virtual int list_buckets(const DoutPrefixProvider *dpp, const string&, const string&, uint64_t, bool, sal::RGWBucketList&, optional_yield y) override {
return 0;
}
return nullptr;
}
+ virtual int read_attrs(const DoutPrefixProvider *dpp, optional_yield y, sal::RGWAttrs* uattrs, RGWObjVersionTracker* tracker) override {
+ return 0;
+ }
+
+ virtual int read_stats(optional_yield y, RGWStorageStats* stats, ceph::real_time *last_stats_sync, ceph::real_time *last_stats_update) override {
+ return 0;
+ }
+
+ virtual int read_stats_async(RGWGetUserStats_CB *cb) override {
+ return 0;
+ }
+
+ virtual int complete_flush_stats(optional_yield y) override {
+ return 0;
+ }
+
+ virtual int read_usage(uint64_t start_epoch, uint64_t end_epoch, uint32_t max_entries, bool *is_truncated, RGWUsageIter& usage_iter, map<rgw_user_bucket, rgw_usage_log_entry>& usage) override {
+ return 0;
+ }
+
+ virtual int trim_usage(uint64_t start_epoch, uint64_t end_epoch) override {
+ return 0;
+ }
+
virtual int load_by_id(const DoutPrefixProvider *dpp, optional_yield y) override {
return 0;
}
+ virtual int store_info(const DoutPrefixProvider *dpp, optional_yield y, const RGWUserCtl::PutParams& params) override {
+ return 0;
+ }
+
+ virtual int remove_info(const DoutPrefixProvider *dpp, optional_yield y, const RGWUserCtl::RemoveParams& params) override {
+ return 0;
+ }
+
virtual ~TestRGWUser() = default;
};