plan

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 25, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

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

func Register

func Register(app *nabat.App)

Register adds the plan command to app.

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL