remote

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2017 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RemoteNetworkPlugin

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

func NewRemoteNetworkPlugin

func NewRemoteNetworkPlugin(provider networkprovider.Interface) *RemoteNetworkPlugin

func (*RemoteNetworkPlugin) Capabilities added in v1.3.0

func (plugin *RemoteNetworkPlugin) Capabilities() utilsets.Int

func (*RemoteNetworkPlugin) Event added in v0.4.0

func (plugin *RemoteNetworkPlugin) Event(name string, details map[string]interface{})

func (*RemoteNetworkPlugin) GetPodNetworkStatus added in v1.3.0

func (plugin *RemoteNetworkPlugin) GetPodNetworkStatus(namespace string, name string, podInfraContainerID kubecontainer.ContainerID, containerRuntime string) (*network.PodNetworkStatus, error)

func (*RemoteNetworkPlugin) Init

func (plugin *RemoteNetworkPlugin) Init(host network.Host, hairpinMode componentconfig.HairpinMode, nonMasqueradeCIDR string) error

Init initializes the plugin. This will be called exactly once before any other methods are called.

func (*RemoteNetworkPlugin) Name

func (plugin *RemoteNetworkPlugin) Name() string

Name returns the plugin's name. This will be used when searching for a plugin by name, e.g.

func (*RemoteNetworkPlugin) SetUpPod

func (plugin *RemoteNetworkPlugin) SetUpPod(namespace string, name string, podInfraContainerID kubecontainer.ContainerID, containerRuntime string) error

SetUpPod is the method called after the infra container of the pod has been created but before the other containers of the pod are launched.

func (*RemoteNetworkPlugin) Status

func (plugin *RemoteNetworkPlugin) Status() error

func (*RemoteNetworkPlugin) TearDownPod

func (plugin *RemoteNetworkPlugin) TearDownPod(namespace string, name string, podInfraContainerID kubecontainer.ContainerID, containerRuntime string) error

TearDownPod is the method called before a pod's infra container will be deleted

Jump to

Keyboard shortcuts

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