fix

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2013 License: MPL-2.0 Imports: 8 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Fixers map[string]Fixer

Fixers is the map of all available fixers, by name.

Functions

This section is empty.

Types

type Command

type Command byte

func (Command) Help

func (Command) Help() string

func (Command) Run

func (c Command) Run(env packer.Environment, args []string) int

func (Command) Synopsis

func (c Command) Synopsis() string

type Fixer

type Fixer interface {
	// Fix takes a raw map structure input, potentially transforms it
	// in some way, and returns the new, transformed structure. The
	// Fix method is allowed to mutate the input.
	Fix(input map[string]interface{}) (map[string]interface{}, error)
}

A Fixer is something that can perform a fix operation on a template.

type FixerISOMD5

type FixerISOMD5 struct{}

FixerISOMD5 is a Fixer that replaces the "iso_md5" configuration key with the newer "iso_checksum" and "iso_checksum_type" within builders.

func (FixerISOMD5) Fix

func (FixerISOMD5) Fix(input map[string]interface{}) (map[string]interface{}, error)

Jump to

Keyboard shortcuts

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