Versions in this module Expand all Collapse all v1 v1.24.10 Oct 24, 2017 v1.24.9 Oct 24, 2017 Changes in this version + func NewFakeHost(kubeClient clientset.Interface) *fakeNetworkHost + type FakePortMappingGetter struct + PortMaps map[string][]*hostport.PortMapping + func (pm *FakePortMappingGetter) GetPodPortMappings(containerID string) ([]*hostport.PortMapping, error) + type MockNetworkPlugin struct + func NewMockNetworkPlugin(ctrl *gomock.Controller) *MockNetworkPlugin + func (_m *MockNetworkPlugin) Capabilities() sets.Int + func (_m *MockNetworkPlugin) EXPECT() *_MockNetworkPluginRecorder + func (_m *MockNetworkPlugin) Event(_param0 string, _param1 map[string]interface{}) + func (_m *MockNetworkPlugin) Finish() + func (_m *MockNetworkPlugin) GetPodNetworkStatus(_param0 string, _param1 string, _param2 container.ContainerID) (*network.PodNetworkStatus, error) + func (_m *MockNetworkPlugin) Init(_param0 network.Host, _param1 kubeletconfig.HairpinMode, ...) error + func (_m *MockNetworkPlugin) Name() string + func (_m *MockNetworkPlugin) SetUpPod(_param0 string, _param1 string, _param2 container.ContainerID, ...) error + func (_m *MockNetworkPlugin) Status() error + func (_m *MockNetworkPlugin) TearDownPod(_param0 string, _param1 string, _param2 container.ContainerID) error