osdn

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2015 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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{})

Types

type OsdnRegistryInterface

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

func (*OsdnRegistryInterface) CheckEtcdIsAlive

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

func (*OsdnRegistryInterface) CreateMinion

func (oi *OsdnRegistryInterface) CreateMinion(minion string, data string) error

func (*OsdnRegistryInterface) CreateSubnet

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

func (*OsdnRegistryInterface) DeleteSubnet

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

func (*OsdnRegistryInterface) GetContainerNetwork

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

func (*OsdnRegistryInterface) GetMinions

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

func (*OsdnRegistryInterface) GetSubnet

func (oi *OsdnRegistryInterface) GetSubnet(minion 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) InitMinions

func (oi *OsdnRegistryInterface) InitMinions() error

func (*OsdnRegistryInterface) InitSubnets

func (oi *OsdnRegistryInterface) InitSubnets() error

func (*OsdnRegistryInterface) WatchMinions

func (oi *OsdnRegistryInterface) WatchMinions(receiver chan *osdnapi.MinionEvent, stop chan bool) error

func (*OsdnRegistryInterface) WatchSubnets

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

func (*OsdnRegistryInterface) WriteNetworkConfig

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

Jump to

Keyboard shortcuts

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