Dan Williams
0d19b79260
types: make Result an interface and move existing Result to separate package
2017-01-25 11:31:18 -06:00
Dan Williams
06fd1369aa
all: assert internal objects implement interfaces
2016-12-14 17:09:01 -06:00
Casey Callendrello
61d3f4515a
testing: test invocation of newer plugins with an older libcni
2016-10-25 16:33:35 +02:00
Gabe Rosenhouse
b07b226c97
testing: adds basic test of backwards compatibility
2016-10-02 22:18:53 -07:00
Gabe Rosenhouse
04ba7c7761
versioning: plugins require version match with config
...
infer version 0.1.0 when config is missing an explicit "cniVersion" field
2016-09-19 13:00:49 -07:00
Gabe Rosenhouse
1e4e8fdb5d
versioning: add basic version decode for network config
2016-09-19 12:57:08 -07:00
Gabe Rosenhouse
921292ff77
skel: Plugins require a cniVersion in the NetConf
2016-09-18 21:30:57 -07:00
Gabe Rosenhouse
de91f31ae7
versioning: revert spec version to 0.2.0
2016-09-06 15:37:42 -04:00
Gabe Rosenhouse
bf6948da19
versioning: misc cleanups
...
highlights:
- NetConf struct finally includes cniVersion field
- improve test coverage of current version report behavior
- godoc a few key functions
- allow tests to control version list reported by no-op plugin
2016-09-06 15:35:58 -04:00
Gabe Rosenhouse
2142c076ab
versioning: adds tooling to compile a program against a given old CNI version
...
Allows us to write tests that cover interactions between components of
differing versions
2016-09-02 16:02:02 -04:00
Gabe Rosenhouse
bd3ade0c54
pkg/invoke: refactor plugin exec and backfill unit tests
2016-09-02 15:59:25 -04:00
Gabe Rosenhouse
383c84031e
versioning: document meaning of 'Legacy' version support
2016-09-02 11:26:17 -04:00
Gabe Rosenhouse
b1e254d901
versioning: plugins report a list of supported versions
...
Further progress on versioning support (Issue #266 ).
Bump CNI spec version to 0.3.0
2016-09-02 11:26:17 -04:00
Gabe Rosenhouse
30c99d17cc
pkg/skel: plugins now respond to VERSION command
...
To support CNI spec versioning, plugins must be able to report version
information to container runtimes.
2016-07-14 00:24:32 -04:00