Version: v1.5.0 Latest Latest

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

Go to latest
Published: Apr 21, 2017 License: Apache-2.0 Imports: 16 Imported by: 0




This section is empty.


This section is empty.


This section is empty.


type AppJSON

type AppJSON struct {
	Name        string
	Description string
	Keywords    []string
	Repository  string
	Website     string
	SuccessURL  string `json:"success_url"`
	Scripts     map[string]string
	Env         map[string]EnvVarOrString
	Formation   map[string]Formation
	Image       string
	Addons      []string
	Buildpacks  []Buildpack

type Buildpack

type Buildpack struct {
	URL string `json:"url"`

type EnvVar

type EnvVar struct {
	Description string
	Generator   string
	Value       string
	Required    bool
	Default     interface{}

type EnvVarOrString

type EnvVarOrString struct {
	Value  string
	EnvVar *EnvVar

func (*EnvVarOrString) UnmarshalJSON

func (e *EnvVarOrString) UnmarshalJSON(data []byte) error

type Formation

type Formation struct {
	Quantity int32
	Size     string
	Command  string

type Generator

type Generator struct {
	LocalPath string
	Name      string
	BaseImage string

func (*Generator) Generate

func (g *Generator) Generate(body []byte) (*templateapi.Template, error)

Generate accepts a path to an app.json file and generates a template from it

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL