Documentation ¶
Index ¶
- type SprigTemplate
- func (t *SprigTemplate) Execute(fp io.Writer, withVariables map[string]interface{}) error
- func (t *SprigTemplate) FromFile(templateFilePath string) error
- func (t *SprigTemplate) FromString(templateContent string) error
- func (t *SprigTemplate) IsMissingKeyError(err error) bool
- func (t *SprigTemplate) WithErrorOnMissingKey(state bool) *SprigTemplate
- type TemplateService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SprigTemplate ¶
type SprigTemplate struct {
// contains filtered or unexported fields
}
func NewSprigTemplate ¶
func NewSprigTemplate(name string) *SprigTemplate
func (*SprigTemplate) Execute ¶
func (t *SprigTemplate) Execute(fp io.Writer, withVariables map[string]interface{}) error
func (*SprigTemplate) FromFile ¶
func (t *SprigTemplate) FromFile(templateFilePath string) error
func (*SprigTemplate) FromString ¶
func (t *SprigTemplate) FromString(templateContent string) error
func (*SprigTemplate) IsMissingKeyError ¶
func (t *SprigTemplate) IsMissingKeyError(err error) bool
func (*SprigTemplate) WithErrorOnMissingKey ¶
func (t *SprigTemplate) WithErrorOnMissingKey(state bool) *SprigTemplate
Click to show internal directories.
Click to hide internal directories.