Documentation ¶
Index ¶
- Constants
- func GetEffectivePorts(offer *mesos.Offer) map[int]bool
- func GetOfferCpu(offer *mesos.Offer) float64
- func GetOfferDisk(offer *mesos.Offer) float64
- func GetOfferIP(offer *mesos.Offer) string
- func GetOfferMem(offer *mesos.Offer) float64
- func PortMaping(reqPorts []int, effectivePorts map[int]bool) []int
- func PortsEnv(reqPorts []int) map[string]string
Constants ¶
View Source
const ( MaxPort = 65535 - 1024 RandomPort = 0 )
Variables ¶
This section is empty.
Functions ¶
func GetOfferCpu ¶
func GetOfferDisk ¶
func GetOfferIP ¶
func GetOfferMem ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.