package
1.34.1
Repository: https://github.com/aws/copilot-cli.git
Documentation: pkg.go.dev

# Functions

NewCmd returns a Cmd that can run external commands.
NewMockcmdRunner creates a new mock instance.
NewMockhttpClient creates a new mock instance.
NewMockrunner creates a new mock instance.
NewProcessGroup causes the command to be assigned its own process group, and not use the parent's (this command) pid.
NewSSMPluginCommand returns a SSMPluginCommand.
Stderr sets the internal *exec.Cmd's Stderr field.
Stdin sets the internal *exec.Cmd's Stdin field.
Stdout sets the internal *exec.Cmd's Stdout field.

# Structs

Cmd runs external commands, it wraps the exec.CommandContext function from the stdlib so that running external commands can be unit tested.
ErrOutdatedSSMPlugin means the ssm plugin is not up-to-date.
ErrSSMPluginNotExist means the ssm plugin is not installed.
MockcmdRunner is a mock of cmdRunner interface.
MockcmdRunnerMockRecorder is the mock recorder for MockcmdRunner.
MockhttpClient is a mock of httpClient interface.
MockhttpClientMockRecorder is the mock recorder for MockhttpClient.
Mockrunner is a mock of runner interface.
MockrunnerMockRecorder is the mock recorder for Mockrunner.
SSMPluginCommand represents commands that can be run to trigger the ssm plugin.

# Type aliases

CmdOption is a type alias to configure a command.