From e5a95c7017476955bf7f6872f69f53d2b613726b Mon Sep 17 00:00:00 2001 From: Megan Marsh Date: Fri, 11 Dec 2020 16:19:50 -0800 Subject: [PATCH] regenerate code to add extra line to prevent bad godoc synopsis string loading --- packer-plugin-sdk/communicator/config.hcl2spec.go | 1 + packer-plugin-sdk/packer/builder_mock.hcl2spec.go | 1 + packer-plugin-sdk/packer/provisioner_mock.hcl2spec.go | 1 + packer-plugin-sdk/shell-local/config.hcl2spec.go | 1 + packer-plugin-sdk/template/config/custom_types.hcl2spec.go | 1 + packer-plugin-sdk/template/template.hcl2spec.go | 1 + .../partials/packer-plugin-sdk/communicator/Config.mdx | 5 +++-- .../packer-plugin-sdk/communicator/SSHTemporaryKeyPair.mdx | 2 +- .../pages/partials/packer-plugin-sdk/communicator/SSH.mdx | 3 +++ .../partials/packer-plugin-sdk/communicator/SSHInterface.mdx | 4 ++++ .../pages/partials/packer-plugin-sdk/communicator/WinRM.mdx | 3 +++ 11 files changed, 20 insertions(+), 3 deletions(-) create mode 100644 website/pages/partials/packer-plugin-sdk/communicator/SSH.mdx create mode 100644 website/pages/partials/packer-plugin-sdk/communicator/SSHInterface.mdx create mode 100644 website/pages/partials/packer-plugin-sdk/communicator/WinRM.mdx diff --git a/packer-plugin-sdk/communicator/config.hcl2spec.go b/packer-plugin-sdk/communicator/config.hcl2spec.go index 106a140db..302f87a8c 100644 --- a/packer-plugin-sdk/communicator/config.hcl2spec.go +++ b/packer-plugin-sdk/communicator/config.hcl2spec.go @@ -1,4 +1,5 @@ // Code generated by "mapstructure-to-hcl2 -type Config,SSH,WinRM,SSHTemporaryKeyPair"; DO NOT EDIT. + package communicator import ( diff --git a/packer-plugin-sdk/packer/builder_mock.hcl2spec.go b/packer-plugin-sdk/packer/builder_mock.hcl2spec.go index bf726cf94..09ef22087 100644 --- a/packer-plugin-sdk/packer/builder_mock.hcl2spec.go +++ b/packer-plugin-sdk/packer/builder_mock.hcl2spec.go @@ -1,4 +1,5 @@ // Code generated by "mapstructure-to-hcl2 -type MockBuilder"; DO NOT EDIT. + package packer import ( diff --git a/packer-plugin-sdk/packer/provisioner_mock.hcl2spec.go b/packer-plugin-sdk/packer/provisioner_mock.hcl2spec.go index 80a13a940..6e319dd8f 100644 --- a/packer-plugin-sdk/packer/provisioner_mock.hcl2spec.go +++ b/packer-plugin-sdk/packer/provisioner_mock.hcl2spec.go @@ -1,4 +1,5 @@ // Code generated by "mapstructure-to-hcl2 -type MockProvisioner"; DO NOT EDIT. + package packer import ( diff --git a/packer-plugin-sdk/shell-local/config.hcl2spec.go b/packer-plugin-sdk/shell-local/config.hcl2spec.go index 670cfde83..33b1265d5 100644 --- a/packer-plugin-sdk/shell-local/config.hcl2spec.go +++ b/packer-plugin-sdk/shell-local/config.hcl2spec.go @@ -1,4 +1,5 @@ // Code generated by "mapstructure-to-hcl2 -type Config"; DO NOT EDIT. + package shell_local import ( diff --git a/packer-plugin-sdk/template/config/custom_types.hcl2spec.go b/packer-plugin-sdk/template/config/custom_types.hcl2spec.go index 6d78cda43..d438b16f0 100644 --- a/packer-plugin-sdk/template/config/custom_types.hcl2spec.go +++ b/packer-plugin-sdk/template/config/custom_types.hcl2spec.go @@ -1,4 +1,5 @@ // Code generated by "mapstructure-to-hcl2 -type KeyValue,KeyValues,KeyValueFilter,NameValue,NameValues,NameValueFilter"; DO NOT EDIT. + package config import ( diff --git a/packer-plugin-sdk/template/template.hcl2spec.go b/packer-plugin-sdk/template/template.hcl2spec.go index 6be7b93e7..0eb054099 100644 --- a/packer-plugin-sdk/template/template.hcl2spec.go +++ b/packer-plugin-sdk/template/template.hcl2spec.go @@ -1,4 +1,5 @@ // Code generated by "mapstructure-to-hcl2 -type Provisioner"; DO NOT EDIT. + package template import ( diff --git a/website/content/partials/packer-plugin-sdk/communicator/Config.mdx b/website/content/partials/packer-plugin-sdk/communicator/Config.mdx index e030bbcd1..8d268582f 100644 --- a/website/content/partials/packer-plugin-sdk/communicator/Config.mdx +++ b/website/content/partials/packer-plugin-sdk/communicator/Config.mdx @@ -1,4 +1,5 @@ -Config is the common configuration that communicators allow within -a builder. +Config is the common a builder uses to define and configure a Packer +communicator. Embed this struct in your builder config to implement +communicator support. diff --git a/website/content/partials/packer-plugin-sdk/communicator/SSHTemporaryKeyPair.mdx b/website/content/partials/packer-plugin-sdk/communicator/SSHTemporaryKeyPair.mdx index 90caf4de1..da04d8043 100644 --- a/website/content/partials/packer-plugin-sdk/communicator/SSHTemporaryKeyPair.mdx +++ b/website/content/partials/packer-plugin-sdk/communicator/SSHTemporaryKeyPair.mdx @@ -1,5 +1,5 @@ When no ssh credentials are specified, Packer will generate a temporary SSH -keypair for the instance, you can change the algorithm type and bits +keypair for the instance. You can change the algorithm type and bits settings. diff --git a/website/pages/partials/packer-plugin-sdk/communicator/SSH.mdx b/website/pages/partials/packer-plugin-sdk/communicator/SSH.mdx new file mode 100644 index 000000000..7c7d80002 --- /dev/null +++ b/website/pages/partials/packer-plugin-sdk/communicator/SSH.mdx @@ -0,0 +1,3 @@ + + +The SSH config defines configuration for the SSH communicator. diff --git a/website/pages/partials/packer-plugin-sdk/communicator/SSHInterface.mdx b/website/pages/partials/packer-plugin-sdk/communicator/SSHInterface.mdx new file mode 100644 index 000000000..ed8062a6e --- /dev/null +++ b/website/pages/partials/packer-plugin-sdk/communicator/SSHInterface.mdx @@ -0,0 +1,4 @@ + + +SSHInterface defines whether to use public or private, addresses, and whether +to use IPv4 or IPv6. diff --git a/website/pages/partials/packer-plugin-sdk/communicator/WinRM.mdx b/website/pages/partials/packer-plugin-sdk/communicator/WinRM.mdx new file mode 100644 index 000000000..d4fd899b9 --- /dev/null +++ b/website/pages/partials/packer-plugin-sdk/communicator/WinRM.mdx @@ -0,0 +1,3 @@ + + +The WinRM config defines configuration for the WinRM communicator.