Skip to main content

Module mutation

Module mutation 

Source
Expand description

Things that change a cluster, and the confirmation that stands in front of them.

Everything up to now has been a reader. These are the operations that cannot be undone by pressing R, so the design in docs/ARCHITECTURE.md §9 puts one confirmation in front of every one of them, and that confirmation shows the equivalent temporal CLI command.

That last part is the load-bearing bit. It teaches the CLI, it makes the action auditable at a glance, you can read exactly what is about to happen rather than trusting a verb, and it gives an escape hatch to anyone who would rather run it themselves. Which means the rendered command has to be correct: someone will copy it and run it. The flags here are checked against temporal workflow --help, and the quoting is tested.

Structs§

Confirm
What a confirmation is waiting for.
Target
Which cluster a mutation was sent to.

Enums§

Mutation
A change to a cluster, fully specified.

Functions§

shell_quote
Quote a value for a POSIX shell.