Skip to content

Commit

Permalink
Merge pull request #1054 from MikeZappa87/feature/addversiontocni
Browse files Browse the repository at this point in the history
Add Version to CNI interface
  • Loading branch information
squeed authored Apr 8, 2024
2 parents bbae220 + dd65e2d commit 0137b32
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 0137b32

Please sign in to comment.