Skip to content

Commit 0137b32

Browse files
authored
Merge pull request #1054 from MikeZappa87/feature/addversiontocni
Add Version to CNI interface
2 parents bbae220 + dd65e2d commit 0137b32

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: libcni/api.go

+2
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)