osdn

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: 14 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OsdnRegistryInterface

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

func NewOsdnRegistryInterface

func NewOsdnRegistryInterface(osClient *osclient.Client, kClient *kclient.Client) OsdnRegistryInterface

func (*OsdnRegistryInterface) CheckEtcdIsAlive

func (oi *OsdnRegistryInterface) CheckEtcdIsAlive(seconds uint64) bool

func (*OsdnRegistryInterface) CreateNode

func (oi *OsdnRegistryInterface) CreateNode(nodeName string, data string) error

func (*OsdnRegistryInterface) CreateSubnet

func (oi *OsdnRegistryInterface) CreateSubnet(nodeName string, sub *osdnapi.Subnet) error

func (*OsdnRegistryInterface) DeleteNetNamespace

func (oi *OsdnRegistryInterface) DeleteNetNamespace(name string) error

func (*OsdnRegistryInterface) DeleteSubnet

func (oi *OsdnRegistryInterface) DeleteSubnet(nodeName string) error

func (*OsdnRegistryInterface) GetContainerNetwork

func (oi *OsdnRegistryInterface) GetContainerNetwork() (string, error)

func (*OsdnRegistryInterface) GetNetNamespace

func (oi *OsdnRegistryInterface) GetNetNamespace(name string) (osdnapi.NetNamespace, error)

func (*OsdnRegistryInterface) GetNetNamespaces

func (oi *OsdnRegistryInterface) GetNetNamespaces() ([]osdnapi.NetNamespace, error)

func (*OsdnRegistryInterface) GetNodes

func (oi *OsdnRegistryInterface) GetNodes() (*[]string, error)

func (*OsdnRegistryInterface) GetSubnet

func (oi *OsdnRegistryInterface) GetSubnet(nodeName string) (*osdnapi.Subnet, error)

func (*OsdnRegistryInterface) GetSubnetLength

func (oi *OsdnRegistryInterface) GetSubnetLength() (uint64, error)

func (*OsdnRegistryInterface) GetSubnets

func (oi *OsdnRegistryInterface) GetSubnets() (*[]osdnapi.Subnet, error)

func (*OsdnRegistryInterface) InitNodes

func (oi *OsdnRegistryInterface) InitNodes() error

func (*OsdnRegistryInterface) InitSubnets

func (oi *OsdnRegistryInterface) InitSubnets() error

func (*OsdnRegistryInterface) WatchNamespaces

func (oi *OsdnRegistryInterface) WatchNamespaces(receiver chan *osdnapi.NamespaceEvent, stop chan bool) error

func (*OsdnRegistryInterface) WatchNetNamespaces

func (oi *OsdnRegistryInterface) WatchNetNamespaces(receiver chan *osdnapi.NetNamespaceEvent, stop chan bool) error

func (*OsdnRegistryInterface) WatchNodes

func (oi *OsdnRegistryInterface) WatchNodes(receiver chan *osdnapi.NodeEvent, stop chan bool) error

func (*OsdnRegistryInterface) WatchSubnets

func (oi *OsdnRegistryInterface) WatchSubnets(receiver chan *osdnapi.SubnetEvent, stop chan bool) error

func (*OsdnRegistryInterface) WriteNetNamespace

func (oi *OsdnRegistryInterface) WriteNetNamespace(name string, id uint) error

func (*OsdnRegistryInterface) WriteNetworkConfig

func (oi *OsdnRegistryInterface) WriteNetworkConfig(network string, subnetLength uint) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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