Skip to content

Commit dd65e2d

Browse files
MikeZappa87squeed
authored andcommitted
add version to cni interface
Signed-off-by: Michael Zappa <[email protected]>
1 parent bbae220 commit dd65e2d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

libcni/api.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,8 @@ type CNI interface {
114114
GetStatusNetworkList(ctx context.Context, net *NetworkConfigList) error
115115

116116
GetCachedAttachments(containerID string) ([]*NetworkAttachment, error)
117+
118+
GetVersionInfo(ctx context.Context, pluginType string) (version.PluginInfo, error)
117119
}
118120

119121
type CNIConfig struct {

0 commit comments

Comments
 (0)