Documentation ¶
Index ¶
- Variables
- type BidPricingStrategy
- func MakeRandomRangePricing() (BidPricingStrategy, error)
- func MakeScalePricing(cpuScale uint64, memoryScale uint64, storageScale uint64, endpointScale uint64) (BidPricingStrategy, error)
- func MakeShellScriptPricing(path string, processLimit uint, runtimeLimit time.Duration) (BidPricingStrategy, error)
- type Service
- type Status
- type StatusClient
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrBidQuantityInvalid = errors.New("A bid quantity is invalid")
View Source
var ErrBidZero = errors.New("A bid of zero was produced")
View Source
var ErrNotRunning = errors.New("not running")
ErrNotRunning declares new error with message "not running"
Functions ¶
This section is empty.
Types ¶
type BidPricingStrategy ¶ added in v0.9.1
type BidPricingStrategy interface {
// contains filtered or unexported methods
}
func MakeRandomRangePricing ¶ added in v0.9.1
func MakeRandomRangePricing() (BidPricingStrategy, error)
func MakeScalePricing ¶ added in v0.9.1
func MakeShellScriptPricing ¶ added in v0.9.1
type Service ¶
type Service interface { StatusClient Close() error Done() <-chan struct{} }
Service handles bidding on orders.
Click to show internal directories.
Click to hide internal directories.