mock_network

package
v1.3.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 1, 2016 License: Apache-2.0 Imports: 5 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockNetworkPlugin

type MockNetworkPlugin struct {
	// contains filtered or unexported fields
}

Mock of NetworkPlugin interface

func NewMockNetworkPlugin

func NewMockNetworkPlugin(ctrl *gomock.Controller) *MockNetworkPlugin

func (*MockNetworkPlugin) Capabilities

func (_m *MockNetworkPlugin) Capabilities() sets.Int

func (*MockNetworkPlugin) EXPECT

func (_m *MockNetworkPlugin) EXPECT() *_MockNetworkPluginRecorder

func (*MockNetworkPlugin) Event

func (_m *MockNetworkPlugin) Event(_param0 string, _param1 map[string]interface{})

func (*MockNetworkPlugin) GetPodNetworkStatus

func (_m *MockNetworkPlugin) GetPodNetworkStatus(_param0 string, _param1 string, _param2 container.ContainerID) (*network.PodNetworkStatus, error)

func (*MockNetworkPlugin) Init

func (_m *MockNetworkPlugin) Init(_param0 network.Host, _param1 componentconfig.HairpinMode, nonMasqueradeCIDR string) error

func (*MockNetworkPlugin) Name

func (_m *MockNetworkPlugin) Name() string

func (*MockNetworkPlugin) SetUpPod

func (_m *MockNetworkPlugin) SetUpPod(_param0 string, _param1 string, _param2 container.ContainerID) error

func (*MockNetworkPlugin) Status

func (_m *MockNetworkPlugin) Status() error

func (*MockNetworkPlugin) TearDownPod

func (_m *MockNetworkPlugin) TearDownPod(_param0 string, _param1 string, _param2 container.ContainerID) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL