From 383c84031e942fdbfbeb0e68f9f8d452e087c401 Mon Sep 17 00:00:00 2001 From: Gabe Rosenhouse Date: Mon, 29 Aug 2016 19:20:18 -0400 Subject: [PATCH] versioning: document meaning of 'Legacy' version support --- version/version.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/version/version.go b/version/version.go index 72b6e9b8..62bf8bbb 100644 --- a/version/version.go +++ b/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")