Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseYaml ¶
func ParseYaml(content string) (*[]Configuration, error)
func ReadFileContent ¶
func ToAbsolutePath ¶
Types ¶
type Configuration ¶
type FileConfigurations ¶
type FileConfigurations struct { FileName string `json:"fileName"` Configurations []Configuration `json:"configurations"` }
type FileReader ¶
type InvalidFile ¶
type InvalidFile struct { Path string `yaml:"path" json:"path" xml:"path"` ValidationErrors []error `yaml:"errors" json:"errors" xml:"errors"` }
func ExtractConfigurationsFromYamlFile ¶
func ExtractConfigurationsFromYamlFile(path string) (*[]Configuration, string, *InvalidFile)
type InvalidYamlError ¶
type InvalidYamlError struct {
ErrorMessage string
}
func (*InvalidYamlError) Error ¶
func (e *InvalidYamlError) Error() string
Click to show internal directories.
Click to hide internal directories.