Expand description
Static checks of a profile entry’s connection settings, from the fields a plugin declares:
a required field missing, an unknown key, a value of the wrong FieldKind or not one of
its choices. The SDK runs them for validate_connection and before open and deliver,
then the plugin’s own rules, so dre validate and dre run say the same thing. Nothing here
touches the network.
Structs§
- Checked
- What the checks found: errors stop a run; warnings (an unknown key) don’t.
Constants§
- CORE_
KEYS - Keys of a profile entry that core reads, which a plugin may ignore.
Functions§
- check
- Check
connectionagainstfields. Keys inunresolved(an unsetenv_var()) count as set but aren’t checked. Messages name fields, never values. - closest
- The declared name closest to
key, if it’s near enough to be a typo. - redact
messageswith every secret field’s value replaced by*****, so a plugin’s rule that quotes a value can’t leak it.