context

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2016 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Shared

type Shared struct {
	// InfraCreds are the credentials for working with the infrastructure.
	// These are guaranteed to be populated for the following function
	// calls:
	//
	//   App.Build
	//   TODO
	//
	InfraCreds map[string]string

	// Ui is the Ui object that can be used to communicate with the user.
	Ui ui.Ui

	// Directory is the directory service. This is available during
	// both execution and compilation and can be used to view the
	// global data prior to doing anything.
	Directory directory.Backend

	// InstallDir is the directory where binaries can be installed. Consider
	// this directory a cache: Otto may remove it at any point, although
	// unlikely. And you're responsible to clean up anything in here.
	InstallDir string

	// Appfile is the full appfile
	Appfile *appfile.File

	// FoundationDirs are the directories of the various foundation scripts.
	//
	// These directories will contain a "dev" and "deploy" subdirectory
	// that should be uploaded and used for each of those environments.
	// Within those folders, a "main.sh" file will exist that should be
	// called.
	FoundationDirs []string
}

Shared is the shared contexts for app/infra.

Jump to

Keyboard shortcuts

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