Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Expander ¶
type Expander interface {
ExpandTemplate(template *common.Template) (string, error)
}
Expander abstracts interactions with the expander and deployer services.
func NewExpander ¶
func NewExpander(binary string) Expander
NewExpander returns a new initialized Expander.
type ExpansionResponse ¶
type ExpansionResponse struct {
Config string `json:"config"`
Layout string `json:"layout"`
}
ExpansionResponse describes the results of marshaling an ExpansionResult.
func NewExpansionResponse ¶
func NewExpansionResponse(output string) (*ExpansionResponse, error)
NewExpansionResponse creates and returns a new expansion response from the raw output of ExpandTemplate.
type ExpansionResult ¶
type ExpansionResult struct {
Config map[string]interface{}
Layout map[string]interface{}
}
ExpansionResult describes the unmarshalled output of ExpandTemplate.
func NewExpansionResult ¶
func NewExpansionResult(output string) (*ExpansionResult, error)
NewExpansionResult creates and returns a new expansion result from the raw output of ExpandTemplate.
Click to show internal directories.
Click to hide internal directories.