Documentation ¶
Index ¶
- func Master(osClient osclient.Client, kClient kclient.Client, clusterNetwork string, ...)
- func NetworkPluginName() string
- func Node(osClient osclient.Client, kClient kclient.Client, hostname string, ...)
- type OsdnRegistryInterface
- func (oi *OsdnRegistryInterface) CheckEtcdIsAlive(seconds uint64) bool
- func (oi *OsdnRegistryInterface) CreateMinion(minion string, data string) error
- func (oi *OsdnRegistryInterface) CreateSubnet(minion string, sub *osdnapi.Subnet) error
- func (oi *OsdnRegistryInterface) DeleteSubnet(minion string) error
- func (oi *OsdnRegistryInterface) GetContainerNetwork() (string, error)
- func (oi *OsdnRegistryInterface) GetMinions() (*[]string, error)
- func (oi *OsdnRegistryInterface) GetSubnet(minion string) (*osdnapi.Subnet, error)
- func (oi *OsdnRegistryInterface) GetSubnetLength() (uint64, error)
- func (oi *OsdnRegistryInterface) GetSubnets() (*[]osdnapi.Subnet, error)
- func (oi *OsdnRegistryInterface) InitMinions() error
- func (oi *OsdnRegistryInterface) InitSubnets() error
- func (oi *OsdnRegistryInterface) WatchMinions(receiver chan *osdnapi.MinionEvent, stop chan bool) error
- func (oi *OsdnRegistryInterface) WatchSubnets(receiver chan *osdnapi.SubnetEvent, stop chan bool) error
- func (oi *OsdnRegistryInterface) WriteNetworkConfig(network string, subnetLength uint) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NetworkPluginName ¶
func NetworkPluginName() string
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
Click to show internal directories.
Click to hide internal directories.