packer

package
v0.9.15 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package packer allows to interact with Packer.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildAmi

func BuildAmi(t *testing.T, options *Options) string

BuildAmi builds the given Packer template and return the generated AMI ID.

func BuildAmiE

func BuildAmiE(t *testing.T, options *Options) (string, error)

BuildAmiE builds the given Packer template and return the generated AMI ID.

Types

type Options

type Options struct {
	Template string            // The path to the Packer template
	Vars     map[string]string // The custom vars to pass when running the build command
	Only     string            // If specified, only run the build of this name
	Env      map[string]string // Custom environment variables to set when running Packer
}

Options are the options for Packer.

Jump to

Keyboard shortcuts

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