Documentation ¶
Index ¶
- Variables
- func BuildHash(alg string, reader io.Reader) (string, error)
- func BuildURLHash(alg, url string) (string, error)
- func NormalizeNewlines(s string) string
- func ParseYamlFile(path string, data interface{})
- func Run(args ...string) (string, error)
- func Template(tplStr string, cfg config.LetItGoConfig, data ...interface{}) (string, error)
- func TemplateProperty(v *string, ctx interface{}, cfg *config.LetItGoConfig)
- func WriteFile(path, content string) error
- type GitURI
- type Helm
Constants ¶
This section is empty.
Variables ¶
View Source
var DryRun dryRun
DryRun holds dryRun information.
Functions ¶
func BuildURLHash ¶
BuildURLHash return the hash of a remote file.
func NormalizeNewlines ¶
NormalizeNewlines removes any newlines from a string.
func ParseYamlFile ¶
func ParseYamlFile(path string, data interface{})
ParseYamlFile parses a yaml file
func Template ¶
func Template(tplStr string, cfg config.LetItGoConfig, data ...interface{}) (string, error)
Template is a wrapper to standardize templating.
func TemplateProperty ¶
func TemplateProperty(v *string, ctx interface{}, cfg *config.LetItGoConfig)
TemplateProperty takes a property as a template and interpolates any variable.
Types ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.