Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadYamlTemplate ¶
ReadYamlTemplate reads the given config .yml file, returns it as a slice of bytes.
Types ¶
type Resource ¶
Resource struct holds configuration resource related attributes Config resources are configuration parameters butlers apply to assets.
func (*Resource) LoadConfigResources ¶
func (r *Resource) LoadConfigResources(yamlTemplate []byte) (config *cfgresources.ResourcesConfig)
LoadConfigResources gets the template rendered and unmarshals the resulting yml.
func (*Resource) RenderYamlTemplate ¶
RenderYamlTemplate renders templated values in the given config .yml, returns it as a slice of bytes.
Click to show internal directories.
Click to hide internal directories.