render

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2026 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ValidOutputTypes = []string{"json", "yaml", "test"}

ValidOutputTypes defines the supported output formats

Functions

func CommandRender

func CommandRender(cliParams *settings.Run, ioStreams *terminal.IOStreams, path string) *cobra.Command

CommandRender creates the 'render' command that renders artifacts for external execution.

func CommandSolution

func CommandSolution(cliParams *settings.Run, ioStreams *terminal.IOStreams, path string) *cobra.Command

CommandSolution creates the 'render solution' subcommand

Types

type SolutionOptions

type SolutionOptions struct {
	IOStreams       *terminal.IOStreams
	CliParams       *settings.Run
	Output          string
	OutputFile      string
	File            string
	ResolverParams  []string
	ResolverTimeout time.Duration
	PhaseTimeout    time.Duration
	Compact         bool
	NoTimestamp     bool
	NoCache         bool

	// Mode flags (mutually exclusive)
	ActionGraph  bool   // --action-graph: Show action dependency graph
	GraphFormat  string // --graph-format: Graph format (ascii, dot, mermaid, json)
	Snapshot     bool   // --snapshot: Save execution snapshot
	SnapshotFile string // --snapshot-file: Snapshot output file
	Redact       bool   // --redact: Redact sensitive values in snapshot

	// TestName is the desired test name when using -o test output format.
	// When empty, a name is derived from the command and resolver parameters.
	TestName string
	// contains filtered or unexported fields
}

SolutionOptions holds configuration for the render solution command

func (*SolutionOptions) Run

func (o *SolutionOptions) Run(ctx context.Context) error

Run executes the render solution command

Jump to

Keyboard shortcuts

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