Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PreemptionPolicy ¶ added in v1.2.0
type PreemptionPolicy int
const ( DefaultPreemptionPolicy PreemptionPolicy = iota // preemption is allowed globally FencePreemptionPolicy // preemption is allowed only within queue subtree DisabledPreemptionPolicy // preemption is disabled )
func PreemptionPolicyFromString ¶ added in v1.2.0
func PreemptionPolicyFromString(str string) (PreemptionPolicy, error)
func (PreemptionPolicy) String ¶ added in v1.2.0
func (p PreemptionPolicy) String() string
type PriorityPolicy ¶ added in v1.2.0
type PriorityPolicy int
const ( DefaultPriorityPolicy PriorityPolicy = iota // priority propagates upward FencePriorityPolicy // priority is not considered outside queue subtree )
func PriorityPolicyFromString ¶ added in v1.2.0
func PriorityPolicyFromString(str string) (PriorityPolicy, error)
func (PriorityPolicy) String ¶ added in v1.2.0
func (p PriorityPolicy) String() string
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 ¶
type SortingPolicy int
const ( BinPackingPolicy SortingPolicy = iota FairnessPolicy )
func SortingPolicyFromString ¶
func SortingPolicyFromString(str string) (SortingPolicy, error)
func (SortingPolicy) String ¶
func (nsp SortingPolicy) String() string
Click to show internal directories.
Click to hide internal directories.