Documentation
¶
Overview ¶
Package envcompare answers "how do this stack's environments differ from the first one": one row per tile slug, one cell per environment, the keys that differ, and which of those someone has marked as on purpose. It reads the same serialized form the config planner does, so the keys are the config file's keys.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cell ¶
type Cell struct {
EnvID string
State string // ref | same | differs | missing | intended
Keys []Key // set for differs and intended
}
Cell is one tile in one env, compared to the reference.
type Key ¶
type Key struct {
Name string
Ref string // the reference env's value ("" = not set there)
Val string // this env's value
Intended bool
}
Key is one differing key on one tile in one env.
Click to show internal directories.
Click to hide internal directories.