multitenant

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2015 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetKubeNetworkPlugin

func GetKubeNetworkPlugin() knetwork.NetworkPlugin

func Master

func Master(registry *osdn.OsdnRegistryInterface, clusterNetworkCIDR string, clusterBitsPerSubnet uint, serviceNetworkCIDR string)

func NetworkPluginName

func NetworkPluginName() string

func Node

func Node(registry *osdn.OsdnRegistryInterface, hostname string, publicIP string, ready chan struct{}, plugin knetwork.NetworkPlugin, mtu uint)

Types

type MultitenantPlugin

type MultitenantPlugin struct {
	OvsController *ovssubnet.OvsController
	// contains filtered or unexported fields
}

func (*MultitenantPlugin) Init

func (plugin *MultitenantPlugin) Init(host knetwork.Host) error

func (*MultitenantPlugin) Name

func (plugin *MultitenantPlugin) Name() string

func (*MultitenantPlugin) SetUpPod

func (plugin *MultitenantPlugin) SetUpPod(namespace string, name string, id kubeletTypes.DockerID) error

func (*MultitenantPlugin) Status

func (plugin *MultitenantPlugin) Status(namespace string, name string, id kubeletTypes.DockerID) (*knetwork.PodNetworkStatus, error)

func (*MultitenantPlugin) TearDownPod

func (plugin *MultitenantPlugin) TearDownPod(namespace string, name string, id kubeletTypes.DockerID) error

Jump to

Keyboard shortcuts

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