{"modulePath":"github.com/transcendcomputing/packer","version":"v0.3.6","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package fix\n\n## Variables\n\n```go\nvar Fixers map[string]Fixer\n```\nFixers is the map of all available fixers, by name.\n\n## Types\n\n```go\ntype Command byte\n```\n\n```go\nfunc (Command) Help() string\n```\n\n```go\nfunc (c Command) Run(env packer.Environment, args []string) int\n```\n\n```go\nfunc (c Command) Synopsis() string\n```\n\n```go\ntype Fixer interface {\n\t// Fix takes a raw map structure input, potentially transforms it\n\t// in some way, and returns the new, transformed structure. The\n\t// Fix method is allowed to mutate the input.\n\tFix(input map[string]interface{}) (map[string]interface{}, error)\n}\n```\nA Fixer is something that can perform a fix operation on a template.\n\n```go\ntype FixerCreateTime struct{}\n```\nFixerCreateTime is a Fixer that replaces the \".CreateTime\" template calls with \"{{timestamp}\"\n\n```go\nfunc (FixerCreateTime) Fix(input map[string]interface{}) (map[string]interface{}, error)\n```\n\n```go\ntype FixerISOMD5 struct{}\n```\nFixerISOMD5 is a Fixer that replaces the \"iso\\_md5\" configuration key with the newer \"iso\\_checksum\" and \"iso\\_checksum\\_type\" within builders.\n\n```go\nfunc (FixerISOMD5) Fix(input map[string]interface{}) (map[string]interface{}, error)\n```\n\n","path":"github.com/transcendcomputing/packer/command/fix","name":"fix","synopsis":"","isRedistributable":true}
