Documentation
¶
Index ¶
Constants ¶
View Source
const (
SpecNfd = "NFD.yaml"
)
Variables ¶
This section is empty.
Functions ¶
func ApplyTransformation ¶
func ApplyTransformation(zipFile string, fileName string, parser YamlParser, substitution map[string]string) (string, error)
ApplyTransformation adjusts yaml file based on substitution map It unzip csar file, find target yaml file and apply transformation function Compress csar back as new csar file.
func NfdYamlPropertyTransformer ¶
NfdYamlPropertyTransformer - substitution callback
Types ¶
Click to show internal directories.
Click to hide internal directories.