Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConstraintEnforcer ¶
type ConstraintEnforcer struct {
// contains filtered or unexported fields
}
ConstraintEnforcer watches for updates to nodes and shuts down tasks that no longer satisfy scheduling constraints or resource limits.
func New ¶
func New(store *store.MemoryStore) *ConstraintEnforcer
New creates a new ConstraintEnforcer.
func (*ConstraintEnforcer) Run ¶
func (ce *ConstraintEnforcer) Run()
Run is the ConstraintEnforcer's main loop.
func (*ConstraintEnforcer) Stop ¶
func (ce *ConstraintEnforcer) Stop()
Stop stops the ConstraintEnforcer and waits for the main loop to exit.
Click to show internal directories.
Click to hide internal directories.