state

package
v0.37.0 Latest Latest
Warning

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

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

Documentation

Overview

Package state provides commands for managing scafctl state files.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CommandClear

func CommandClear(_ *settings.Run, _ *terminal.IOStreams, _ string) *cobra.Command

CommandClear creates the 'state clear' command.

func CommandDelete

func CommandDelete(_ *settings.Run, _ *terminal.IOStreams, _ string) *cobra.Command

CommandDelete creates the 'state delete' command.

func CommandFingerprints

func CommandFingerprints(cliParams *settings.Run, ioStreams *terminal.IOStreams, _ string) *cobra.Command

CommandFingerprints creates the 'state fingerprints' command.

func CommandGet

func CommandGet(cliParams *settings.Run, ioStreams *terminal.IOStreams, _ string) *cobra.Command

CommandGet creates the 'state get' command.

func CommandList

func CommandList(cliParams *settings.Run, ioStreams *terminal.IOStreams, _ string) *cobra.Command

CommandList creates the 'state list' command. It lists the persisted resolver values held in a state file -- the entries accessible to the state provider on subsequent runs. Use 'state show' to view the full document (metadata, command, parameters, resolvers, fingerprints).

func CommandSet

func CommandSet(_ *settings.Run, _ *terminal.IOStreams, _ string) *cobra.Command

CommandSet creates the 'state set' command.

func CommandShow added in v0.34.0

func CommandShow(cliParams *settings.Run, ioStreams *terminal.IOStreams, _ string) *cobra.Command

CommandShow creates the 'state show' command. It displays the full contents of a state file -- schema version, metadata, command, parameters, resolvers, and fingerprints -- grouped by section. Use 'state list' to see just the persisted resolver values.

func CommandState

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

CommandState creates the 'state' command group.

Types

This section is empty.

Jump to

Keyboard shortcuts

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