mesos

package
v0.0.0-...-1b79cdd Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2016 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MaxPort    = 65535 - 1024
	RandomPort = 0
)

Variables

This section is empty.

Functions

func GetEffectivePorts

func GetEffectivePorts(offer *mesos.Offer) map[int]bool

func GetOfferCpu

func GetOfferCpu(offer *mesos.Offer) float64

func GetOfferDisk

func GetOfferDisk(offer *mesos.Offer) float64

func GetOfferIP

func GetOfferIP(offer *mesos.Offer) string

func GetOfferMem

func GetOfferMem(offer *mesos.Offer) float64

func PortMaping

func PortMaping(reqPorts []int, effectivePorts map[int]bool) []int

func PortsEnv

func PortsEnv(reqPorts []int) map[string]string

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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