heroku

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2019 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const Version = "v0.0.0"

Variables

View Source
var DefaultAddons = Addons{
	{"heroku-postgresql", []string{"hobby-dev", "hobby-basic", "standard-0"}, "hobby-dev"},
	{"sendgrid", []string{"starter"}, ""},
	{"heroku-redis", []string{"hobby-dev"}, ""},
}
View Source
var DynoLevels = []string{"free", "hobby", "standard-1x", "standard-2x"}

Functions

func Deploy

func Deploy(name string, branch string) error

Types

type Addon

type Addon struct {
	Name      string
	Available []string
	Level     string
}

func (Addon) String

func (a Addon) String() string

type Addons

type Addons []Addon

type App

type App struct {
	context.Context
	Name        inflect.Name
	Addons      Addons
	Environment string
	DynoLevel   string
	Auth        bool
	Existing    bool
	Buffalo     bmeta.App
}

func New

func New(ctx context.Context, root string) (*App, error)

Jump to

Keyboard shortcuts

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