Skip to content

Commit

Permalink
add version to cni interface
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeZappa87 committed Dec 20, 2023
1 parent 66c292a commit a93f66e
Show file tree
Hide file tree
Showing 2 changed files with 3 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 @@ -117,6 +117,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
1 change: 1 addition & 0 deletions text-files
Submodule text-files added at f4bea3

0 comments on commit a93f66e

Please sign in to comment.