Documentation ¶
Index ¶
- func GetKubeNetworkPlugin() knetwork.NetworkPlugin
- func Master(registry *osdn.OsdnRegistryInterface, clusterNetworkCIDR string, ...)
- func NetworkPluginName() string
- func Node(registry *osdn.OsdnRegistryInterface, hostname string, publicIP string, ...)
- type MultitenantPlugin
- func (plugin *MultitenantPlugin) Init(host knetwork.Host) error
- func (plugin *MultitenantPlugin) Name() string
- func (plugin *MultitenantPlugin) SetUpPod(namespace string, name string, id kubeletTypes.DockerID) error
- func (plugin *MultitenantPlugin) Status(namespace string, name string, id kubeletTypes.DockerID) (*knetwork.PodNetworkStatus, error)
- func (plugin *MultitenantPlugin) TearDownPod(namespace string, name string, id kubeletTypes.DockerID) error
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) 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
Click to show internal directories.
Click to hide internal directories.