goapp

package
Version: 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: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Detectors = []*detect.Detector{
	&detect.Detector{
		Type: "go",
		File: []string{"*.go"},
	},
}

Detectors is the list of detectors that trigger this app to be used.

View Source
var Meta = &app.Meta{
	Tuples:    Tuples,
	Detectors: Detectors,
}

Meta is the metadata for this app type

View Source
var Tuples = app.TupleSlice([]app.Tuple{
	{"go", "aws", "simple"},
	{"go", "aws", "vpc-public-private"},
})

Tuples is the list of tuples that this built-in app implementation knows that it can support.

Functions

func AppFactory added in v0.2.0

func AppFactory() app.App

func DetectImportPath added in v0.2.0

func DetectImportPath(ctx *app.Context) (string, error)

DetectImportPath will try to automatically determine the import path for the Go application under development.

This is necessary to setup proper GOPATH directories for development and builds.

Types

type App

type App struct{}

App is an implementation of app.App

func (*App) Build

func (a *App) Build(ctx *app.Context) error

func (*App) Compile

func (a *App) Compile(ctx *app.Context) (*app.CompileResult, error)

func (*App) Deploy

func (a *App) Deploy(ctx *app.Context) error

func (*App) Dev

func (a *App) Dev(ctx *app.Context) error

func (*App) DevDep

func (a *App) DevDep(dst, src *app.Context) (*app.DevDep, error)

func (*App) Implicit added in v0.2.0

func (a *App) Implicit(ctx *app.Context) (*appfile.File, error)

func (*App) Meta added in v0.2.0

func (a *App) Meta() (*app.Meta, error)

Directories

Path Synopsis
test-fixtures

Jump to

Keyboard shortcuts

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