package
0.14.2
Repository: https://github.com/ubuntu/adsys.git
Documentation: pkg.go.dev

# Functions

New creates a new command.
ValidateAndExpandPath expands the given path, checks if it exists and falls back to the given default if not.
WithRequiredState ensures that the inventory file is in the given state, without a transition being performed.
WithStateTransition sets the expected state transition for the command, allowing for one or more initial states, and a final state.
WithValidateFunc sets the validation function for the command.

# Constants

DefaultSSHKeyPath is the default path to the SSH private key.

# Structs

Command is a command that can be executed.

# Type aliases

Option is a function that configures the command.