offercache

package
v0.1.0-alpha-target-23... Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2015 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OfferCache

type OfferCache struct {
	// contains filtered or unexported fields
}

func New

func New(maxOffers int, singleInstancePerSlave bool) *OfferCache

func (*OfferCache) BlockingPop

func (oc *OfferCache) BlockingPop() *mesos.Offer

func (*OfferCache) Len

func (oc *OfferCache) Len() int

func (*OfferCache) Push

func (oc *OfferCache) Push(newOffer *mesos.Offer) bool

func (*OfferCache) Rescind

func (oc *OfferCache) Rescind(offerId *mesos.OfferID) bool

Jump to

Keyboard shortcuts

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