packer/command
Lucas Bajolet 9f6f0ba6a2 packer: pick protobuf/gob for serialisation (#13025)
As we're trying to move away from gob for serialising data over the
wire, this commit adds the capability for Packer to pick dynamically
between gob or protobuf for the serialisation format to communicate with
plugins.

As it stands, if all the plugins discovered are compatible with
protobuf, and we have not forced gob usage, protobuf will be the
serialisation format picked.

If any plugin is not compatible with protobuf, gob will be used for
communicating with all the plugins that will be used over the course of
a command.
2025-01-21 16:44:03 -05:00
..
enumflag [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00
flag-kv [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00
flag-slice [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00
test-fixtures fix: packer validate unsupported type error 2025-01-21 10:06:45 -05:00
build.go packer: pick protobuf/gob for serialisation (#13025) 2025-01-21 16:44:03 -05:00
build_cancellation_test.go [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00
build_cleanup_script_test.go [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00
build_parallel_test.go chore: unnecessary use of fmt.Sprintf 2023-09-21 09:38:23 -04:00
build_test.go chore: remove refs to deprecated io/ioutil 2023-09-26 11:13:31 -04:00
build_timeout_test.go [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00
build_windows_test.go [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00
cli.go command: add use-sequential options for commands 2024-10-29 16:10:29 -04:00
command_test.go chore: remove refs to deprecated io/ioutil 2023-09-26 11:13:31 -04:00
configtype_enumer.go Makefile: replace enumer upstream with dmarkham's (#13107) 2024-07-16 21:14:27 -04:00
console.go command: add use-sequential options for commands 2024-10-29 16:10:29 -04:00
console_test.go [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00
exec_test.go Remove amazon plugin from acceptance test 2023-10-24 06:00:42 -04:00
execute.go packer: pick protobuf/gob for serialisation (#13025) 2025-01-21 16:44:03 -05:00
fix.go command: remove unused FlagSetFlags enum 2023-10-16 09:51:53 -04:00
fix_test.go [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00
fmt.go command: remove unused FlagSetFlags enum 2023-10-16 09:51:53 -04:00
fmt_test.go packer: address gosimple lint errors 2024-07-18 10:51:17 -04:00
hcl2_upgrade.go command: copy AWS plugin structures for upgrade 2024-12-17 17:42:58 -05:00
hcl2_upgrade_test.go cmd/hcl2_upgrade: Don't error when using a HashiCorp plugin that is not installed 2023-10-24 06:00:42 -04:00
init.go command: list releases only for remote installs 2024-05-08 16:01:29 -04:00
init_test.go packer: address unused lint errors 2024-07-18 10:51:17 -04:00
inspect.go command: add use-sequential options for commands 2024-10-29 16:10:29 -04:00
inspect_test.go [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00
meta.go cmd/hcl2_upgrade: Don't error when using a HashiCorp plugin that is not installed 2023-10-24 06:00:42 -04:00
plugins.go [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00
plugins_install.go commands: reject constraints with pre-releases (#12999) 2024-05-30 14:25:21 +02:00
plugins_install_test.go command: migrate tests using the comment plugin 2024-03-01 09:04:15 -05:00
plugins_installed.go packer: remove directory slices from structs 2024-03-01 09:04:15 -05:00
plugins_remove.go addrs: return error on ParsePluginSource 2024-05-14 14:47:06 -04:00
plugins_required.go packer: fix listing on windows with .exe ext 2024-05-16 13:27:50 -04:00
signal.go [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00
test_utils.go [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00
utils.go [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00
utils_test.go chore: remove refs to deprecated io/ioutil 2023-09-26 11:13:31 -04:00
validate.go packer: pick protobuf/gob for serialisation (#13025) 2025-01-21 16:44:03 -05:00
validate_test.go fix: packer validate unsupported type error 2025-01-21 10:06:45 -05:00
version.go [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00
version_test.go [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00