Documentation
¶
Overview ¶
Package state provides commands for managing scafctl state files.
Index ¶
- func CommandClear(_ *settings.Run, _ *terminal.IOStreams, _ string) *cobra.Command
- func CommandDelete(_ *settings.Run, _ *terminal.IOStreams, _ string) *cobra.Command
- func CommandFingerprints(cliParams *settings.Run, ioStreams *terminal.IOStreams, _ string) *cobra.Command
- func CommandGet(cliParams *settings.Run, ioStreams *terminal.IOStreams, _ string) *cobra.Command
- func CommandList(cliParams *settings.Run, ioStreams *terminal.IOStreams, _ string) *cobra.Command
- func CommandSet(_ *settings.Run, _ *terminal.IOStreams, _ string) *cobra.Command
- func CommandShow(cliParams *settings.Run, ioStreams *terminal.IOStreams, _ string) *cobra.Command
- func CommandState(cliParams *settings.Run, ioStreams *terminal.IOStreams, path string) *cobra.Command
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CommandClear ¶
CommandClear creates the 'state clear' command.
func CommandDelete ¶
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 ¶
CommandGet creates the 'state get' command.
func CommandList ¶
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 ¶
CommandSet creates the 'state set' command.
func CommandShow ¶ added in v0.34.0
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.
Types ¶
This section is empty.