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 2017/10/13 08:44:15 UTC
mesos git commit: Added documentation to CSI-related source proto
fields.
Repository: mesos
Updated Branches:
refs/heads/master bea361880 -> 7014fbfaa
Added documentation to CSI-related source proto fields.
This commit adds clarifying documentation to CSI-related proto fields
in `Resource.DiskInfo.Source` which were introduced earlier.
Review: https://reviews.apache.org/r/62929/
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/7014fbfa
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/7014fbfa
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/7014fbfa
Branch: refs/heads/master
Commit: 7014fbfaaf9aa2bfb365e297032af691d814c9b9
Parents: bea3618
Author: Benjamin Bannier <bb...@apache.org>
Authored: Fri Oct 13 10:42:19 2017 +0200
Committer: Benjamin Bannier <bb...@apache.org>
Committed: Fri Oct 13 10:42:19 2017 +0200
----------------------------------------------------------------------
include/mesos/mesos.proto | 5 +++++
include/mesos/v1/mesos.proto | 5 +++++
2 files changed, 10 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/7014fbfa/include/mesos/mesos.proto
----------------------------------------------------------------------
diff --git a/include/mesos/mesos.proto b/include/mesos/mesos.proto
index ba87339..2379c2e 100644
--- a/include/mesos/mesos.proto
+++ b/include/mesos/mesos.proto
@@ -1343,7 +1343,12 @@ message Resource {
optional Path path = 2;
optional Mount mount = 3;
+ // An identifier for this source. This field maps onto CSI
+ // volume IDs and is not expected to be set by frameworks.
optional string id = 4; // EXPERIMENTAL.
+
+ // Additional metadata for this source. This field maps onto CSI
+ // volume metadata and is not expected to be set by frameworks.
optional Labels metadata = 5; // EXPERIMENTAL.
// This field serves as an indirection to a set of storage
http://git-wip-us.apache.org/repos/asf/mesos/blob/7014fbfa/include/mesos/v1/mesos.proto
----------------------------------------------------------------------
diff --git a/include/mesos/v1/mesos.proto b/include/mesos/v1/mesos.proto
index a6d662f..c3581b5 100644
--- a/include/mesos/v1/mesos.proto
+++ b/include/mesos/v1/mesos.proto
@@ -1324,7 +1324,12 @@ message Resource {
optional Path path = 2;
optional Mount mount = 3;
+ // An identifier for this source. This field maps onto CSI
+ // volume IDs and is not expected to be set by frameworks.
optional string id = 4; // EXPERIMENTAL.
+
+ // Additional metadata for this source. This field maps onto CSI
+ // volume metadata and is not expected to be set by frameworks.
optional Labels metadata = 5; // EXPERIMENTAL.
// This field serves as an indirection to a set of storage