From dd65e2d5275f7434f5c1701bf1a4cb263ab2ab4b Mon Sep 17 00:00:00 2001 From: Michael Zappa Date: Wed, 20 Dec 2023 14:22:22 -0700 Subject: [PATCH] add version to cni interface Signed-off-by: Michael Zappa --- libcni/api.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libcni/api.go b/libcni/api.go index 11860902..3cc887dd 100644 --- a/libcni/api.go +++ b/libcni/api.go @@ -114,6 +114,8 @@ type CNI interface { GetStatusNetworkList(ctx context.Context, net *NetworkConfigList) error GetCachedAttachments(containerID string) ([]*NetworkAttachment, error) + + GetVersionInfo(ctx context.Context, pluginType string) (version.PluginInfo, error) } type CNIConfig struct {