Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ERBRenderer ¶
type ERBRenderer struct {
// contains filtered or unexported fields
}
func NewERBRenderer ¶
func NewERBRenderer( fs boshsys.FileSystem, runner boshsys.CmdRunner, context TemplateEvaluationContext, logger boshlog.Logger, ) ERBRenderer
func (ERBRenderer) Render ¶
func (r ERBRenderer) Render(srcPath, dstPath string) error
type RenderProperties ¶
type RenderProperties struct {
// contains filtered or unexported fields
}
func NewRenderProperties ¶
func NewRenderProperties(relJob bpreljob.Job, instance bpdep.Instance) RenderProperties
func (RenderProperties) AsMap ¶
func (p RenderProperties) AsMap() (map[string]interface{}, error)
AsMap returns job and instance properties merged together.
type TemplateEvaluationContext ¶
type TemplateEvaluationContext struct {
// contains filtered or unexported fields
}
func NewTemplateEvaluationContext ¶
func NewTemplateEvaluationContext( relJob bpreljob.Job, instance bpdep.Instance, ) TemplateEvaluationContext
func (TemplateEvaluationContext) MarshalJSON ¶
func (c TemplateEvaluationContext) MarshalJSON() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.