Documentation
¶
Index ¶
- func ReadDir(dir string, answersFromEnv bool) (map[string]*Template, error)
- type Template
- func (t *Template) PopulateAnswersFromEnv() error
- func (t *Template) RequiredEnv() ([]string, error)
- func (t *Template) RequiredFiles() ([]string, error)
- func (t *Template) ToClientStack() (*client.Stack, error)
- func (t *Template) ToInternalStack() (*v1beta1.InternalStack, error)
- func (t *Template) ToStack(namespace, name string) *v1beta1.Stack
- func (t *Template) Validate() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 (*Template) PopulateAnswersFromEnv ¶
func (*Template) RequiredEnv ¶
func (*Template) RequiredFiles ¶
func (*Template) ToClientStack ¶
func (*Template) ToInternalStack ¶
func (t *Template) ToInternalStack() (*v1beta1.InternalStack, error)
Click to show internal directories.
Click to hide internal directories.