Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrConfiguration = errors.New("configuration error")
View Source
var ErrRun = errors.New("run failed")
Functions ¶
func NewPauseCmd ¶ added in v0.77.0
func NewResumeCmd ¶ added in v0.77.0
func NewRootCmd ¶
Types ¶
type Config ¶ added in v0.87.0
type Config struct { Name string `yaml:"name"` Token string `yaml:"token"` Labels map[string]string `yaml:"labels"` Resources map[string]float64 `yaml:"resources"` Log ConfigLog `yaml:"log"` RPC ConfigRPC `yaml:"rpc"` Upstreams []ConfigUpstream `yaml:"upstreams"` Security *security.Security `yaml:"security"` Standby *worker.StandbyConfig `yaml:"standby"` ResourceModifiers []*resourcemodifier.Modifier `yaml:"resource-modifiers"` }
type ConfigUpstream ¶ added in v0.87.0
Click to show internal directories.
Click to hide internal directories.