fix

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: MPL-2.0 Imports: 11 Imported by: 0

README

packer-sdc fix

Fix rewrites parts of the plugin codebase to address known issues or common workarounds used within plugins consuming the Packer plugin SDK.

Options:

-diff If the -diff flag is set, no files are rewritten. Instead, fix prints the differences a rewrite would introduce.

Available Fixes:

gocty Adds a replace directive for github.com/zclconf/go-cty to github.com/nywilken/go-cty

Use packer-sdc fix to resolve the cty.Value does not implement gob.GobEncoder

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command struct {
	Dir  string
	Diff bool
}

Command is the base entry for the fix sub-command.

func (*Command) Flags

func (cmd *Command) Flags() *flag.FlagSet

Flags contain the default flags for the fix sub-command.

func (*Command) Help

func (cmd *Command) Help() string

Help displays usage for the command.

func (*Command) Run

func (cmd *Command) Run(args []string) int

Run executes the command

func (*Command) Synopsis

func (cmd *Command) Synopsis() string

Jump to

Keyboard shortcuts

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