Expand description
Vendor flag state for fallow flags --retirement --flag-state <FILE>.
The export is a local JSON file in one vendor-neutral schema. Fallow reads
it offline: no credentials, no network calls and no vendor clients. The
docs give jq recipes that turn the export of each vendor into this
schema.
The export adds four reasons to the report. fully-rolled-out and
archived-in-vendor come from the vendor state of a flag in the code.
missing-in-vendor marks a flag in the code whose key is not in the
export. vendor-only adds a row for a key in the export that no code
reads.
Structs§
- Flag
State Error - Why the export cannot be used.
- Vendor
Export - A valid vendor export.
- Vendor
Flag - One flag of the export.
- Vendor
Match - Inputs to match an export with the rows of the report.
Constants§
- FLAG_
STATE_ SCHEMA_ VERSION - The schema version of the export that this build reads.
- MAX_
FLAG_ STATE_ BYTES - Largest export that Fallow reads, in bytes.
- STALE_
EXPORT_ DAYS - An export older than this many days gets a warning.
Functions§
- apply_
vendor_ state - Add the vendor reasons to
rows, and add a row for eachvendor-onlykey. Returns the export summary for the report. - load_
flag_ state - Read and check the export at
path. - parse_
flag_ state - Parse and check the bytes of an export.