| Option value | transport = "fs" | transport = "env" |
|---|---|---|
| (IEEE 754 -precision, big-endian) | (utf8) |
Full example
- Single
- List
option.type
required- Single
- List
option.default
optional- Single
- List
An float specifying the default value for this option. If this is
specified, setting
required = true will have no effect.option.required
defaultfalse optional If
required = true this option is not optional and must be specified. Setting required = true for an option
that has a default value has no effect.
option.validation
The server performs option validation before running an agent. The Coral server will never launch an agent with option values that do not pass the validation rules given for an option. The absence of a validation rule indicates that the absent validation rule should not be performed. No validation rules have default values. For list types, validation will be performed on each item on the list. A single invalid item will reject the entire list.option.validation.variants
optional An array of floats that specify valid values for this option. Ifvariants is specified, the value for this option must be one of the entries in variants.
This is usually used to construct an enum.
option.validation.min
optional A float specifying the minimum allowed value for this option.option.validation.max
optional A float specifying the maximum allowed value for this option.option.transport
defaultenv optional Controls how the option value is sent to the agent.
Environment transport
,. It is recommended to use option.base64 = true when
there is a chance the value will contain a comma.
Filesystem transport
;on Windows:on Unix-like operating systems