Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MinionEvent ¶
type SubnetEvent ¶
type SubnetRegistry ¶
type SubnetRegistry interface {
InitSubnets() error
GetSubnets() (*[]Subnet, error)
GetSubnet(minion string) (*Subnet, error)
DeleteSubnet(minion string) error
CreateSubnet(sn string, sub *Subnet) error
WatchSubnets(receiver chan *SubnetEvent, stop chan bool) error
InitMinions() error
GetMinions() (*[]string, error)
CreateMinion(minion string, data string) error
WatchMinions(receiver chan *MinionEvent, stop chan bool) error
WriteNetworkConfig(network string, subnetLength uint) error
GetContainerNetwork() (string, error)
GetSubnetLength() (uint64, error)
CheckEtcdIsAlive(seconds uint64) bool
}
Click to show internal directories.
Click to hide internal directories.