Documentation
¶
Overview ¶
Package plan implements the deployah plan command.
It renders the chart for an environment and diffs it against the last successful release using deployah.dev/deployah/internal/plan as the diff engine. --detailed-exitcode returns deployah.dev/deployah/internal/plan.ErrChangesPresent on pending changes, so callers can tell "no changes" from "changes pending" from "error"; see deployah.dev/deployah/internal/cmd.Execute.
Register the command with Register on a nabat.dev/nabat.App instance.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct {
Environment string `nabat:"environment"`
Drift bool `nabat:"drift"`
Offline bool `nabat:"offline"`
ShowSecrets bool `nabat:"show-secrets"`
Raw bool `nabat:"raw"`
YAML bool `nabat:"yaml"`
OutputFormat string `nabat:"output"`
DetailedExitCode bool `nabat:"detailed-exitcode"`
}
Options holds command-line flags for plan.
Click to show internal directories.
Click to hide internal directories.