{"modulePath":"github.com/stackpointcloud/packer","version":"v0.10.1","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package shell_local\n\n## Types\n\n```go\ntype Communicator struct{}\n```\n\n```go\nfunc (c *Communicator) Download(string, io.Writer) error\n```\n\n```go\nfunc (c *Communicator) DownloadDir(src string, dst string, exclude []string) error\n```\n\n```go\nfunc (c *Communicator) Start(cmd *packer.RemoteCmd) error\n```\n\n```go\nfunc (c *Communicator) Upload(string, io.Reader, *os.FileInfo) error\n```\n\n```go\nfunc (c *Communicator) UploadDir(string, string, []string) error\n```\n\n```go\ntype Config struct {\n\tcommon.PackerConfig `mapstructure:\",squash\"`\n\n\t// An inline script to execute. Multiple strings are all executed\n\t// in the context of a single shell.\n\tInline []string\n\n\t// The shebang value used when running inline scripts.\n\tInlineShebang string `mapstructure:\"inline_shebang\"`\n\n\t// The local path of the shell script to upload and execute.\n\tScript string\n\n\t// An array of multiple scripts to run.\n\tScripts []string\n\n\t// An array of environment variables that will be injected before\n\t// your command(s) are executed.\n\tVars []string `mapstructure:\"environment_vars\"`\n\n\t// The command used to execute the script. The '{{ .Path }}' variable\n\t// should be used to specify where the script goes, {{ .Vars }}\n\t// can be used to inject the environment_vars into the environment.\n\tExecuteCommand string `mapstructure:\"execute_command\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\ntype ExecuteCommandTemplate struct {\n\tVars string\n\tPath string\n}\n```\n\n```go\ntype PostProcessor struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (p *PostProcessor) Configure(raws ...interface{}) error\n```\n\n```go\nfunc (p *PostProcessor) PostProcess(ui packer.Ui, artifact packer.Artifact) (packer.Artifact, bool, error)\n```\n\n","path":"github.com/stackpointcloud/packer/post-processor/shell-local","name":"shell_local","synopsis":"","isRedistributable":true}
