packer-sdc

command
v0.2.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 3, 2022 License: MPL-2.0 Imports: 9 Imported by: 0

README

packer-sdc

The packer software development command is meant for plugin maintainers and Packer maintainers, it helps generate docs and code. For Packer and for Packer Plugins.

At the top of many Packer go files, you can see the following:

//go:generate packer-sdc struct-markdown
//go:generate packer-sdc mapstructure-to-hcl2 -type Config,CustomerEncryptionKey

This will generate multiple files.

See docs for subcommands for further info by reading their readme or using their specific help commands:

  • packer-sdc mapstructure-to-hcl2 -h
  • packer-sdc plugin-check -h
  • packer-sdc struct-markdown -h
  • packer-sdc renderdocs -h

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
cmd
fs
mapstructure-to-hcl2
mapstructure-to-hcl2 fills the gaps between hcl2 and mapstructure for Packer By generating a struct that the HCL2 ecosystem understands making use of mapstructure tags.
mapstructure-to-hcl2 fills the gaps between hcl2 and mapstructure for Packer By generating a struct that the HCL2 ecosystem understands making use of mapstructure tags.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL