Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MapValues ¶
func MapValues(m map[string]APIModelValue, setFlagValues []string)
MapValues converts an arraw of rwa ApiModel values (like ["masterProfile.count=4","linuxProfile.adminUsername=admin"]) to a map
func MergeValuesWithAPIModel ¶
func MergeValuesWithAPIModel(apiModelPath string, m map[string]APIModelValue) (string, error)
MergeValuesWithAPIModel takes the path to an ApiModel JSON file, loads it and merges it with the values in the map to another temp file
Types ¶
type APIModelValue ¶
type APIModelValue struct {
// contains filtered or unexported fields
}
APIModelValue represents a value in the APIModel JSON file
Click to show internal directories.
Click to hide internal directories.