Versions in this module Expand all Collapse all v0 v0.10.2 May 12, 2024 v0.10.1 Mar 17, 2024 Changes in this version + const NetworkRouteDataVersion1 + var GlobalHostList inapi.ResHostList + var GlobalZones ResZoneList + var Host = inapi.ResHost + var LocalZoneMasterList inapi.ResZoneMasterList + var Zone *inapi.ResZone + var ZoneDrivers = []inapi.ZoneDriver + var ZoneHostList = &inapi.ResHostList + var ZoneHostListImported = false + var ZoneHostSecretKeys types.KvPairs + var ZoneId string + var ZoneLeaded int64 = 0 + var ZoneMailManager = hmsg.NewMailManager() + var ZoneMasterList = inapi.ResZoneMasterList + var ZoneNetworkManager = newStatusNetwork() + var ZonePodList = &inapi.PodList + var ZonePodServices struct + var ZonePodStatusList = &inapi.PodStatusList + var ZoneScheduled int64 = 0 + var ZoneSysConfigGroupList inapi.SysConfigGroupList + func GlobalCellDel(zoneId, cellId string) + func GlobalZone(zoneId string) *inapi.ResZone + func GlobalZoneCell(zoneId, cellId string) *inapi.ResCell + func GlobalZoneDel(zoneId string) + func GlobalZoneSync(zone *inapi.ResZone) (*inapi.ResZone, bool) + func HostletReady() bool + func IsZoneMaster() bool + func IsZoneMasterLeader() bool + func Setup() error + func ZoneDriver(name string) inapi.ZoneDriver + func ZoneHostIp(hostId string) string + func ZoneMasterLeadSeconds() int64 + func ZoneMasters() []string + func ZonePodChargeAccessKey() *hauth.AccessKey + func ZonePodServicesFlush() + type NetworkVPCAlloc func(chg bool, brNet, ipNet string) bool + type ResZoneList []*inapi.ResZone + type StatusContext struct + Host *inapi.ResHost + IsZoneLeader bool + Zone *inapi.ResZone + ZoneHostList *inapi.ResHostList + ZoneMailManager *hmsg.MailManager + ZonePodList *inapi.PodList + ZonePodStatusList *inapi.PodStatusList + func StatusContextRefresh() *StatusContext + type StatusNetwork struct + func (it *StatusNetwork) HostAlloc(hostId string, cb NetworkVPCAlloc) error + func (it *StatusNetwork) HostSetup(hostId, hostPeerIp, bridgeIp, instanceIpNet string) error + func (it *StatusNetwork) InstanceAlloc(hostId, instanceId string, cb NetworkVPCAlloc) error + func (it *StatusNetwork) InstanceSetup(hostId string, podId string, repId uint32, instanceIp string) error + func (it *StatusNetwork) Ready(b bool) + func (it *StatusNetwork) ZoneNetworkMap() *inapi.ZoneNetworkMap + func (it *StatusNetwork) ZoneSetup(bridgeIpNet, instanceIpNet string) error