taskclass package - github.com/AliceO2Group/Control/core/task/taskclass - Go Packages
Package taskclass provides task class definitions and resource management for different types of tasks.
- type Class
- type Classes
- func (c *Classes) DeleteKey(key string)
- func (c *Classes) DeleteKeys(keys []string)
- func (c *Classes) Do(f func(classMap *map[string]*Class) error) error
- func (c *Classes) Foreach(do func(string, *Class) bool)
- func (c *Classes) GetClass(key string) (class *Class, ok bool)
- func (c *Classes) UpdateClass(key string, class *Class)
- type Id
- type ResourceLimits
- type ResourceWants
This section is empty.
This section is empty.
This section is empty.
↓ We need the roles tree to know *where* to run it and how to *configure* it, but
the following information is enough to run the task even with no environment or role Class.
func NewClasses() *Classes
func (rw *ResourceLimits) UnmarshalYAML(unmarshal func(interface{}) error) (err error)