package
1.36.1
Repository: https://github.com/cray-hpe/cray-site-init.git
Documentation: pkg.go.dev

# Functions

DecodeJSON decodes object from reader.
DecodeYAML decodes object from reader.
EncodeJSON encodes object to writer.
EncodeYAML encodes object to writer.
ExportConfig converts a viper to a file on disk.
ReadConfig decodes an object from the specified file.
ReadJSONConfig unmarshals a JSON encoded object from the specified file.
ReadYAMLConfig unmarshals a YAML encoded object from the specified file.
WriteConfig encodes an object to the specified file.
WriteJSONConfig marshals from an interface to json and writes the result to the path indicated.
WriteTemplate applies a config to a Template and writes the result to the path indicated.
WriteYAMLConfig marshals from an interface to yaml and writes the result to the path indicated.