Documentation
¶
Index ¶
- func ConvertStructToYAML(v interface{}) ([]byte, error)
- func ConvertStuctToJSON(v interface{}) ([]byte, error)
- func ConvertTemplateIntoYAML(tmpl bytes.Buffer) (interface{}, error)
- func YamlFileIsValid(yamlFile string) error
- func YamlStructureIsValid(yamlFile string, schema interface{}) error
- func YamlToStructFromFile(yamlFile string, schema interface{}) error
- func YamlToStructWithContent(yamlContent string, schema interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertStructToYAML ¶
func ConvertStuctToJSON ¶
func ConvertTemplateIntoYAML ¶
ConvertTemplateIntoYAML converts a template into a yaml file.
func YamlFileIsValid ¶
YamlFileIsValid YamlIsValid checks if the yaml file is valid.
func YamlStructureIsValid ¶
YamlStructureIsValid checks if the yaml file has a valid structure.
func YamlToStructFromFile ¶
YamlToStructFromFile converts a yaml file into a struct.
func YamlToStructWithContent ¶
YamlToStructWithContent converts a yaml file into a struct.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.