Skip to content

Commit

Permalink
Merge pull request #669 from mccv1r0/gnlcached
Browse files Browse the repository at this point in the history
Add GetNetworkListCachedResult method to CNI interface
  • Loading branch information
dcbw committed May 29, 2019
2 parents 5bab2c0 + 53e9245 commit d11ef1f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libcni/api.go
Expand Up @@ -69,6 +69,7 @@ type CNI interface {
AddNetworkList(ctx context.Context, net *NetworkConfigList, rt *RuntimeConf) (types.Result, error)
CheckNetworkList(ctx context.Context, net *NetworkConfigList, rt *RuntimeConf) error
DelNetworkList(ctx context.Context, net *NetworkConfigList, rt *RuntimeConf) error
GetNetworkListCachedResult(net *NetworkConfigList, rt *RuntimeConf) (types.Result, error)

AddNetwork(ctx context.Context, net *NetworkConfig, rt *RuntimeConf) (types.Result, error)
CheckNetwork(ctx context.Context, net *NetworkConfig, rt *RuntimeConf) error
Expand Down

0 comments on commit d11ef1f

Please sign in to comment.