Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetConfigurations ¶
func GetConfigurations(ctx context.Context, input string, fileList []string) (map[string]interface{}, error)
GetConfigurations parses and returns the configurations given in the file list
func ValidInputs ¶
func ValidInputs() []string
ValidInputs returns string array in order to passing valid input types to viper
Types ¶
type ConfigDoc ¶
type ConfigDoc struct { ReadCloser io.ReadCloser Filepath string Parser Parser }
ConfigDoc is an input document to be checked
Click to show internal directories.
Click to hide internal directories.