versioning: misc cleanups
authorGabe Rosenhouse <rosenhouse@gmail.com>
Tue, 6 Sep 2016 15:22:27 +0000 (11:22 -0400)
committerGabe Rosenhouse <rosenhouse@gmail.com>
Tue, 6 Sep 2016 19:35:58 +0000 (15:35 -0400)
commitd5e2e375d47a409347ccf311c734e935f59394e6
tree7ebae6de92d0d162205f5d73fb53d2943f4dc62c
parentbf31ed1591effba2a9c5d8395a7c580c0738f7de
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
libcni/api.go
pkg/invoke/exec.go
pkg/invoke/get_version_integration_test.go [moved from pkg/invoke/exec_integration_test.go with 78% similarity]
pkg/types/types.go
pkg/version/plugin.go [new file with mode: 0644]
pkg/version/plugin_test.go [moved from pkg/version/version_test.go with 94% similarity]
pkg/version/version.go
plugins/test/noop/debug/debug.go
plugins/test/noop/main.go
plugins/test/noop/noop_test.go