Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Discover ¶
Discover returns all file paths that come from file paths provided as the argument. Return directly if they are standard files. For directories list all files available in its root or recursively traverse all subdirectories and find files in them when the argument recursive is true. For "-" path that indicates standard input or starts with http:// or https://, it returns the path directly in the same way as other paths.
func Format ¶
func Format(out io.Writer, format openslosdk.ObjectFormat, sources []string) error
Format formats multiple files and writes it to the provided writer, separated with "---".
func ReadObjects ¶
ReadObjects reads openslo.Object from the provided sources. It returns a map where the key is a file path and the value are objects read form this file.
Types ¶
This section is empty.