remote

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2016 License: Apache-2.0 Imports: 7 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) Event added in v0.4.0

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

func (*RemoteNetworkPlugin) Init

func (plugin *RemoteNetworkPlugin) Init(host network.Host) 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.DockerID, 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(namespace string, name string, podInfraContainerID kubecontainer.DockerID, containerRuntime string) (*network.PodNetworkStatus, error)

Status is the method called to obtain the ipv4 or ipv6 addresses of the container

func (*RemoteNetworkPlugin) TearDownPod

func (plugin *RemoteNetworkPlugin) TearDownPod(namespace string, name string, podInfraContainerID kubecontainer.DockerID, 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