You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by bb...@apache.org on 2019/09/04 13:48:04 UTC
[mesos] branch master updated (997df8b -> d1b32cc)
This is an automated email from the ASF dual-hosted git repository.
bbannier pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/mesos.git.
from 997df8b Renamed *Allocation into *Offering in __generateOffers().
new 4676938 Removed unused and unimplemented method declaration.
new d1b32cc Added stringification for resource provider calls.
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
include/mesos/resource_provider/resource_provider.hpp | 8 ++++++++
include/mesos/v1/resource_provider/resource_provider.hpp | 8 ++++++++
src/resource_provider/storage/provider.hpp | 3 ---
3 files changed, 16 insertions(+), 3 deletions(-)
[mesos] 01/02: Removed unused and unimplemented method declaration.
Posted by bb...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
bbannier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mesos.git
commit 4676938dbff75ab0badd6dad35496285ddcff65c
Author: Benjamin Bannier <bb...@apache.org>
AuthorDate: Wed Sep 4 13:03:20 2019 +0200
Removed unused and unimplemented method declaration.
Review: https://reviews.apache.org/r/71382/
---
src/resource_provider/storage/provider.hpp | 3 ---
1 file changed, 3 deletions(-)
diff --git a/src/resource_provider/storage/provider.hpp b/src/resource_provider/storage/provider.hpp
index ccd09df..ae4d7bd 100644
--- a/src/resource_provider/storage/provider.hpp
+++ b/src/resource_provider/storage/provider.hpp
@@ -48,9 +48,6 @@ public:
const Option<std::string>& authToken,
bool strict);
- static Try<process::http::authentication::Principal> principal(
- const ResourceProviderInfo& info);
-
static Option<Error> validate(const ResourceProviderInfo& info);
~StorageLocalResourceProvider() override;
[mesos] 02/02: Added stringification for resource provider calls.
Posted by bb...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
bbannier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mesos.git
commit d1b32cc3753001f7001dfa30fcea9000264001ef
Author: Benjamin Bannier <bb...@apache.org>
AuthorDate: Wed Sep 4 13:03:22 2019 +0200
Added stringification for resource provider calls.
Review: https://reviews.apache.org/r/71383/
---
include/mesos/resource_provider/resource_provider.hpp | 8 ++++++++
include/mesos/v1/resource_provider/resource_provider.hpp | 8 ++++++++
2 files changed, 16 insertions(+)
diff --git a/include/mesos/resource_provider/resource_provider.hpp b/include/mesos/resource_provider/resource_provider.hpp
index 36d3e6d..b278534 100644
--- a/include/mesos/resource_provider/resource_provider.hpp
+++ b/include/mesos/resource_provider/resource_provider.hpp
@@ -40,6 +40,14 @@ inline std::ostream& operator<<(
return stream << Event::Type_Name(eventType);
}
+
+inline std::ostream& operator<<(
+ std::ostream& stream,
+ const Call::Type& callType)
+{
+ return stream << Call::Type_Name(callType);
+}
+
} // namespace resource_provider {
} // namespace mesos {
diff --git a/include/mesos/v1/resource_provider/resource_provider.hpp b/include/mesos/v1/resource_provider/resource_provider.hpp
index 70d8176..5c9fdef 100644
--- a/include/mesos/v1/resource_provider/resource_provider.hpp
+++ b/include/mesos/v1/resource_provider/resource_provider.hpp
@@ -41,6 +41,14 @@ inline std::ostream& operator<<(
return stream << Event::Type_Name(eventType);
}
+
+inline std::ostream& operator<<(
+ std::ostream& stream,
+ const Call::Type& callType)
+{
+ return stream << Call::Type_Name(callType);
+}
+
} // namespace resource_provider {
} // namespace v1 {
} // namespace mesos {