template

package
v0.0.1-rc2 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2018 License: Apache-2.0 Imports: 15 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Template

type Template struct {
	Namespace       string
	Meta            pretty.TemplateMeta
	Content         []byte
	AdditionalFiles map[string][]byte
	Answers         map[string]string
	Questions       []v3.Question
}

func FromClientStack

func FromClientStack(stack *client.Stack) (*Template, error)

func FromStack

func FromStack(stack *v1beta1.Stack) (*Template, error)

func (*Template) RequiredEnv

func (t *Template) RequiredEnv() ([]string, error)

func (*Template) RequiredFiles

func (t *Template) RequiredFiles() ([]string, error)

func (*Template) ToClientStack

func (t *Template) ToClientStack() (*client.Stack, error)

func (*Template) ToInternalStack

func (t *Template) ToInternalStack() (*v1beta1.InternalStack, error)

func (*Template) Validate

func (t *Template) Validate() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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