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.

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 (c *Class) Equals(other *Class) (response bool)
func (c *Class) MarshalYAML() (interface{}, error)
func (c *Class) UnmarshalYAML(unmarshal func(interface{}) error) (err error)
func NewClasses() *Classes
func (c *Classes) DeleteKeys(keys []string)
func (c *Classes) UpdateClass(key string, class *Class)
func (tcID *Id) UnmarshalYAML(unmarshal func(interface{}) error) (err error)
type ResourceLimits struct {
	Cpu    *float64 `yaml:"cpu"`
	Memory *float64 `yaml:"memory"`
}
func (rw *ResourceLimits) UnmarshalYAML(unmarshal func(interface{}) error) (err error)
type ResourceWants struct {
	Cpu    *float64    `yaml:"cpu"`
	Memory *float64    `yaml:"memory"`
	Ports  port.Ranges `yaml:"ports,omitempty"`
}
func (rw *ResourceWants) UnmarshalYAML(unmarshal func(interface{}) error) (err error)