<commit_before>//go:generate mapstructure-to-hcl2 -type Config

package vsphere_template

import (
	"context"
	"errors"
	"fmt"
	"net/url"
	"strings"
	"time"

	"github.com/hashicorp/hcl/v2/hcldec"
	vmwcommon "github.com/hashicorp/packer/builder/vmware/common"
	"github.com/hashicorp/packer/common"
	"github.com/hashicorp/packer/helper/config"
	"github.com/hashicorp/packer/helper/multistep"
	"github.com/hashicorp/packer/packer"
	"github.com/hashicorp/packer/post-processor/vsphere"
	"github.com/hashicorp/packer/template/interpolate"
	"github.com/vmware/govmomi"
)

var builtins = map[string]string{
	vsphere.BuilderId:      "vmware",
	vmwcommon.BuilderIdESX: "vmware",
}

type Config struct {
	common.PackerConfig `mapstructure:",squash"`<commit_msg>add vsphere builder's artifact to vsphere-template's supported types<commit_after>//go:generate mapstructure-to-hcl2 -type Config

package vsphere_template

import (
	"context"
	"errors"
	"fmt"
	"net/url"
	"strings"
	"time"

	vmwcommon "github.com/hashicorp/packer/builder/vmware/common"
	vsphere "github.com/hashicorp/packer/builder/vsphere/common"
	vspherepost "github.com/hashicorp/packer/post-processor/vsphere"

	"github.com/hashicorp/hcl/v2/hcldec"
	"github.com/hashicorp/packer/common"
	"github.com/hashicorp/packer/helper/config"
	"github.com/hashicorp/packer/helper/multistep"
	"github.com/hashicorp/packer/packer"
	"github.com/hashicorp/packer/template/interpolate"
	"github.com/vmware/govmomi"
)

var builtins = map[string]string{
	vspherepost.BuilderId:  "vmware",
	vmwcommon.BuilderIdESX: "vmware",
	vsphere.BuilderId:      "vsphere",
}

type Config struct {
	common.PackerConfig `mapstructure:",squash"`
{'fraction_non_alphanumeric': 0.13908872901678657, 'fraction_numerical': 0.002398081534772182, 'mean_word_length': 5.346007604562738, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3864399', 'n_tokens_mistral': 664, 'n_tokens_neox': 655, 'n_words': 81}