multitenant

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2015 License: Apache-2.0 Imports: 10 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(osClient *osclient.Client, kClient *kclient.Client, clusterNetwork string, clusterNetworkLength uint)

func NetworkPluginName

func NetworkPluginName() string

func Node

func Node(osClient *osclient.Client, kClient *kclient.Client, hostname string, publicIP string, ready chan struct{}, plugin knetwork.NetworkPlugin)

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, podInfraContainerID kubeletTypes.DockerID) (*knetwork.PodNetworkStatus, error)

TODO unbreak this

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