package
0.0.0-20220930003844-f1610bee591b
Repository: https://github.com/spyroot/tcactl.git
Documentation: pkg.go.dev
# Packages
Package main Copyright 2020-2021 Author.
# Functions
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.
NfdYamlPropertyTransformer - substitution callback.
Reader read file Example: var topology models.CSAR find inside a zip NFD parse it and return t, err := csar.Reader("/tests/smokeping-cnf.csar", "NFD.yaml", topology) b, err := yaml.Marshal(&t) fmt.Println(string(b)).
# Constants
No description provided by the author
# Type aliases
YamlParser - parser callback.