packer-cn/hcl2template
Adrien Delorme 87ba7258b3
Use packer-sdc in packer + remove mapstructure-to-hcl2 & struct-markdown (#10913)
* start using `go:generate packer-sdc struct-markdown`

* Update Makefile

remove @go install ./cmd/struct-markdown

* run go generate for struct-markdown

* use //go:generate packer-sdc mapstructure-to-hcl2

* run go generate for mapstructure-to-hcl2

* remove struct-markdown and mapstructure-to-hcl2

* vendor vendors
2021-04-16 11:52:03 +02:00
..
addrs addrs: remove Plugin.ForDisplay func, the String one does the job 2021-02-15 15:32:42 +01:00
function Fix up regex in test 2021-03-23 14:39:45 -04:00
internal Use packer-sdc in packer + remove mapstructure-to-hcl2 & struct-markdown (#10913) 2021-04-16 11:52:03 +02:00
repl packer console for HCL2 (#9359) 2020-06-05 17:23:54 +02:00
shim Use packer-sdc in packer + remove mapstructure-to-hcl2 & struct-markdown (#10913) 2021-04-16 11:52:03 +02:00
testdata tests and fixes 2021-02-15 13:47:39 +01:00
common_test.go Implicit required_plugin blocks (#10732) 2021-03-24 11:31:39 +01:00
components.go Implicit required_plugin blocks (#10732) 2021-03-24 11:31:39 +01:00
decode.go Hcl2 input variables, local variables and functions (#8588) 2020-02-06 11:49:21 +01:00
docs.go Hcl2 input variables, local variables and functions (#8588) 2020-02-06 11:49:21 +01:00
formatter.go remove weir "Cannot tell wether " + path + " is a directory" error 2021-03-15 12:04:16 +01:00
formatter_test.go un-remove tests 2021-03-15 12:00:19 +01:00
functions.go HCL2: add templatefile function (#10776) 2021-03-23 12:02:05 +01:00
parser.go HCL2 variables: split validation from getting value (#10843) 2021-03-30 14:58:26 -04:00
plugin.go Allow to have `dynamic` blocks in a `build` block + tests (#10825) 2021-03-30 15:53:04 +02:00
types.build.from.go build using HCL2 (#8423) 2019-12-17 11:25:56 +01:00
types.build.go Allow to have `dynamic` blocks in a `build` block + tests (#10825) 2021-03-30 15:53:04 +02:00
types.build.post-processor.go plugin loading failure should be considered an error so build will not try to run 2021-02-05 11:06:52 -08:00
types.build.provisioners.go plugin loading failure should be considered an error so build will not try to run 2021-02-05 11:06:52 -08:00
types.build_test.go Add error-cleanup-provisioner to HCL2 (#10604) 2021-02-11 10:23:15 +01:00
types.datasource.go Implicit required_plugin blocks (#10732) 2021-03-24 11:31:39 +01:00
types.datasource_test.go Don't allow data sources to be used inside data sources (#10559) 2021-02-04 11:25:44 +01:00
types.hcl_post-processor.go create util function in hcl2 template that will load config values into hcl values without panicing if it finds something it cannot handle 2021-01-25 12:25:41 -08:00
types.hcl_provisioner.go create util function in hcl2 template that will load config values into hcl values without panicing if it finds something it cannot handle 2021-01-25 12:25:41 -08:00
types.hcl_ref.go Hcl2 input variables, local variables and functions (#8588) 2020-02-06 11:49:21 +01:00
types.packer_config.go HCL2 variables: split validation from getting value (#10843) 2021-03-30 14:58:26 -04:00
types.packer_config_test.go Allow to have `dynamic` blocks in a `build` block + tests (#10825) 2021-03-30 15:53:04 +02:00
types.required_plugins.go Implicit required_plugin blocks (#10732) 2021-03-24 11:31:39 +01:00
types.required_plugins_test.go Implicit required_plugin blocks (#10732) 2021-03-24 11:31:39 +01:00
types.source.go Allow to have `dynamic` blocks in a `build` block + tests (#10825) 2021-03-30 15:53:04 +02:00
types.source_test.go HCL2 Parse packer.required_plugins block + packer init (#10304) 2021-02-02 18:05:04 +01:00
types.variables.go HCL2 variables: split validation from getting value (#10843) 2021-03-30 14:58:26 -04:00
types.variables_test.go HCL2 variables: split validation from getting value (#10843) 2021-03-30 14:58:26 -04:00
utils.go Simplify error message when config file can't be "stat'd" (#10763) 2021-03-15 14:07:07 +01:00
version.go regenerate 2021-01-15 11:59:36 -08:00
version_required.go refactor packer version out of hcltemplate code. 2020-11-09 12:29:53 -08:00