templating

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2017 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PlatformAzure             = "azure"
	PlatformDO                = "digitalocean"
	PlatformEC2               = "ec2"
	PlatformGCE               = "gce"
	PlatformPacket            = "packet"
	PlatformOpenStackMetadata = "openstack-metadata"
	PlatformVagrantVirtualbox = "vagrant-virtualbox"
)

Variables

View Source
var (
	ErrUnknownPlatform = fmt.Errorf("unsupported platform")
	ErrUnknownField    = fmt.Errorf("unknown field")
)

Functions

func HasTemplating

func HasTemplating(vars []string) bool

HasTemplating returns whether or not any of the environment variables present in the passed in list use ct templating

func PerformTemplating

func PerformTemplating(platform string, vars []string) ([]string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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