git://git.halfball.org
/
cni.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
536cb5b
)
versioning: document meaning of 'Legacy' version support
author
Gabe Rosenhouse
<rosenhouse@gmail.com>
Mon, 29 Aug 2016 23:20:18 +0000
(19:20 -0400)
committer
Gabe Rosenhouse
<rosenhouse@gmail.com>
Fri, 2 Sep 2016 15:26:17 +0000
(11:26 -0400)
pkg/version/version.go
patch
|
blob
|
history
diff --git
a/pkg/version/version.go
b/pkg/version/version.go
index
72b6e9b
..
62bf8bb
100644
(file)
--- a/
pkg/version/version.go
+++ b/
pkg/version/version.go
@@
-79,4
+79,11
@@
func Decode(jsonBytes []byte) (PluginInfo, error) {
return &info, nil
}
+// Legacy PluginInfo describes a plugin that is backwards compatible with the
+// CNI spec version 0.1.0. In particular, a runtime compiled against the 0.1.0
+// library ought to work correctly with a plugin that reports support for
+// Legacy versions.
+//
+// Any future CNI spec versions which meet this definition will be added to
+// this list.
var Legacy = PluginSupports("0.1.0", "0.2.0", "0.3.0")