Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/hashicorp/packer
/ SetArgs
Method
SetArgs
packer_test/common/commands.go:79–82 ·
view source on GitHub ↗
(args ...string)
Source
from the content-addressed store, hash-verified
77
}
78
79
func
(pc *packerCommand) SetArgs(args ...string) *packerCommand {
80
pc.args = args
81
return
pc
82
}
83
84
func
(pc *packerCommand) AddEnv(key, val string) *packerCommand {
85
pc.env[key] = val
Callers
15
TestNoShebangInScript
Method · 0.80
TestShebangInInlineScript
Method · 0.80
TestShebangAsOption
Method · 0.80
TestShebangAsOptionNotInline
Method · 0.80
TestInvalidShebangAsOption
Method · 0.80
TestEmptyInlineCommands
Method · 0.80
TestSourceNotExisting
Method · 0.80
TestDestFile_NoIntermediateDirs
Method · 0.80
TestDestFile_WithIntermediateDirs
Method · 0.80
TestDestDir_NoTrailingSlash
Method · 0.80
TestDestDir_WithTrailingSlash
Method · 0.80
TestDestDir_WithTrailingSlash_NoDir
Method · 0.80
Calls
no outgoing calls
Tested by
15
TestNoShebangInScript
Method · 0.64
TestShebangInInlineScript
Method · 0.64
TestShebangAsOption
Method · 0.64
TestShebangAsOptionNotInline
Method · 0.64
TestInvalidShebangAsOption
Method · 0.64
TestEmptyInlineCommands
Method · 0.64
TestSourceNotExisting
Method · 0.64
TestDestFile_NoIntermediateDirs
Method · 0.64
TestDestFile_WithIntermediateDirs
Method · 0.64
TestDestDir_NoTrailingSlash
Method · 0.64
TestDestDir_WithTrailingSlash
Method · 0.64
TestDestDir_WithTrailingSlash_NoDir
Method · 0.64