@@ -19,7 +19,6 @@ import (
19
19
"k8s.io/client-go/kubernetes"
20
20
21
21
"github.com/containernetworking/cni/pkg/skel"
22
- _ "github.com/containernetworking/cni/pkg/types"
23
22
"github.com/containernetworking/cni/pkg/types/current"
24
23
25
24
"github.com/intel/userspace-cni-network-plugin/pkg/types"
@@ -30,22 +29,21 @@ import (
30
29
//
31
30
type UsrSpCni interface {
32
31
AddOnHost (conf * types.NetConf ,
33
- args * skel.CmdArgs ,
34
- kubeClient kubernetes.Interface ,
35
- sharedDir string ,
36
- ipResult * current.Result ) error
32
+ args * skel.CmdArgs ,
33
+ kubeClient kubernetes.Interface ,
34
+ sharedDir string ,
35
+ ipResult * current.Result ) error
37
36
AddOnContainer (conf * types.NetConf ,
38
- args * skel.CmdArgs ,
39
- kubeClient kubernetes.Interface ,
40
- sharedDir string ,
41
- pod * v1.Pod ,
42
- ipResult * current.Result ) (* v1.Pod , error )
37
+ args * skel.CmdArgs ,
38
+ kubeClient kubernetes.Interface ,
39
+ sharedDir string ,
40
+ pod * v1.Pod ,
41
+ ipResult * current.Result ) (* v1.Pod , error )
43
42
DelFromHost (conf * types.NetConf ,
44
- args * skel.CmdArgs ,
45
- sharedDir string ) error
43
+ args * skel.CmdArgs ,
44
+ sharedDir string ) error
46
45
DelFromContainer (conf * types.NetConf ,
47
- args * skel.CmdArgs ,
48
- sharedDir string ,
49
- pod * v1.Pod ) error
46
+ args * skel.CmdArgs ,
47
+ sharedDir string ,
48
+ pod * v1.Pod ) error
50
49
}
51
-
0 commit comments