Skip to content

Commit

Permalink
add version to cni interface
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Zappa <michael.zappa@gmail.com>
  • Loading branch information
MikeZappa87 authored and bleggett committed Apr 22, 2024
1 parent 0036b62 commit 79876e3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libcni/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 79876e3

Please sign in to comment.