api

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2018 License: GPL-3.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 DiscoveryInternal

type DiscoveryInternal interface {
	Start()                                                                     // Starts the discovery module operations
	AddTrader(traderGUID guid.GUID)                                             // Add a new trader (called during overlay bootstrap)
	FindOffers(resources resources.Resources) []types.AvailableOffer            // Find a list of offers for a given resource combination
	ObtainResources(offerID int64, necessaryResources resources.Resources) bool // Obtain a resource offer to submit a container
	ReturnResources(resources resources.Resources)                              // Release a resource offer into the system
}

Interface of discovery module for the scheduler and containers manager

Jump to

Keyboard shortcuts

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