fingerprint: add fingerprinting for CNI plugins presense and version (#15452)

This PR adds a fingerprinter to set the attribute
"plugins.cni.version.<name>" => "<version>"

for each CNI plugin in <client>.cni_path (/opt/cni/bin by default).
This commit is contained in:
Seth Hoenig
2022-12-05 14:22:47 -06:00
committed by GitHub
parent 097e65a79e
commit c8e0d5d37d
11 changed files with 234 additions and 20 deletions

View File

@@ -11,7 +11,7 @@ require (
github.com/kr/pretty v0.3.1
github.com/mitchellh/go-testing-interface v1.14.1
github.com/mitchellh/mapstructure v1.5.0
github.com/shoenig/test v0.4.5
github.com/shoenig/test v0.4.6
github.com/stretchr/testify v1.8.1
)