Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SortPolicy ¶
type SortPolicy int
Sort type for queues & apps.
const ( FifoSortPolicy SortPolicy = iota // first in first out, submit time FairSortPolicy // fair based on usage StateAwarePolicy // only 1 app in starting state Undefined // not initialised or parsing failed )
func SortPolicyFromString ¶
func SortPolicyFromString(str string) (SortPolicy, error)
func (SortPolicy) String ¶
func (s SortPolicy) String() string
type SortingPolicy ¶ added in v0.10.0
type SortingPolicy int
const ( BinPackingPolicy SortingPolicy = iota FairnessPolicy )
func SortingPolicyFromString ¶ added in v0.12.0
func SortingPolicyFromString(str string) (SortingPolicy, error)
func (SortingPolicy) String ¶ added in v0.10.0
func (nsp SortingPolicy) String() string
Click to show internal directories.
Click to hide internal directories.