packer-cn/command
Adrien Delorme 193dad46e6
Hcl2 input variables, local variables and functions (#8588)
Mainly redefine or reused what Terraform did.

* allow to used `variables`, `variable` and `local` blocks
* import the following functions and their docs from Terraform: abs, abspath, basename, base64decode, base64encode, bcrypt, can, ceil, chomp, chunklist, cidrhost, cidrnetmask, cidrsubnet, cidrsubnets, coalesce, coalescelist, compact, concat, contains, convert, csvdecode, dirname, distinct, element, file, fileexists, fileset, flatten, floor, format, formatdate, formatlist, indent, index, join, jsondecode, jsonencode, keys, length, log, lookup, lower, max, md5, merge, min, parseint, pathexpand, pow, range, reverse, rsadecrypt, setintersection, setproduct, setunion, sha1, sha256, sha512, signum, slice, sort, split, strrev, substr, timestamp, timeadd, title, trim, trimprefix, trimspace, trimsuffix, try, upper, urlencode, uuidv4, uuidv5, values, yamldecode, yamlencode, zipmap.
2020-02-06 11:49:21 +01:00
..
test-fixtures Simplify testing template 2019-12-10 18:59:56 +01:00
build.go Hcl2 input variables, local variables and functions (#8588) 2020-02-06 11:49:21 +01:00
build_cancellation_test.go add more cancellation tests 2019-05-06 16:29:35 +02:00
build_cleanup_script_test.go add test for error-cleanup provisioner, and fix tests by fixing null builder to use an actual none communicator instead of skipping communicator generation altogether 2019-09-25 13:39:09 -07:00
build_parallel_test.go Merge remote-tracking branch 'origin/master' into sharing_info 2019-12-17 11:57:09 +01:00
build_test.go build using HCL2 (#8423) 2019-12-17 11:25:56 +01:00
build_timeout_test.go build using HCL2 (#8423) 2019-12-17 11:25:56 +01:00
command_test.go move packer to hashicorp 2017-04-04 13:39:01 -07:00
console.go Fix text 2019-08-08 13:22:59 -05:00
fix.go Ensure help output is consistently formatted 2019-07-24 17:41:57 +01:00
fix_test.go Move fixer test to fix package 2019-07-24 18:04:17 +01:00
inspect.go make packer inspect not print sensitive variables. 2018-12-07 12:02:20 -08:00
meta.go borrow wrappedreadline workarounds from terraform and implement a similar check for piped commands; this makes the cli experience much cleaner 2019-06-06 13:26:07 -07:00
plugin.go remove extraneous files from when vsphere builder was a plugin, and move README into packer website as separated docs for vsphere-clone and vsphere-iso. Move option descriptions into struct code, and generate documentation directly from those structs as we do inside of the other builders 2020-01-07 16:59:31 -08:00
utils.go build using HCL2 (#8423) 2019-12-17 11:25:56 +01:00
validate.go Try to make help more consistent 2018-10-10 21:34:35 -04:00
validate_test.go Updated test to verify expected behavior 2015-07-13 19:32:28 -07:00
version.go Re-factor version command to use version.FormattedVersion() function. 2017-12-03 23:07:16 +01:00
version_test.go command: version tests 2014-10-27 20:58:44 -07:00