Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Processor ¶
type Processor struct {
Name string `json:"name" yaml:"name"`
Branch string `json:"branch" yaml:"branch"`
Runtime string `json:"runtime" yaml:"runtime"`
Resources Resources `json:"resources" yaml:"resources"`
Content []string `json:"content" yaml:"content"`
Command []string `json:"command" yaml:"command"`
}
Spec for what to process
type ResourceLimit ¶
type ResourceLimit struct {
Min string `json:"min,omitempty" yaml:"min,omitempty"`
Max string `json:"max,omitempty" yaml:"max,omitempty"`
}
Resource limits
type Resources ¶
type Resources struct {
CPU ResourceLimit `json:"cpu,omitempty" yaml:"cpu,omitempty"`
Mem ResourceLimit `json:"mem,omitempty" yaml:"mem,omitempty"`
}
Resources for the processor
Click to show internal directories.
Click to hide internal directories.