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

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 added in v1.0.5

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

func (*OsdnRegistryInterface) CheckEtcdIsAlive

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

func (*OsdnRegistryInterface) CreateNode added in v1.0.5

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 added in v1.0.5

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 added in v1.0.5

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

func (*OsdnRegistryInterface) GetNetNamespaces added in v1.0.5

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

func (*OsdnRegistryInterface) GetNodes added in v1.0.5

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 added in v1.0.5

func (oi *OsdnRegistryInterface) InitNodes() error

func (*OsdnRegistryInterface) InitSubnets

func (oi *OsdnRegistryInterface) InitSubnets() error

func (*OsdnRegistryInterface) WatchNamespaces added in v1.0.5

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

func (*OsdnRegistryInterface) WatchNetNamespaces added in v1.0.5

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

func (*OsdnRegistryInterface) WatchNodes added in v1.0.5

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 added in v1.0.5

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